Added waterfall display options: anti-alias and interpolate. Not in

preferences yet. Debug button enables wf pan and zoom.
merge-requests/5/head
Elliott Liggett 2021-07-13 22:42:55 -07:00
rodzic d54562469d
commit 54f2dcd5b8
3 zmienionych plików z 34 dodań i 3 usunięć

Wyświetl plik

@ -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);
}

Wyświetl plik

@ -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);

Wyświetl plik

@ -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">