mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Changed selectupgradeparts
This commit is contained in:
parent
82e4f04e27
commit
2b5627234a
2 changed files with 28 additions and 36 deletions
|
@ -8,7 +8,8 @@ import QtQuick.Window 2.1
|
||||||
|
|
||||||
import UM 1.0 as UM
|
import UM 1.0 as UM
|
||||||
|
|
||||||
UM.Wizard{
|
UM.Wizard
|
||||||
|
{
|
||||||
//: Add Printer dialog title
|
//: Add Printer dialog title
|
||||||
wizardTitle: qsTr("Add Printer")
|
wizardTitle: qsTr("Add Printer")
|
||||||
wizardPages: [
|
wizardPages: [
|
||||||
|
|
|
@ -8,79 +8,70 @@ import QtQuick.Window 2.1
|
||||||
|
|
||||||
import UM 1.0 as UM
|
import UM 1.0 as UM
|
||||||
|
|
||||||
ColumnLayout {
|
Item
|
||||||
|
{
|
||||||
id: wizardPage
|
id: wizardPage
|
||||||
property string title
|
property string title
|
||||||
property int pageWidth
|
|
||||||
property int pageHeight
|
|
||||||
|
|
||||||
SystemPalette{id: palette}
|
SystemPalette{id: palette}
|
||||||
//signal openFile(string fileName)
|
|
||||||
//signal closeWizard()
|
|
||||||
|
|
||||||
width: wizardPage.pageWidth
|
ScrollView
|
||||||
height: wizardPage.pageHeight
|
{
|
||||||
|
height: parent.height
|
||||||
Connections {
|
width: parent.width
|
||||||
target: elementRoot
|
Column
|
||||||
onResize: {
|
{
|
||||||
wizardPage.width = pageWidth
|
|
||||||
wizardPage.height = pageHeight
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ScrollView {
|
|
||||||
implicitHeight: wizardPage.height
|
|
||||||
implicitWidth: wizardPage.width - (UM.Theme.sizes.default_margin.width * 4)
|
|
||||||
ColumnLayout {
|
|
||||||
width: wizardPage.width
|
width: wizardPage.width
|
||||||
Label {
|
Label
|
||||||
|
{
|
||||||
id: pageTitle
|
id: pageTitle
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: wizardPage.title
|
text: wizardPage.title
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
font.pointSize: 18
|
font.pointSize: 18
|
||||||
}
|
}
|
||||||
Label {
|
Label
|
||||||
|
{
|
||||||
id: pageDescription
|
id: pageDescription
|
||||||
//: Add UM Original wizard page description
|
//: Add UM Original wizard page description
|
||||||
width: parent.width
|
width: parent.width
|
||||||
//anchors.top: pageTitle.bottom
|
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: qsTr("To assist you in having better default settings for your Ultimaker. Cura would like to know which upgrades you have in your machine:")
|
text: qsTr("To assist you in having better default settings for your Ultimaker. Cura would like to know which upgrades you have in your machine:")
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
Column
|
||||||
|
{
|
||||||
id: pageCheckboxes
|
id: pageCheckboxes
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.top: pageDescription.bottom
|
|
||||||
|
|
||||||
CheckBox {
|
CheckBox
|
||||||
|
{
|
||||||
text: qsTr("Extruder driver ugrades")
|
text: qsTr("Extruder driver ugrades")
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox
|
||||||
|
{
|
||||||
text: qsTr("Heated printer bed (kit)")
|
text: qsTr("Heated printer bed (kit)")
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox
|
||||||
|
{
|
||||||
text: qsTr("Heated printer bed (self built)")
|
text: qsTr("Heated printer bed (self built)")
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox
|
||||||
|
{
|
||||||
text: qsTr("Dual extrusion (experimental)")
|
text: qsTr("Dual extrusion (experimental)")
|
||||||
checked: true
|
checked: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label{
|
Label
|
||||||
id: pageCaption1
|
{
|
||||||
anchors.top: pageCheckboxes.bottom
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: qsTr("If you have an Ultimaker bought after october 2012 you will have the Extruder drive upgrade. If you do not have this upgrade, it is highly recommended to improve reliability.");
|
text: qsTr("If you have an Ultimaker bought after october 2012 you will have the Extruder drive upgrade. If you do not have this upgrade, it is highly recommended to improve reliability.");
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label
|
||||||
id: pageCaption2
|
{
|
||||||
anchors.top: pageCaption1.bottom
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: qsTr("This upgrade can be bought from the Ultimaker webshop or found on thingiverse as thing:26094");
|
text: qsTr("This upgrade can be bought from the Ultimaker webshop or found on thingiverse as thing:26094");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue