"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/qml/filters/audio_normalize_1p/ui.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.

ui.qml  (shotcut-22.10.22):ui.qml  (shotcut-22.11.25)
skipping to change at line 30 skipping to change at line 30
import QtQuick.Layouts 1.12 import QtQuick.Layouts 1.12
import Shotcut.Controls 1.0 as Shotcut import Shotcut.Controls 1.0 as Shotcut
Item { Item {
function setControls() { function setControls() {
programSlider.value = filter.getDouble('target_loudness'); programSlider.value = filter.getDouble('target_loudness');
windowSlider.value = filter.getDouble('window'); windowSlider.value = filter.getDouble('window');
maxgainSlider.value = filter.getDouble('max_gain'); maxgainSlider.value = filter.getDouble('max_gain');
mingainSlider.value = filter.getDouble('min_gain'); mingainSlider.value = filter.getDouble('min_gain');
maxrateSlider.value = filter.getDouble('max_rate'); maxrateSlider.value = filter.getDouble('max_rate');
discResetCheckbox.checked = parseInt(filter.get('discontinuity_reset'));
} }
width: 480 width: 480
height: 325 height: 325
Component.onCompleted: { Component.onCompleted: {
if (filter.isNew) { if (filter.isNew) {
// Set default parameter values // Set default parameter values
filter.set('target_loudness', -23); filter.set('target_loudness', -23);
filter.set('window', 10); filter.set('window', 10);
filter.set('max_gain', 15); filter.set('max_gain', 15);
filter.set('min_gain', -15); filter.set('min_gain', -15);
filter.set('max_rate', 3); filter.set('max_rate', 3);
filter.set('discontinuity_reset', 1);
filter.savePreset(preset.parameters); filter.savePreset(preset.parameters);
} }
setControls(); setControls();
timer.start(); timer.start();
} }
SystemPalette { SystemPalette {
id: activePalette id: activePalette
} }
skipping to change at line 229 skipping to change at line 231
suffix: ' dB/s' suffix: ' dB/s'
spinnerWidth: 100 spinnerWidth: 100
value: filter.getDouble('max_rate') value: filter.getDouble('max_rate')
onValueChanged: filter.set('max_rate', value) onValueChanged: filter.set('max_rate', value)
} }
Shotcut.UndoButton { Shotcut.UndoButton {
onClicked: maxrateSlider.value = 3 onClicked: maxrateSlider.value = 3
} }
Label {
}
CheckBox {
id: discResetCheckbox
text: qsTr('Reset on discontinuity')
onCheckedChanged: filter.set('discontinuity_reset', checked)
Shotcut.HoverTip {
text: qsTr('Reset the measurement if a discontinuity is detected
- such as seeking or clip change.')
}
}
Shotcut.UndoButton {
id: discResetUndo
onClicked: discResetCheckbox.checked = true
}
Rectangle { Rectangle {
Layout.columnSpan: 3 Layout.columnSpan: 3
Layout.fillWidth: true Layout.fillWidth: true
Layout.minimumHeight: 12 Layout.minimumHeight: 12
color: 'transparent' color: 'transparent'
Rectangle { Rectangle {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: parent.width width: parent.width
height: 2 height: 2
 End of changes. 3 change blocks. 
0 lines changed or deleted 24 lines changed or added

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