mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:59:11 +08:00
CURA-4870 Fix some style with brackets in QML
This commit is contained in:
parent
180139090a
commit
855df814d8
@ -6,11 +6,13 @@ import QtQuick 2.2
|
|||||||
import UM 1.2 as UM
|
import UM 1.2 as UM
|
||||||
import Cura 1.0 as Cura
|
import Cura 1.0 as Cura
|
||||||
|
|
||||||
Item {
|
Item
|
||||||
|
{
|
||||||
property var status: "disconnected"
|
property var status: "disconnected"
|
||||||
width: childrenRect.width
|
width: childrenRect.width
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
UM.RecolorImage {
|
UM.RecolorImage
|
||||||
|
{
|
||||||
id: statusIcon
|
id: statusIcon
|
||||||
width: UM.Theme.getSize("printer_status_icon").width
|
width: UM.Theme.getSize("printer_status_icon").width
|
||||||
height: UM.Theme.getSize("printer_status_icon").height
|
height: UM.Theme.getSize("printer_status_icon").height
|
||||||
|
@ -18,7 +18,8 @@ Menu
|
|||||||
id: printerTypeInstantiator
|
id: printerTypeInstantiator
|
||||||
model: outputDevice != null ? outputDevice.connectedPrintersTypeCount : []
|
model: outputDevice != null ? outputDevice.connectedPrintersTypeCount : []
|
||||||
|
|
||||||
MenuItem {
|
MenuItem
|
||||||
|
{
|
||||||
text: modelData.machine_type
|
text: modelData.machine_type
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: Cura.MachineManager.activeMachineDefinitionName == modelData.machine_type
|
checked: Cura.MachineManager.activeMachineDefinitionName == modelData.machine_type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user