Go to the documentation of this file.00001
00021 #ifndef MODEDIALOG_H_
00022 #define MODEDIALOG_H_
00023
00024 #include "ui_ModeDialog.h"
00025
00029 class ModeDialog : public QDialog, protected Ui_ModeDialog
00030 {
00031 Q_OBJECT
00032 public:
00033
00035 typedef enum
00036 {
00037 CLASSICAL_STILL = 1,
00038 DISTANT_VIDEO = 2
00039 } Mode;
00040
00041 ModeDialog(QWidget* parent = 0, Qt::WFlags flags = 0);
00042 virtual ~ModeDialog();
00043
00045 Mode getMode() { return this->mode; }
00046
00047 public slots:
00049 void modeButtonClicked();
00050
00051 private:
00052 Mode mode;
00053 };
00054 #endif