28 #ifndef OUTPUTCALIBRATIONPAGE_H
29 #define OUTPUTCALIBRATIONPAGE_H
51 bool isFinished() {
return m_currentWizardIndex >= m_wizardIndexes.size() - 1; }
61 void on_motorNeutralButton_toggled(
bool checked);
62 void on_motorNeutralSlider_valueChanged(
int value);
64 void on_servoCenterButton_toggled(
bool checked);
65 void on_servoCenterSlider_valueChanged(
int position);
67 void on_servoMinAngleButton_toggled(
bool checked);
68 void on_servoMinAngleSlider_valueChanged(
int position);
70 void on_servoMaxAngleButton_toggled(
bool checked);
71 void on_servoMaxAngleSlider_valueChanged(
int position);
76 void setupVehicleItems();
77 void setupVehicleHighlightedPart();
79 void enableButtons(
bool enable);
80 void onStartButtonToggle(QAbstractButton *button, quint16 channel, quint16 value,
81 quint16 safeValue, QSlider *slider);
83 void debugLogChannelValues();
84 quint16 getCurrentChannel();
86 Ui::OutputCalibrationPage *ui;
87 QSvgRenderer *m_vehicleRenderer;
88 QGraphicsScene *m_vehicleScene;
89 QGraphicsSvgItem *m_vehicleBoundsItem;
91 qint16 m_currentWizardIndex;
104 #endif // OUTPUTCALIBRATIONPAGE_H
OutputCalibrationPage(SetupWizard *wizard, QWidget *parent=nullptr)
void showEvent(QShowEvent *event)
The SetupWizard class is the main interface to the setup wizard. It provides selects the sequence of ...
void resizeEvent(QResizeEvent *event)