forked from Public/monero-gui
wizard v0.1
This commit is contained in:
26
main.qml
26
main.qml
@@ -3,6 +3,7 @@ import QtQuick.Window 2.0
|
||||
import QtQuick.Controls 1.1
|
||||
import QtQuick.Controls.Styles 1.1
|
||||
import "components"
|
||||
import "wizard"
|
||||
|
||||
ApplicationWindow {
|
||||
id: appWindow
|
||||
@@ -98,6 +99,26 @@ ApplicationWindow {
|
||||
anchors.fill: parent
|
||||
clip: true
|
||||
|
||||
state: "wizard"
|
||||
states: [
|
||||
State {
|
||||
name: "wizard"
|
||||
PropertyChanges { target: leftPanel; visible: false }
|
||||
PropertyChanges { target: rightPanel; visible: false }
|
||||
PropertyChanges { target: middlePanel; visible: false }
|
||||
PropertyChanges { target: titleBar; basicButtonVisible: false }
|
||||
PropertyChanges { target: wizard; visible: true }
|
||||
},
|
||||
State {
|
||||
name: "normal"
|
||||
PropertyChanges { target: leftPanel; visible: true }
|
||||
PropertyChanges { target: rightPanel; visible: true }
|
||||
PropertyChanges { target: middlePanel; visible: true }
|
||||
PropertyChanges { target: titleBar; basicButtonVisible: true }
|
||||
PropertyChanges { target: wizard; visible: false }
|
||||
}
|
||||
]
|
||||
|
||||
LeftPanel {
|
||||
id: leftPanel
|
||||
anchors.left: parent.left
|
||||
@@ -261,6 +282,11 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
WizardMain {
|
||||
id: wizard
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
property int maxWidth: leftPanel.width + 655 + rightPanel.width
|
||||
property int maxHeight: 700
|
||||
MouseArea {
|
||||
|
||||
Reference in New Issue
Block a user