summaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-05 21:21:52 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-05 21:21:52 +0800
commit89bff3fa5d58aeb0d507d633aa058d781f06a8c0 (patch)
treea3b23ad8052601e75b1c7e317d6b469c745b36a8 /main.qml
parent3df0c7543d9b1a63af736acc490a27f18ef6de7a (diff)
Connected a more straightforward signal to login
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml32
1 files changed, 16 insertions, 16 deletions
diff --git a/main.qml b/main.qml
index b432dd5..5449a2f 100644
--- a/main.qml
+++ b/main.qml
@@ -1,26 +1,26 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
-import QtQuick.Layouts 1.12
ApplicationWindow {
- id: appWindow
- width: 360
- height: 640
- visible: true
+ id: appWindow
+ width: 360
+ height: 640
+ visible: true
+ Material.accent: Material.DeepPurple
- Material.accent: Material.DeepPurple
+ signal logIn(string emailAddress, string password)
- Drawer {
- id: drawer
- width: 0.8 * appWindow.width
- height: appWindow.height
- }
+ Drawer {
+ id: drawer
+ width: 0.8 * appWindow.width
+ height: appWindow.height
+ }
- StackView {
- id: stackView
- anchors.fill : parent
+ StackView {
+ id: stackView
+ anchors.fill : parent
- initialItem: Login {}
- }
+ initialItem: Login {}
+ }
}