diff --git a/wfmain.cpp b/wfmain.cpp index fa4afd5..1dd6a6b 100644 --- a/wfmain.cpp +++ b/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); +} diff --git a/wfmain.h b/wfmain.h index 2cec6dc..d2a52ce 100644 --- a/wfmain.h +++ b/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); diff --git a/wfmain.ui b/wfmain.ui index d6e6566..fff8ba8 100644 --- a/wfmain.ui +++ b/wfmain.ui @@ -18,7 +18,7 @@ - 0 + 3 @@ -2051,6 +2051,20 @@ + + + + Anti-Alias Waterfall + + + + + + + Interpolate Waterfall + + +