Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/ConfigOverlay.qml
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 89 | anchors { | |||
---|---|---|---|---|---|
93 | bottomMargin: parent.margins.bottom | 93 | bottomMargin: parent.margins.bottom | ||
94 | rightMargin: parent.margins.right | 94 | rightMargin: parent.margins.right | ||
95 | } | 95 | } | ||
96 | 96 | | |||
97 | ActionButton { | 97 | ActionButton { | ||
98 | id: rotateButton | 98 | id: rotateButton | ||
99 | svg: configIconsSvg | 99 | svg: configIconsSvg | ||
100 | elementId: "rotate" | 100 | elementId: "rotate" | ||
101 | toolTip: i18n("Rotate") | 101 | toolTip: !rotateHandle.pressed ? i18n("Rotate") : "" | ||
102 | iconSize: overlay.iconSize | 102 | iconSize: overlay.iconSize | ||
103 | action: (applet) ? applet.action("rotate") : null | 103 | action: (applet) ? applet.action("rotate") : null | ||
104 | down: !rotateHandle.pressed | 104 | down: !rotateHandle.pressed | ||
105 | Component.onCompleted: { | 105 | Component.onCompleted: { | ||
106 | if (action && typeof(action) != "undefined") { | 106 | if (action && typeof(action) != "undefined") { | ||
107 | action.enabled = true | 107 | action.enabled = true | ||
108 | } | 108 | } | ||
109 | } | 109 | } | ||
▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines |