Graphical presentation could be better, I am not very familiar with Qt.
This commit is contained in:
Damjan Adamic
2014-05-11 18:12:03 +02:00
parent 750cde82d1
commit 0145bcfd6c
6 changed files with 82 additions and 8 deletions
@@ -53,9 +53,11 @@ class SimulatorDialog : public QDialog
QTabWidget * tabWidget;
QGridLayout * logicalSwitchesLayout;
QGridLayout * channelsLayout;
QGridLayout * gvarsLayout;
QVector<QLabel *> logicalSwitchLabels;
QVector<QSlider *> channelSliders;
QVector<QLabel *> channelValues;
QVector<QLabel *> gvarValues;
void init();
Node *nodeLeft;
@@ -65,6 +67,8 @@ class SimulatorDialog : public QDialog
unsigned int backLight;
bool lightOn;
int switches;
unsigned int numGvars;
unsigned int numFlightModes;
#ifdef JOYSTICKS
Joystick *joystick;
int jscal[8][4];