diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-05 21:21:52 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-05 21:21:52 +0800 |
commit | 89bff3fa5d58aeb0d507d633aa058d781f06a8c0 (patch) | |
tree | a3b23ad8052601e75b1c7e317d6b469c745b36a8 /main.qml | |
parent | 3df0c7543d9b1a63af736acc490a27f18ef6de7a (diff) |
Connected a more straightforward signal to login
Diffstat (limited to 'main.qml')
-rw-r--r-- | main.qml | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -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 {} + } } |