summaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.qml b/main.qml
index bf800b6..7499b81 100644
--- a/main.qml
+++ b/main.qml
@@ -3,14 +3,14 @@ import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
ApplicationWindow {
+ property alias login: login
+
id: appWindow
width: 360
height: 640
visible: true
Material.accent: Material.DeepPurple
- signal logIn(string name, string password)
-
Drawer {
id: drawer
width: 0.8 * appWindow.width
@@ -21,6 +21,8 @@ ApplicationWindow {
id: stackView
anchors.fill : parent
- initialItem: Login {}
+ initialItem: Login {
+ id: login
+ }
}
}