summaryrefslogtreecommitdiff
path: root/gui/qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-03-18 03:27:33 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-05-04 14:58:39 +0200
commit8c4edf29112a32f267d19717637bf2104c28b969 (patch)
treee8c63b2293c5daa7a5b110badeffbd71e8e2558e /gui/qml
parent21bb90be0bc3dab134690d90669d38b0d39a2adc (diff)
add some todos
Diffstat (limited to 'gui/qml')
-rw-r--r--gui/qml/main.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index ce8faa2..0851efa 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -18,11 +18,13 @@ Window {
flags: Qt.WindowsStaysOnTopHint
- // TODO get a nice background color
property var ctx
property var loginDone
property var allowEmptyPass
+ // TODO get a nice background color for this mainwindow. It should be customizable.
+ // TODO refactorize all this mess into discrete components.
+
TabBar {
id: bar
width: parent.width
@@ -145,6 +147,8 @@ Window {
id: autoSelectionButton
checked: true
text: qsTr("Automatic")
+ // TODO still needs to change to automatic on the backend, and maybe note
+ // that the change will be effective on the next reconnect.
}
RadioButton {
id: manualSelectionButton
@@ -162,7 +166,7 @@ Window {
backend.useGateway(currentText.toString())
}
}
- } // end columnlayout
+ } // end column
} // end item
} // end stacklayout
@@ -330,6 +334,7 @@ Window {
* otherwise the ids are not available
* from other components
*/
+
menu: Menu {
id: systrayMenu