Remove cursorShapes for now

This commit is contained in:
fieldOfView 2015-12-01 15:35:00 +01:00
parent 139a88a189
commit 4d29fccb0b
8 changed files with 0 additions and 60 deletions

View file

@ -29,12 +29,6 @@ Item
onValueChanged: UM.LayerView.setCurrentLayer(value) onValueChanged: UM.LayerView.setCurrentLayer(value)
style: UM.Theme.styles.layerViewSlider style: UM.Theme.styles.layerViewSlider
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
} }
Rectangle { Rectangle {
anchors.left: parent.left anchors.left: parent.left

View file

@ -365,11 +365,6 @@ UM.MainWindow
//leftMargin: UM.Theme.sizes.loadfile_margin.width //leftMargin: UM.Theme.sizes.loadfile_margin.width
} }
action: actions.open; action: actions.open;
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
} }
Image Image
@ -428,11 +423,6 @@ UM.MainWindow
ExclusiveGroup { id: viewMenuGroup; } ExclusiveGroup { id: viewMenuGroup; }
} }
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
} }
Toolbar Toolbar

View file

@ -96,12 +96,6 @@ Item{
tooltip: UM.MachineManager.activeProfile tooltip: UM.MachineManager.activeProfile
style: UM.Theme.styles.sidebar_header_button style: UM.Theme.styles.sidebar_header_button
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
menu: Menu menu: Menu
{ {
id: profileSelectionMenu id: profileSelectionMenu

View file

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

View file

@ -118,12 +118,6 @@ Rectangle
checked: base.currentModeIndex == index checked: base.currentModeIndex == index
onClicked: base.currentModeIndex = index onClicked: base.currentModeIndex = index
MouseArea {
anchors.fill: parent
cursorShape: checked ? Qt.ArrowCursor : Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
style: ButtonStyle { style: ButtonStyle {
background: Rectangle { background: Rectangle {
border.color: control.checked ? UM.Theme.colors.toggle_checked_border : border.color: control.checked ? UM.Theme.colors.toggle_checked_border :

View file

@ -66,12 +66,6 @@ Item
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
style: UM.Theme.styles.sidebar_header_button style: UM.Theme.styles.sidebar_header_button
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
menu: Menu menu: Menu
{ {
id: machineSelectionMenu id: machineSelectionMenu

View file

@ -121,7 +121,6 @@ Item
} }
} }
hoverEnabled: true hoverEnabled: true
cursorShape: (infillListView.activeIndex != index) ? Qt.PointingHandCursor : Qt.ArrowCursor
} }
} }
Label{ Label{
@ -194,12 +193,6 @@ Item
text: catalog.i18nc("@option:check","Enable Skirt Adhesion"); text: catalog.i18nc("@option:check","Enable Skirt Adhesion");
style: UM.Theme.styles.checkbox; style: UM.Theme.styles.checkbox;
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.adhesion_type == "brim" : false; checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.adhesion_type == "brim" : false;
onClicked: onClicked:
{ {
@ -215,12 +208,6 @@ Item
text: catalog.i18nc("@option:check","Enable Support"); text: catalog.i18nc("@option:check","Enable Support");
style: UM.Theme.styles.checkbox; style: UM.Theme.styles.checkbox;
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
}
checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.support_enable : false; checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.support_enable : false;
onClicked: onClicked:
{ {

View file

@ -41,7 +41,6 @@ Item {
//just catch the click so we do not trigger that behaviour. //just catch the click so we do not trigger that behaviour.
MouseArea { MouseArea {
anchors.fill: parent; anchors.fill: parent;
cursorShape: Qt.PointingHandCursor
onClicked: { onClicked: {
parent.checked ? UM.Controller.setActiveTool(null) : UM.Controller.setActiveTool(model.id); parent.checked ? UM.Controller.setActiveTool(null) : UM.Controller.setActiveTool(model.id);
//base.activeY = parent.y //base.activeY = parent.y