mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Disable spool weight etc. fields since they are not yet functional
Contributes to CURA-342
This commit is contained in:
parent
975106b90e
commit
7df5008d3c
1 changed files with 8 additions and 8 deletions
|
@ -127,40 +127,40 @@ TabView
|
||||||
}
|
}
|
||||||
|
|
||||||
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament Cost") }
|
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament Cost") }
|
||||||
ReadOnlySpinBox
|
SpinBox
|
||||||
{
|
{
|
||||||
width: base.secondColumnWidth;
|
width: base.secondColumnWidth;
|
||||||
value: properties.spool_cost;
|
value: properties.spool_cost;
|
||||||
prefix: base.currency
|
prefix: base.currency
|
||||||
readOnly: !base.editingEnabled;
|
enabled: false
|
||||||
}
|
}
|
||||||
|
|
||||||
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament weight") }
|
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament weight") }
|
||||||
ReadOnlySpinBox
|
SpinBox
|
||||||
{
|
{
|
||||||
width: base.secondColumnWidth;
|
width: base.secondColumnWidth;
|
||||||
value: properties.spool_weight;
|
value: properties.spool_weight;
|
||||||
suffix: "g";
|
suffix: "g";
|
||||||
stepSize: 10
|
stepSize: 10
|
||||||
readOnly: !base.editingEnabled;
|
enabled: false
|
||||||
}
|
}
|
||||||
|
|
||||||
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament length") }
|
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament length") }
|
||||||
ReadOnlySpinBox
|
SpinBox
|
||||||
{
|
{
|
||||||
width: base.secondColumnWidth;
|
width: base.secondColumnWidth;
|
||||||
value: parseFloat(properties.spool_length);
|
value: parseFloat(properties.spool_length);
|
||||||
suffix: "m";
|
suffix: "m";
|
||||||
readOnly: !base.editingEnabled;
|
enabled: false
|
||||||
}
|
}
|
||||||
|
|
||||||
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Cost per Meter (Approx.)") }
|
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Cost per Meter (Approx.)") }
|
||||||
ReadOnlySpinBox
|
SpinBox
|
||||||
{
|
{
|
||||||
width: base.secondColumnWidth;
|
width: base.secondColumnWidth;
|
||||||
value: parseFloat(properties.cost_per_meter);
|
value: parseFloat(properties.cost_per_meter);
|
||||||
suffix: catalog.i18nc("@label", "%1/m".arg(base.currency));
|
suffix: catalog.i18nc("@label", "%1/m".arg(base.currency));
|
||||||
readOnly: !base.editingEnabled;
|
enabled: false
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { width: parent.width; height: UM.Theme.getSize("default_margin").height }
|
Item { width: parent.width; height: UM.Theme.getSize("default_margin").height }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue