wizard v0.1

This commit is contained in:
marcin
2014-08-19 14:58:02 +02:00
parent 6800bb67d7
commit 17e18a3351
25 changed files with 385 additions and 1 deletions

View File

@@ -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 {