1 #ifndef CONTROL_DIALOG_H
2 #define CONTROL_DIALOG_H
9 #include "coordsAndAngles.h"
11 #include "myglwidget.h"
12 #include "workerthread.h"
13 #include "ui_controlDialog.h"
17 class ControlDialog
: public QDialog
, public Ui::controlDialog
22 ControlDialog(QWidget
*parent
= 0);
26 void glSceneNeedsUpdate(void);
27 void fileNameChanged(QString fileName
);
30 void on_startButton_clicked();
31 void on_stopButton_clicked();
32 void on_exitButton_clicked();
34 // Axis tab associated slots
35 void on_xAxisVisibleCheck_stateChanged(int state
);
36 void on_yAxisVisibleCheck_stateChanged(int state
);
37 void on_zAxisVisibleCheck_stateChanged(int state
);
38 void on_localAxisCheck_stateChanged(int state
);
40 // Camera tab associated slots
41 void on_eyeXEdit_textChanged(const QString
& text
);
42 void on_eyeYEdit_textChanged(const QString
& text
);
43 void on_eyeZEdit_textChanged(const QString
& text
);
45 void on_centerXEdit_textChanged(const QString
& text
);
46 void on_centerYEdit_textChanged(const QString
& text
);
47 void on_centerZEdit_textChanged(const QString
& text
);
49 void on_upXEdit_textChanged(const QString
& text
);
50 void on_upYEdit_textChanged(const QString
& text
);
51 void on_upZEdit_textChanged(const QString
& text
);
53 // Sphere tab associated slots
54 void on_stacksSpin_valueChanged(int i
);
55 void on_slicesSpin_valueChanged(int i
);
56 void on_radiusSpin_valueChanged(double d
);
57 void on_cullingCheck_stateChanged(int state
);
59 // Data tab associated slots
60 void on_browseFileButton_clicked();
61 void on_fileNameChangedManually();
63 // Timeline tab associated slots
64 void on_fpsSpin_valueChanged(int i
);
65 void pullData(qreal time
);
69 WorkerThread m_thread
;
76 bool m_localAxisSystem
;
80 CoordsAndAngles m_coordsAndAngles
;
85 #endif // CONTROL_DIALOG_H