Fix cursorShape for sidebar controls

This commit is contained in:
fieldOfView 2015-11-19 17:57:20 +01:00
parent 101df0035d
commit 3a8de56f66
5 changed files with 43 additions and 1 deletions

View file

@ -61,6 +61,12 @@ Rectangle {
UM.OutputDeviceManager.requestWriteToDevice(UM.OutputDeviceManager.activeDevice, Printer.jobName)
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
style: ButtonStyle {
background: Rectangle {
//opacity: control.enabled ? 1.0 : 0.5
@ -102,6 +108,12 @@ Rectangle {
enabled: base.progress > 0.99 && base.activity == true
//iconSource: UM.Theme.icons[UM.OutputDeviceManager.activeDeviceIconName];
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
style: ButtonStyle {
background: Rectangle {
id: deviceSelectionIcon