X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/cf76e892839806b64588635cb6accb636001e62a..HEAD:/src/gui/configdialog.h?ds=sidebyside diff --git a/src/gui/configdialog.h b/src/gui/configdialog.h index 395954e..ff105ea 100644 --- a/src/gui/configdialog.h +++ b/src/gui/configdialog.h @@ -1,49 +1,60 @@ -// -// configdialog.h - Configuration dialog -// -// by James Hammons -// (C) 2010 Underground Software -// -// JPM = Jean-Paul Mari -// -// Who When What -// --- ---------- ------------------------------------------------------------ -// JPM 06/19/2016 Soft debugger support -// - -#ifndef __CONFIGDIALOG_H__ -#define __CONFIGDIALOG_H__ - -#include - -class GeneralTab; -class ControllerTab; -class AlpineTab; -class DebuggerTab; - -class ConfigDialog: public QDialog -{ - Q_OBJECT - - public: - ConfigDialog(QWidget * parent = 0); - ~ConfigDialog(); - void UpdateVJSettings(void); - - private: - void LoadDialogFromSettings(void); - QString CheckForTrailingSlash(QString); - - private: - QTabWidget * tabWidget; - QDialogButtonBox * buttonBox; - - public: - GeneralTab * generalTab; - ControllerTab * controllerTab1; -// ControllerTab * controllerTab2; - AlpineTab * alpineTab; - DebuggerTab * debuggerTab; -}; - -#endif // __CONFIGDIALOG_H__ +// +// configdialog.h - Configuration dialog +// +// by James Hammons +// (C) 2010 Underground Software +// +// JPM = Jean-Paul Mari +// +// Who When What +// --- ---------- ------------------------------------------------------------ +// JPM 06/19/2016 Soft debugger support +// JPM 09/03/2018 Added a Models & Bios tab +// + +#ifndef __CONFIGDIALOG_H__ +#define __CONFIGDIALOG_H__ + +#define NEWMODELSBIOSHANDLER // New Jaguar models and bios usage handler + +#include + +class GeneralTab; +#ifdef NEWMODELSBIOSHANDLER +class ModelsBiosTab; +#endif +class ControllerTab; +class AlpineTab; +class DebuggerTab; +class KeyBindingsTab; + + +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; +#ifdef NEWMODELSBIOSHANDLER + ModelsBiosTab *modelsbiosTab; +#endif + ControllerTab *controllerTab1; +// ControllerTab *controllerTab2; + KeyBindingsTab *keybindingsTab; + AlpineTab *alpineTab; + DebuggerTab *debuggerTab; +}; + +#endif // __CONFIGDIALOG_H__