kopia lustrzana https://gitlab.com/eliggett/wfview
Removed checkbox from prior peak hold mode.
rodzic
d8dc9daa15
commit
088d34af8b
21
wfmain.cpp
21
wfmain.cpp
|
@ -1046,9 +1046,6 @@ void wfmain::setUIToPrefs()
|
|||
ui->useSystemThemeChk->setChecked(prefs.useSystemTheme);
|
||||
on_useSystemThemeChk_clicked(prefs.useSystemTheme);
|
||||
|
||||
ui->drawPeakChk->setChecked(prefs.drawPeaks);
|
||||
on_drawPeakChk_clicked(prefs.drawPeaks);
|
||||
|
||||
underlayMode = prefs.underlayMode;
|
||||
switch(underlayMode)
|
||||
{
|
||||
|
@ -3905,24 +3902,6 @@ void wfmain::on_clearPeakBtn_clicked()
|
|||
return;
|
||||
}
|
||||
|
||||
void wfmain::on_drawPeakChk_clicked(bool checked)
|
||||
{
|
||||
if(checked)
|
||||
{
|
||||
on_clearPeakBtn_clicked(); // clear
|
||||
|
||||
} else {
|
||||
|
||||
#if QCUSTOMPLOT_VERSION >= 0x020000
|
||||
plot->graph(1)->data()->clear();
|
||||
#else
|
||||
plot->graph(1)->clearData();
|
||||
#endif
|
||||
|
||||
}
|
||||
prefs.drawPeaks = checked;
|
||||
}
|
||||
|
||||
void wfmain::on_fullScreenChk_clicked(bool checked)
|
||||
{
|
||||
if(checked)
|
||||
|
|
2
wfmain.h
2
wfmain.h
|
@ -297,8 +297,6 @@ private slots:
|
|||
|
||||
void on_clearPeakBtn_clicked();
|
||||
|
||||
void on_drawPeakChk_clicked(bool checked);
|
||||
|
||||
void on_fullScreenChk_clicked(bool checked);
|
||||
|
||||
void on_goFreqBtn_clicked();
|
||||
|
|
15
wfmain.ui
15
wfmain.ui
|
@ -6,7 +6,7 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1002</width>
|
||||
<width>1032</width>
|
||||
<height>569</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>3</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="mainTab">
|
||||
<attribute name="title">
|
||||
|
@ -2820,13 +2820,6 @@
|
|||
<layout class="QVBoxLayout" name="verticalLayout_24">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_21">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="drawPeakChk">
|
||||
<property name="text">
|
||||
<string>Draw Peaks</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="tuningFloorZerosChk">
|
||||
<property name="text">
|
||||
|
@ -4006,7 +3999,7 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1002</width>
|
||||
<width>1032</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -4028,7 +4021,7 @@
|
|||
<resources/>
|
||||
<connections/>
|
||||
<buttongroups>
|
||||
<buttongroup name="buttonGroup"/>
|
||||
<buttongroup name="underlayButtonGroup"/>
|
||||
<buttongroup name="buttonGroup"/>
|
||||
</buttongroups>
|
||||
</ui>
|
||||
|
|
Ładowanie…
Reference in New Issue