From 89bff3fa5d58aeb0d507d633aa058d781f06a8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 5 Sep 2019 21:21:52 +0800 Subject: Connected a more straightforward signal to login --- main.qml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'main.qml') 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 {} + } } -- cgit v1.2.3