]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/configdialog.h
Replace QtGui includes with QtWidgets, add QT += widgets for qmake
[virtualjaguar] / src / gui / configdialog.h
1 //
2 // configdialog.h - Configuration dialog
3 //
4 // by James Hammons
5 // (C) 2010 Underground Software
6 //
7
8 #ifndef __CONFIGDIALOG_H__
9 #define __CONFIGDIALOG_H__
10
11 #include <QtWidgets>
12
13 class GeneralTab;
14 class ControllerTab;
15 class AlpineTab;
16
17 class ConfigDialog: public QDialog
18 {
19         Q_OBJECT
20
21         public:
22                 ConfigDialog(QWidget * parent = 0);
23                 ~ConfigDialog();
24                 void UpdateVJSettings(void);
25
26         private:
27                 void LoadDialogFromSettings(void);
28                 QString CheckForTrailingSlash(QString);
29
30         private:
31                 QTabWidget * tabWidget;
32                 QDialogButtonBox * buttonBox;
33
34         public:
35                 GeneralTab * generalTab;
36                 ControllerTab * controllerTab1;
37 //              ControllerTab * controllerTab2;
38                 AlpineTab * alpineTab;
39 };
40
41 #endif  // __CONFIGDIALOG_H__