1
0

qml: Initial QML to test QObject property binding, ListModels, Camera

This commit is contained in:
Sander van Grieken
2021-04-01 19:54:53 +02:00
parent 7eb733757a
commit 3dce09328e
6 changed files with 247 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import QtQuick 2.6
import QtQuick.Controls 1.4
import QtQml 2.6
import QtMultimedia 5.6
ApplicationWindow
{
id: app
visible: true
width: 480
height: 800
color: '#dddddd'
property alias stack: mainStackView
StackView {
id: mainStackView
anchors.fill: parent
initialItem: Qt.resolvedUrl('splash.qml')
}
Timer {
id: splashTimer
interval: 400
onTriggered: {
mainStackView.push(Qt.resolvedUrl('landing.qml'))
}
}
Component.onCompleted: {
Daemon.load_wallet()
splashTimer.start()
}
}