]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/configdialog.h
First attempt at configuration dialog.
[virtualjaguar] / src / gui / configdialog.h
diff --git a/src/gui/configdialog.h b/src/gui/configdialog.h
new file mode 100644 (file)
index 0000000..99d4e16
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// configdialog.h - Configuration dialog
+//
+// by James L. Hammons
+// (C) 2010 Underground Software
+//
+
+#ifndef __CONFIGDIALOG_H__
+#define __CONFIGDIALOG_H__
+
+#include <QtGui>
+
+class GeneralTab;
+class ControllerTab;
+
+class ConfigDialog: public QDialog
+{
+       Q_OBJECT
+
+       public:
+               ConfigDialog(QWidget * parent = 0);
+               ~ConfigDialog();
+               void UpdateVJSettings(void);
+
+       private:
+               void LoadDialogFromSettings(void);
+
+       private:
+               QTabWidget * tabWidget;
+               QDialogButtonBox * buttonBox;
+
+       public:
+               GeneralTab * generalTab;
+               ControllerTab * controllerTab;
+};
+
+#endif // __CONFIGDIALOG_H__