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
|
||||
|
||||
UM.Wizard{
|
||||
UM.Wizard
|
||||
{
|
||||
//: Add Printer dialog title
|
||||
wizardTitle: qsTr("Add Printer")
|
||||
wizardPages: [
|
||||
|
|
|
@ -8,79 +8,70 @@ import QtQuick.Window 2.1
|
|||
|
||||
import UM 1.0 as UM
|
||||
|
||||
ColumnLayout {
|
||||
Item
|
||||
{
|
||||
id: wizardPage
|
||||
property string title
|
||||
property int pageWidth
|
||||
property int pageHeight
|
||||
|
||||
SystemPalette{id: palette}
|
||||
//signal openFile(string fileName)
|
||||
//signal closeWizard()
|
||||
|
||||
width: wizardPage.pageWidth
|
||||
height: wizardPage.pageHeight
|
||||
|
||||
Connections {
|
||||
target: elementRoot
|
||||
onResize: {
|
||||
wizardPage.width = pageWidth
|
||||
wizardPage.height = pageHeight
|
||||
}
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
implicitHeight: wizardPage.height
|
||||
implicitWidth: wizardPage.width - (UM.Theme.sizes.default_margin.width * 4)
|
||||
ColumnLayout {
|
||||
ScrollView
|
||||
{
|
||||
height: parent.height
|
||||
width: parent.width
|
||||
Column
|
||||
{
|
||||
width: wizardPage.width
|
||||
Label {
|
||||
Label
|
||||
{
|
||||
id: pageTitle
|
||||
width: parent.width
|
||||
text: wizardPage.title
|
||||
wrapMode: Text.WordWrap
|
||||
font.pointSize: 18
|
||||
}
|
||||
Label {
|
||||
Label
|
||||
{
|
||||
id: pageDescription
|
||||
//: Add UM Original wizard page description
|
||||
width: parent.width
|
||||
//anchors.top: pageTitle.bottom
|
||||
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:")
|
||||
}
|
||||
|
||||
Column {
|
||||
Column
|
||||
{
|
||||
id: pageCheckboxes
|
||||
width: parent.width
|
||||
anchors.top: pageDescription.bottom
|
||||
|
||||
CheckBox {
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Extruder driver ugrades")
|
||||
}
|
||||
CheckBox {
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Heated printer bed (kit)")
|
||||
}
|
||||
CheckBox {
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Heated printer bed (self built)")
|
||||
}
|
||||
CheckBox {
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Dual extrusion (experimental)")
|
||||
checked: true
|
||||
}
|
||||
}
|
||||
|
||||
Label{
|
||||
id: pageCaption1
|
||||
anchors.top: pageCheckboxes.bottom
|
||||
Label
|
||||
{
|
||||
width: parent.width
|
||||
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.");
|
||||
}
|
||||
|
||||
Label {
|
||||
id: pageCaption2
|
||||
anchors.top: pageCaption1.bottom
|
||||
Label
|
||||
{
|
||||
width: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
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