"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/widgets/scopes/audioloudnessscopewidget.cpp" between
shotcut-20.09.01.tar.gz and shotcut-20.09.13.tar.gz

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

audioloudnessscopewidget.cpp  (shotcut-20.09.01):audioloudnessscopewidget.cpp  (shotcut-20.09.13)
/* /*
* Copyright (c) 2016-2019 Meltytech, LLC * Copyright (c) 2016-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 104 skipping to change at line 104
action = configMenu->addAction(tr("Peak"), this, SLOT(onPeakToggled(bool))); action = configMenu->addAction(tr("Peak"), this, SLOT(onPeakToggled(bool)));
action->setCheckable(true); action->setCheckable(true);
action->setChecked(Settings.loudnessScopeShowMeter("peak")); action->setChecked(Settings.loudnessScopeShowMeter("peak"));
action = configMenu->addAction(tr("True Peak"), this, SLOT(onTruePeakToggled (bool))); action = configMenu->addAction(tr("True Peak"), this, SLOT(onTruePeakToggled (bool)));
action->setCheckable(true); action->setCheckable(true);
action->setChecked(Settings.loudnessScopeShowMeter("truepeak")); action->setChecked(Settings.loudnessScopeShowMeter("truepeak"));
// Add config button // Add config button
QToolButton* configButton = new QToolButton(this); QToolButton* configButton = new QToolButton(this);
configButton->setToolTip(tr("Configure Graphs")); configButton->setToolTip(tr("Configure Graphs"));
configButton->setIcon(QIcon(":/icons/oxygen/32x32/actions/format-justify-fil l.png")); configButton->setIcon(QIcon(":/icons/oxygen/32x32/actions/show-menu.png"));
configButton->setPopupMode(QToolButton::InstantPopup); configButton->setPopupMode(QToolButton::InstantPopup);
configButton->setMenu(configMenu); configButton->setMenu(configMenu);
hlayout->addWidget(configButton); hlayout->addWidget(configButton);
// Add reset button // Add reset button
QPushButton* resetButton = new QPushButton(tr("Reset"), this); QPushButton* resetButton = new QPushButton(tr("Reset"), this);
resetButton->setToolTip(tr("Reset the measurement.")); resetButton->setToolTip(tr("Reset the measurement."));
resetButton->setCheckable(false); resetButton->setCheckable(false);
resetButton->setMaximumWidth(100); resetButton->setMaximumWidth(100);
hlayout->addWidget(resetButton); hlayout->addWidget(resetButton);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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