Adds the styling and wizardPages (more directly) to the generic wizard

contributes to #143
This commit is contained in:
Tamara Hogenhout 2015-08-13 10:48:33 +02:00
parent 2ef951ba0b
commit b14f3d98bc
2 changed files with 24 additions and 3 deletions

View file

@ -9,8 +9,18 @@ import QtQuick.Window 2.1
import UM 1.0 as UM
UM.Wizard{
id: base
// This part checks whether there is a printer -> if not some of the functions (delete for example) are disabled
// This part is optional
property bool printer: true
file: "ultimaker2.json"
firstRun: printer ? false : true
//: Add Printer dialog title
wizardTitle: qsTr("Add Printer")
wizardPages: [
{
title: "Add Printer",
page: "AddMachine.qml"
}
]
}