"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/qml/filters/threshold/ui.qml" between
shotcut-20.09.01.tar.gz and shotcut-20.09.13.tar.gz

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

ui.qml  (shotcut-20.09.01):ui.qml  (shotcut-20.09.13)
/* /*
* Copyright (c) 2019 Meltytech, LLC * Copyright (c) 2019-2020 Meltytech, LLC
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 112 skipping to change at line 112
} }
KeyframesButton { KeyframesButton {
id: thresholdKeyframesButton id: thresholdKeyframesButton
checked: filter.animateIn <= 0 && filter.animateOut <= 0 && filter.k eyframeCount(threshold) > 0 checked: filter.animateIn <= 0 && filter.animateOut <= 0 && filter.k eyframeCount(threshold) > 0
onToggled: { onToggled: {
enableControls(true) enableControls(true)
toggleKeyframes(checked, threshold, thresholdSlider.value / thre sholdSlider.maximumValue * 255) toggleKeyframes(checked, threshold, thresholdSlider.value / thre sholdSlider.maximumValue * 255)
} }
} }
Item { Layout.fillWidth: true } Item { width: 1 }
CheckBox { CheckBox {
id: invertCheckbox id: invertCheckbox
text: qsTr('Invert') text: qsTr('Invert')
onCheckedChanged: filter.set('invert', checked) onCheckedChanged: filter.set('invert', checked)
} }
UndoButton { UndoButton {
onClicked: invertCheckbox.checked = false onClicked: invertCheckbox.checked = false
} }
Item { Layout.fillWidth: true } Item { width: 1 }
Label {} Label {}
CheckBox { CheckBox {
id: useAlphaCheckbox id: useAlphaCheckbox
text: qsTr('Compare with alpha channel') text: qsTr('Compare with alpha channel')
onCheckedChanged: filter.set('use_alpha', checked) onCheckedChanged: filter.set('use_alpha', checked)
} }
UndoButton { UndoButton {
onClicked: useAlphaCheckbox.checked = false onClicked: useAlphaCheckbox.checked = false
} }
Item { Layout.fillWidth: true } Item { width: 1 }
Item { Item {
Layout.fillHeight: true Layout.fillHeight: true
} }
} }
Connections { Connections {
target: filter target: filter
onInChanged: updateSimpleKeyframes() onInChanged: updateSimpleKeyframes()
onOutChanged: updateSimpleKeyframes() onOutChanged: updateSimpleKeyframes()
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

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