kopia lustrzana https://gitlab.com/eliggett/wfview
Added waterfall display options: anti-alias and interpolate. Not in
preferences yet. Debug button enables wf pan and zoom.audioplugins
rodzic
d54562469d
commit
54f2dcd5b8
17
wfmain.cpp
17
wfmain.cpp
|
@ -5053,11 +5053,24 @@ void wfmain::on_pollingBtn_clicked()
|
|||
}
|
||||
}
|
||||
|
||||
void wfmain::on_wfAntiAliasChk_clicked(bool checked)
|
||||
{
|
||||
colorMap->setAntialiased(checked);
|
||||
|
||||
}
|
||||
|
||||
void wfmain::on_wfInterpolateChk_clicked(bool checked)
|
||||
{
|
||||
colorMap->setInterpolate(checked);
|
||||
}
|
||||
|
||||
// --- DEBUG FUNCTION ---
|
||||
void wfmain::on_debugBtn_clicked()
|
||||
{
|
||||
qInfo(logSystem()) << "Debug button pressed.";
|
||||
//trxadj->show();
|
||||
setRadioTimeDatePrep();
|
||||
}
|
||||
//setRadioTimeDatePrep();
|
||||
wf->setInteraction(QCP::iRangeZoom, true);
|
||||
wf->setInteraction(QCP::iRangeDrag, true);
|
||||
|
||||
}
|
||||
|
|
4
wfmain.h
4
wfmain.h
|
@ -464,6 +464,10 @@ private slots:
|
|||
|
||||
void on_pollingBtn_clicked();
|
||||
|
||||
void on_wfAntiAliasChk_clicked(bool checked);
|
||||
|
||||
void on_wfInterpolateChk_clicked(bool checked);
|
||||
|
||||
private:
|
||||
Ui::wfmain *ui;
|
||||
void closeEvent(QCloseEvent *event);
|
||||
|
|
16
wfmain.ui
16
wfmain.ui
|
@ -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">
|
||||
|
@ -2051,6 +2051,20 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="wfAntiAliasChk">
|
||||
<property name="text">
|
||||
<string>Anti-Alias Waterfall</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="wfInterpolateChk">
|
||||
<property name="text">
|
||||
<string>Interpolate Waterfall</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="fullScreenChk">
|
||||
<property name="text">
|
||||
|
|
Ładowanie…
Reference in New Issue