"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/qml/filters/corners/vui.qml" between
shotcut-22.10.22.tar.gz and shotcut-22.11.25.tar.gz

About: Shotcut is a cross-platform (Qt) advanced video editor.

vui.qml  (shotcut-22.10.22):vui.qml  (shotcut-22.11.25)
skipping to change at line 254 skipping to change at line 254
width: handleSize width: handleSize
height: handleSize height: handleSize
radius: handleSize / 2 radius: handleSize / 2
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton
cursorShape: Qt.SizeFDiagCursor cursorShape: Qt.SizeFDiagCursor
drag.target: parent drag.target: parent
onPositionChanged: { onPositionChanged: {
corner1Handle.x = snapX(corner1Handle.x + handleOffs if (!(mouse.modifiers & Qt.AltModifier)) {
et) - handleOffset; corner1Handle.x = snapX(corner1Handle.x + handle
corner1Handle.y = snapY(corner1Handle.y + handleOffs Offset) - handleOffset;
et) - handleOffset; corner1Handle.y = snapY(corner1Handle.y + handle
Offset) - handleOffset;
}
updateFilterCorners(getPosition()); updateFilterCorners(getPosition());
} }
} }
Text { Text {
text: qsTr('1') text: qsTr('1')
font.pixelSize: handleSize * 0.8 font.pixelSize: handleSize * 0.8
anchors.centerIn: parent anchors.centerIn: parent
} }
skipping to change at line 283 skipping to change at line 285
width: handleSize width: handleSize
height: handleSize height: handleSize
radius: handleSize / 2 radius: handleSize / 2
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton
cursorShape: Qt.SizeBDiagCursor cursorShape: Qt.SizeBDiagCursor
drag.target: parent drag.target: parent
onPositionChanged: { onPositionChanged: {
corner2Handle.x = snapX(corner2Handle.x + handleOffs if (!(mouse.modifiers & Qt.AltModifier)) {
et) - handleOffset; corner2Handle.x = snapX(corner2Handle.x + handle
corner2Handle.y = snapY(corner2Handle.y + handleOffs Offset) - handleOffset;
et) - handleOffset; corner2Handle.y = snapY(corner2Handle.y + handle
Offset) - handleOffset;
}
updateFilterCorners(getPosition()); updateFilterCorners(getPosition());
} }
} }
Text { Text {
text: qsTr('2') text: qsTr('2')
font.pixelSize: handleSize * 0.8 font.pixelSize: handleSize * 0.8
anchors.centerIn: parent anchors.centerIn: parent
} }
skipping to change at line 312 skipping to change at line 316
width: handleSize width: handleSize
height: handleSize height: handleSize
radius: handleSize / 2 radius: handleSize / 2
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton
cursorShape: Qt.SizeFDiagCursor cursorShape: Qt.SizeFDiagCursor
drag.target: parent drag.target: parent
onPositionChanged: { onPositionChanged: {
corner3Handle.x = snapX(corner3Handle.x + handleOffs if (!(mouse.modifiers & Qt.AltModifier)) {
et) - handleOffset; corner3Handle.x = snapX(corner3Handle.x + handle
corner3Handle.y = snapY(corner3Handle.y + handleOffs Offset) - handleOffset;
et) - handleOffset; corner3Handle.y = snapY(corner3Handle.y + handle
Offset) - handleOffset;
}
updateFilterCorners(getPosition()); updateFilterCorners(getPosition());
} }
} }
Text { Text {
text: qsTr('3') text: qsTr('3')
font.pixelSize: handleSize * 0.8 font.pixelSize: handleSize * 0.8
anchors.centerIn: parent anchors.centerIn: parent
} }
skipping to change at line 341 skipping to change at line 347
width: handleSize width: handleSize
height: handleSize height: handleSize
radius: handleSize / 2 radius: handleSize / 2
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton
cursorShape: Qt.SizeBDiagCursor cursorShape: Qt.SizeBDiagCursor
drag.target: parent drag.target: parent
onPositionChanged: { onPositionChanged: {
corner4Handle.x = snapX(corner4Handle.x + handleOffs if (!(mouse.modifiers & Qt.AltModifier)) {
et) - handleOffset; corner4Handle.x = snapX(corner4Handle.x + handle
corner4Handle.y = snapY(corner4Handle.y + handleOffs Offset) - handleOffset;
et) - handleOffset; corner4Handle.y = snapY(corner4Handle.y + handle
Offset) - handleOffset;
}
updateFilterCorners(getPosition()); updateFilterCorners(getPosition());
} }
} }
Text { Text {
text: qsTr('4') text: qsTr('4')
font.pixelSize: handleSize * 0.8 font.pixelSize: handleSize * 0.8
anchors.centerIn: parent anchors.centerIn: parent
} }
 End of changes. 4 change blocks. 
16 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)