mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08:00
Added id's to printer button, installed plugins, material fields and profile tab for integration tests
This commit is contained in:
parent
38a9206898
commit
c98a73f8fd
@ -58,6 +58,7 @@ Item
|
||||
|
||||
Cura.ConfigurationMenu
|
||||
{
|
||||
id: printerSetup
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: itemRow.width - machineSelection.width - printSetupSelectorItem.width - 2 * UM.Theme.getSize("default_lining").width
|
||||
|
@ -42,6 +42,7 @@ ScrollView
|
||||
}
|
||||
Rectangle
|
||||
{
|
||||
id: installedPlugins
|
||||
color: "transparent"
|
||||
width: parent.width
|
||||
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
||||
@ -74,6 +75,7 @@ ScrollView
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: installedMaterials
|
||||
color: "transparent"
|
||||
width: parent.width
|
||||
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
||||
|
@ -90,7 +90,7 @@ TabView
|
||||
y: UM.Theme.getSize("default_lining").height
|
||||
|
||||
width: base.width
|
||||
property real rowHeight: textField.height + UM.Theme.getSize("default_lining").height
|
||||
property real rowHeight: brandTextField.height + UM.Theme.getSize("default_lining").height
|
||||
|
||||
MessageDialog
|
||||
{
|
||||
@ -143,7 +143,7 @@ TabView
|
||||
Label { width: scrollView.columnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Brand") }
|
||||
ReadOnlyTextField
|
||||
{
|
||||
id: textField;
|
||||
id: brandTextField;
|
||||
width: scrollView.columnWidth;
|
||||
text: properties.brand;
|
||||
readOnly: !base.editingEnabled;
|
||||
@ -153,6 +153,7 @@ TabView
|
||||
Label { width: scrollView.columnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Material Type") }
|
||||
ReadOnlyTextField
|
||||
{
|
||||
id: materialTypeField;
|
||||
width: scrollView.columnWidth;
|
||||
text: properties.material;
|
||||
readOnly: !base.editingEnabled;
|
||||
|
@ -27,6 +27,7 @@ Tab
|
||||
{
|
||||
anchors.fill: parent
|
||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||
id: profileSettingsView
|
||||
|
||||
Component
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user