diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 17:48:38 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 17:48:38 +0800 |
commit | fe0a17cc38d21c0c0cfb45f5d8f08c6e72f9e409 (patch) | |
tree | e37f7e1d751fe3737901bc69454c269bac6d52d6 /main.qml | |
parent | f2b182a34a28dfd40079d563ff47d2e56e4aae1e (diff) |
Move the QML login signal from appWindow to login
Diffstat (limited to 'main.qml')
-rw-r--r-- | main.qml | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 + } } } |