Update MonitorPrintJobCard.qml

Contributes to CL-1165
This commit is contained in:
Ian Paschal 2019-01-11 10:43:50 +01:00
parent 8d76bd8678
commit 616d5a1f43

View file

@ -197,21 +197,6 @@ Item
} }
} }
// PrintJobContextMenu
// {
// id: contextButton
// anchors
// {
// right: parent.right;
// rightMargin: 8 * screenScaleFactor // TODO: Theme!
// top: parent.top
// topMargin: 8 * screenScaleFactor // TODO: Theme!
// }
// printJob: base.printJob
// width: 32 * screenScaleFactor // TODO: Theme!
// height: 32 * screenScaleFactor // TODO: Theme!
// }
MonitorContextMenuButton MonitorContextMenuButton
{ {
id: contextMenuButton id: contextMenuButton
@ -224,8 +209,7 @@ Item
} }
width: 32 * screenScaleFactor // TODO: Theme! width: 32 * screenScaleFactor // TODO: Theme!
height: 32 * screenScaleFactor // TODO: Theme! height: 32 * screenScaleFactor // TODO: Theme!
// enabled: base.enabled enabled: base.enabled // TODO: Add cloud logic here!
enabled: false
onClicked: enabled ? contextMenu.switchPopupState() : {} onClicked: enabled ? contextMenu.switchPopupState() : {}
visible: visible:
{ {