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.merge-requests/5/head
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 ---
|
// --- DEBUG FUNCTION ---
|
||||||
void wfmain::on_debugBtn_clicked()
|
void wfmain::on_debugBtn_clicked()
|
||||||
{
|
{
|
||||||
qInfo(logSystem()) << "Debug button pressed.";
|
qInfo(logSystem()) << "Debug button pressed.";
|
||||||
//trxadj->show();
|
//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_pollingBtn_clicked();
|
||||||
|
|
||||||
|
void on_wfAntiAliasChk_clicked(bool checked);
|
||||||
|
|
||||||
|
void on_wfInterpolateChk_clicked(bool checked);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::wfmain *ui;
|
Ui::wfmain *ui;
|
||||||
void closeEvent(QCloseEvent *event);
|
void closeEvent(QCloseEvent *event);
|
||||||
|
|
16
wfmain.ui
16
wfmain.ui
|
@ -18,7 +18,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="mainTab">
|
<widget class="QWidget" name="mainTab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -2051,6 +2051,20 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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>
|
<item>
|
||||||
<widget class="QCheckBox" name="fullScreenChk">
|
<widget class="QCheckBox" name="fullScreenChk">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
Ładowanie…
Reference in New Issue