First commit
[clinton/Virtual-Jaguar-Rx.git] / src / gui / configdialog.h
1 //
2 // configdialog.h - Configuration dialog
3 //
4 // by James Hammons
5 // (C) 2010 Underground Software
6 //
7 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
8 //
9 // Who When What
10 // --- ---------- ------------------------------------------------------------
11 // JPM 06/19/2016 Soft debugger support
12 //
13
14 #ifndef __CONFIGDIALOG_H__
15 #define __CONFIGDIALOG_H__
16
17 #include <QtWidgets>
18
19 class GeneralTab;
20 class ControllerTab;
21 class AlpineTab;
22 class DebuggerTab;
23
24 class ConfigDialog: public QDialog
25 {
26 Q_OBJECT
27
28 public:
29 ConfigDialog(QWidget * parent = 0);
30 ~ConfigDialog();
31 void UpdateVJSettings(void);
32
33 private:
34 void LoadDialogFromSettings(void);
35 QString CheckForTrailingSlash(QString);
36
37 private:
38 QTabWidget * tabWidget;
39 QDialogButtonBox * buttonBox;
40
41 public:
42 GeneralTab * generalTab;
43 ControllerTab * controllerTab1;
44 // ControllerTab * controllerTab2;
45 AlpineTab * alpineTab;
46 DebuggerTab * debuggerTab;
47 };
48
49 #endif // __CONFIGDIALOG_H__