@@ -61,6 +61,7 @@ Item {
61 visible: overlay.visible
61 visible: overlay.visible
62 enabled: visible
62 enabled: visible
63 hoverEnabled: true
63 hoverEnabled: true
64+ cursorShape: priv.dragging ? Qt.ClosedHandCursor : (overlay.visible ? Qt.OpenHandCursor : Qt.ArrowCursor)
65 onPressedChanged: {
66 onPressedChanged: {
66 if (pressed) {
67 if (pressed) {
@@ -119,6 +120,7 @@ Item {
119 anchors.verticalCenterOffset: borderThickness
120 anchors.verticalCenterOffset: borderThickness
120 visible: !overlay.anyMaximized
121 visible: !overlay.anyMaximized
121 resizeTarget: root.resizeTarget
122 resizeTarget: root.resizeTarget
123+ cursorShape: Qt.SizeFDiagCursor
124 ResizeGrip { // top center
126 ResizeGrip { // top center
@@ -128,6 +130,7 @@ Item {
128 rotation: 45
130 rotation: 45
129 visible: !overlay.anyMaximized
131 visible: !overlay.anyMaximized
130 resizeTarget: root.resizeTarget
132 resizeTarget: root.resizeTarget
133+ cursorShape: Qt.SizeVerCursor
133 ResizeGrip { // top right
136 ResizeGrip { // top right
@@ -138,6 +141,7 @@ Item {
138 rotation: 90
141 rotation: 90
139 visible: !overlay.anyMaximized
142 visible: !overlay.anyMaximized
140 resizeTarget: root.resizeTarget
143 resizeTarget: root.resizeTarget
144+ cursorShape: Qt.SizeBDiagCursor
143 ResizeGrip { // right
147 ResizeGrip { // right
@@ -147,6 +151,7 @@ Item {
147 rotation: 135
151 rotation: 135
148 visible: target && !target.maximizedRight && !target.maximized
152 visible: target && !target.maximizedRight && !target.maximized
149 resizeTarget: root.resizeTarget
153 resizeTarget: root.resizeTarget
154+ cursorShape: Qt.SizeHorCursor
152 ResizeGrip { // bottom right
157 ResizeGrip { // bottom right
@@ -156,6 +161,7 @@ Item {
156 anchors.verticalCenterOffset: -borderThickness
161 anchors.verticalCenterOffset: -borderThickness
157 visible: !overlay.anyMaximized
162 visible: !overlay.anyMaximized
158 resizeTarget: root.resizeTarget
163 resizeTarget: root.resizeTarget
164+ cursorShape: Qt.SizeFDiagCursor
161 ResizeGrip { // bottom center
167 ResizeGrip { // bottom center
@@ -165,6 +171,7 @@ Item {
165 rotation: 45
171 rotation: 45
166 visible: !overlay.anyMaximized
172 visible: !overlay.anyMaximized
167 resizeTarget: root.resizeTarget
173 resizeTarget: root.resizeTarget
174+ cursorShape: Qt.SizeVerCursor
170 ResizeGrip { // bottom left
177 ResizeGrip { // bottom left
@@ -175,6 +182,7 @@ Item {
175 rotation: 90
182 rotation: 90
176 visible: !overlay.anyMaximized
183 visible: !overlay.anyMaximized
177 resizeTarget: root.resizeTarget
184 resizeTarget: root.resizeTarget
185+ cursorShape: Qt.SizeBDiagCursor
180 ResizeGrip { // left
188 ResizeGrip { // left
@@ -184,6 +192,7 @@ Item {
184 rotation: 135
192 rotation: 135
185 visible: target && !target.maximizedLeft && !target.maximized
193 visible: target && !target.maximizedLeft && !target.maximized
186 resizeTarget: root.resizeTarget
194 resizeTarget: root.resizeTarget
195+ cursorShape: Qt.SizeHorCursor