mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Adds the styling and wizardPages (more directly) to the generic wizard
contributes to #143
This commit is contained in:
parent
2ef951ba0b
commit
b14f3d98bc
2 changed files with 24 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue