mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Add open with above printer drop down.
CURA-9424
This commit is contained in:
parent
41fd36a038
commit
b01ff2f57e
1 changed files with 13 additions and 0 deletions
|
@ -78,6 +78,7 @@ UM.Dialog
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
|
@ -102,9 +103,21 @@ UM.Dialog
|
||||||
height: visible ? comboboxHeight : 0
|
height: visible ? comboboxHeight : 0
|
||||||
visible: workspaceDialog.visible && machineResolveComboBox.model.count > 1
|
visible: workspaceDialog.visible && machineResolveComboBox.model.count > 1
|
||||||
text: catalog.i18nc("@info:tooltip", "How should the conflict in the machine be resolved?")
|
text: catalog.i18nc("@info:tooltip", "How should the conflict in the machine be resolved?")
|
||||||
|
|
||||||
|
UM.Label
|
||||||
|
{
|
||||||
|
id: open_with_label
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.left: parent.left
|
||||||
|
text: catalog.i18nc("@action:label", "Open With")
|
||||||
|
font: UM.Theme.getFont("default_bold")
|
||||||
|
}
|
||||||
|
|
||||||
Cura.ComboBox
|
Cura.ComboBox
|
||||||
{
|
{
|
||||||
id: machineResolveComboBox
|
id: machineResolveComboBox
|
||||||
|
anchors.top: open_with_label.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
model: manager.updatableMachinesModel
|
model: manager.updatableMachinesModel
|
||||||
visible: machineResolveStrategyTooltip.visible
|
visible: machineResolveStrategyTooltip.visible
|
||||||
textRole: "displayName"
|
textRole: "displayName"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue