mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Merge branch 'master' of github.com:ultimaker/Cura into per_object_settings
* 'master' of github.com:ultimaker/Cura: (49 commits) 15.10 restyling of the sidebar header 15.10 restyling of the sidebar header 15.10 restyling of the sidebar split magic_mesh)surface_mode into Normal, Surface, Both Added preference to disable automatic scale Removed unused import Added changeLog plugin Added missing ) Merging of mine and Jaimes work Removed font from rectangle JSON: git diff! removed triangles and grid top/bottom skin options (though they are available) Code style & switch to translation catalog 15.10 re-alignment of the toolbar 15.10 New Icons 15.10 restyling of the savebutton Area Added message asking about sending data to server Added exception handling for checking overlap. Fixed default button for general and view page Fixed double ID in qml Removed unused import ...
This commit is contained in:
commit
57b2ce4f3e
55 changed files with 1753 additions and 927 deletions
|
|
@ -19,6 +19,8 @@ Item
|
|||
|
||||
property variant wizard: null;
|
||||
|
||||
UM.I18nCatalog { id: catalog; name: "cura"}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: base.wizard
|
||||
|
|
@ -221,6 +223,11 @@ Item
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (elementRoot.getPageCount() == elementRoot.currentPage)
|
||||
{
|
||||
elementRoot.visible = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import QtQuick.Controls 1.1
|
|||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Window 2.1
|
||||
|
||||
import UM 1.0 as UM
|
||||
import UM 1.1 as UM
|
||||
|
||||
Item
|
||||
{
|
||||
|
|
@ -14,7 +14,7 @@ Item
|
|||
property string title
|
||||
|
||||
SystemPalette{id: palette}
|
||||
|
||||
UM.I18nCatalog { id: catalog; name:"cura"}
|
||||
ScrollView
|
||||
{
|
||||
height: parent.height
|
||||
|
|
@ -36,7 +36,7 @@ Item
|
|||
//: Add UM Original wizard page description
|
||||
width: parent.width
|
||||
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: catalog.i18nc("@label","To assist you in having better default settings for your Ultimaker. Cura would like to know which upgrades you have in your machine:")
|
||||
}
|
||||
|
||||
Column
|
||||
|
|
@ -46,19 +46,19 @@ Item
|
|||
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Extruder driver ugrades")
|
||||
text: catalog.i18nc("@action:checkbox","Extruder driver ugrades")
|
||||
}
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Heated printer bed (kit)")
|
||||
text: catalog.i18nc("@action:checkbox","Heated printer bed (kit)")
|
||||
}
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Heated printer bed (self built)")
|
||||
text: catalog.i18nc("@action:checkbox","Heated printer bed (self built)")
|
||||
}
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Dual extrusion (experimental)")
|
||||
text: catalog.i18nc("@action:checkbox","Dual extrusion (experimental)")
|
||||
checked: true
|
||||
}
|
||||
}
|
||||
|
|
@ -67,14 +67,14 @@ Item
|
|||
{
|
||||
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.");
|
||||
text: catalog.i18nc("@label","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
|
||||
{
|
||||
width: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
text: qsTr("This upgrade can be bought from the Ultimaker webshop or found on thingiverse as thing:26094");
|
||||
text: catalog.i18nc("@label","This upgrade can be bought from the Ultimaker webshop or found on thingiverse as thing:26094");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import QtQuick.Controls 1.1
|
|||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Window 2.1
|
||||
|
||||
import UM 1.0 as UM
|
||||
import UM 1.1 as UM
|
||||
|
||||
Column
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@ Column
|
|||
|
||||
Component.onCompleted: printer_connection.startPollEndstop()
|
||||
Component.onDestruction: printer_connection.stopPollEndstop()
|
||||
|
||||
UM.I18nCatalog { id: catalog; name:"cura"}
|
||||
Label
|
||||
{
|
||||
text: parent.title
|
||||
|
|
@ -33,14 +33,14 @@ Column
|
|||
Label
|
||||
{
|
||||
//: Add Printer wizard page description
|
||||
text: qsTr("It's a good idea to do a few sanity checks on your Ultimaker. \n You can skip these if you know your machine is functional");
|
||||
text: catalog.i18nc("@label","It's a good idea to do a few sanity checks on your Ultimaker. \n You can skip these if you know your machine is functional");
|
||||
}
|
||||
|
||||
Row
|
||||
{
|
||||
Label
|
||||
{
|
||||
text: qsTr("Connection: ")
|
||||
text: catalog.i18nc("@label","Connection: ")
|
||||
}
|
||||
Label
|
||||
{
|
||||
|
|
@ -51,22 +51,22 @@ Column
|
|||
{
|
||||
Label
|
||||
{
|
||||
text: qsTr("Min endstop X: ")
|
||||
text: catalog.i18nc("@label","Min endstop X: ")
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: x_min_pressed ? qsTr("Works") : qsTr("Not checked")
|
||||
text: x_min_pressed ? catalog.i18nc("@label","Works") : catalog.i18nc("@label","Not checked")
|
||||
}
|
||||
}
|
||||
Row
|
||||
{
|
||||
Label
|
||||
{
|
||||
text: qsTr("Min endstop Y: ")
|
||||
text: catalog.i18nc("@label","Min endstop Y: ")
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: y_min_pressed ? qsTr("Works") : qsTr("Not checked")
|
||||
text: y_min_pressed ? catalog.i18nc("@label","Works") : catalog.i18nc("@label","Not checked")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -74,11 +74,11 @@ Column
|
|||
{
|
||||
Label
|
||||
{
|
||||
text: qsTr("Min endstop Z: ")
|
||||
text: catalog.i18nc("@label","Min endstop Z: ")
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: z_min_pressed ? qsTr("Works") : qsTr("Not checked")
|
||||
text: z_min_pressed ? catalog.i18nc("@label","Works") : catalog.i18nc("@label","Not checked")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ Column
|
|||
{
|
||||
Label
|
||||
{
|
||||
text: qsTr("Nozzle temperature check: ")
|
||||
text: catalog.i18nc("@label","Nozzle temperature check: ")
|
||||
}
|
||||
Label
|
||||
{
|
||||
|
|
@ -94,10 +94,10 @@ Column
|
|||
}
|
||||
Button
|
||||
{
|
||||
text: "Start heating"
|
||||
text: catalog.i18nc("@action:button","Start heating")
|
||||
onClicked:
|
||||
{
|
||||
heater_status_label.text = qsTr("Checking")
|
||||
heater_status_label.text = catalog.i18nc("@label","Checking")
|
||||
printer_connection.heatupNozzle(190)
|
||||
wizardPage.extruder_target_temp = 190
|
||||
}
|
||||
|
|
@ -105,7 +105,7 @@ Column
|
|||
Label
|
||||
{
|
||||
id: heater_status_label
|
||||
text: qsTr("Not checked")
|
||||
text: catalog.i18nc("@label","Not checked")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ Column
|
|||
{
|
||||
Label
|
||||
{
|
||||
text: qsTr("bed temperature check: ")
|
||||
text: catalog.i18nc("@label","bed temperature check: ")
|
||||
}
|
||||
Label
|
||||
{
|
||||
|
|
@ -121,10 +121,10 @@ Column
|
|||
}
|
||||
Button
|
||||
{
|
||||
text: "Start heating"
|
||||
text: catalog.i18nc("@action:button","Start heating")
|
||||
onClicked:
|
||||
{
|
||||
bed_status_label.text = qsTr("Checking")
|
||||
bed_status_label.text = catalog.i18nc("@label","Checking")
|
||||
printer_connection.printer.heatupBed(60)
|
||||
wizardPage.bed_target_temp = 60
|
||||
}
|
||||
|
|
@ -132,7 +132,7 @@ Column
|
|||
Label
|
||||
{
|
||||
id: bed_status_label
|
||||
text: qsTr("Not checked")
|
||||
text: catalog.i18nc("@label","Not checked")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ Column
|
|||
{
|
||||
if(printer_connection.extruderTemperature > wizardPage.extruder_target_temp - 10 && printer_connection.extruderTemperature < wizardPage.extruder_target_temp + 10)
|
||||
{
|
||||
heater_status_label.text = qsTr("Works")
|
||||
heater_status_label.text = catalog.i18nc("@label","Works")
|
||||
printer_connection.heatupNozzle(0)
|
||||
}
|
||||
}
|
||||
|
|
@ -167,7 +167,7 @@ Column
|
|||
{
|
||||
if(printer_connection.bedTemperature > wizardPage.bed_target_temp - 5 && printer_connection.bedTemperature < wizardPage.bed_target_temp + 5)
|
||||
{
|
||||
bed_status_label.text = qsTr("Works")
|
||||
bed_status_label.text = catalog.i18nc("@label","Works")
|
||||
printer_connection.heatupBed(0)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue