kopia lustrzana https://gitlab.com/eliggett/wfview
debug function for scroll wheel
rodzic
0ad1acc795
commit
f1dea9ec6e
|
@ -61,6 +61,12 @@ spectrumScope::spectrumScope(QWidget *parent)
|
|||
edgeButton->setVisible(false);
|
||||
toFixedButton->setVisible(false);
|
||||
|
||||
dummySlider = new QSlider();
|
||||
tickInterval = dummySlider->tickInterval();
|
||||
pageStep = dummySlider->pageStep();
|
||||
qInfo() << "------ EHL INFO: ------ tickInterval: " << tickInterval << ", pageStep: " << pageStep;
|
||||
qInfo() << "singleStep: " << dummySlider->singleStep();
|
||||
|
||||
spectrum = new QCustomPlot();
|
||||
waterfall = new QCustomPlot();
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <QLabel>
|
||||
#include <QCheckBox>
|
||||
#include <QPushButton>
|
||||
#include <QSlider>
|
||||
#include <QSpacerItem>
|
||||
#include <QElapsedTimer>
|
||||
#include <qcustomplot.h>
|
||||
|
@ -155,6 +156,9 @@ private:
|
|||
QComboBox* filterCombo;
|
||||
QComboBox* antennaCombo;
|
||||
QPushButton* holdButton;
|
||||
QSlider* dummySlider;
|
||||
qreal tickInterval;
|
||||
qreal pageStep;
|
||||
|
||||
QCheckBox* rxCheckBox;
|
||||
|
||||
|
|
|
@ -5489,6 +5489,12 @@ void wfmain::debugBtn_clicked()
|
|||
debug->setAttribute(Qt::WA_DeleteOnClose);
|
||||
debug->show();
|
||||
|
||||
qInfo(logSystem()) << "Scroll wheel debug: ";
|
||||
qInfo(logSystem()) << "tick interval: " << ui->afGainSlider->tickInterval();
|
||||
qInfo(logSystem()) << "page step: " << ui->afGainSlider->pageStep();
|
||||
qInfo(logSystem()) << "single step: " << ui->afGainSlider->singleStep();
|
||||
qInfo(logSystem()) << "QApp wheel scroll lines: " << QApplication::wheelScrollLines();
|
||||
qInfo(logSystem()) << "QStyleHint wheel scroll lines: " << QApplication::styleHints()->wheelScrollLines();
|
||||
|
||||
|
||||
//showAndRaiseWidget(setupui);
|
||||
|
|
Ładowanie…
Reference in New Issue