X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.h;h=5862eb37a5bddad3208a398202ceb93637ae7198;hb=56f80e7876367f9da3cff765b46e842270d45a0d;hp=998d193333ac79341500bee89c99231ba669e928;hpb=c436dad60e34fb9da720a89db917eb4cf4e3a624;p=virtualjaguar diff --git a/src/gui/controllertab.h b/src/gui/controllertab.h index 998d193..5862eb3 100644 --- a/src/gui/controllertab.h +++ b/src/gui/controllertab.h @@ -1,7 +1,7 @@ #ifndef __CONTROLLERTAB_H__ #define __CONTROLLERTAB_H__ -#include +#include #include class ControllerWidget; @@ -14,19 +14,33 @@ class ControllerTab: public QWidget ControllerTab(QWidget * parent = 0); ~ControllerTab(); + void SetupLastUsedProfile(void); + protected slots: void DefineAllKeys(void); - void ChangeProfile(int); + void UpdateProfileKeys(int, uint32_t); + void UpdateProfileConnections(int); + void ChangeDevice(int); + void ChangeMapName(int); + void AddMapName(void); + void DeleteMapName(void); private: - QLabel * label; - QComboBox * controllerList; - QComboBox * profileList; + QLabel * label1; + QLabel * label2; + QLabel * label3; + QComboBox * deviceList; + QComboBox * mapNameList; + QComboBox * mapToList; + QCheckBox * controller1; + QCheckBox * controller2; + QPushButton * addMapName; + QPushButton * deleteMapName; QPushButton * redefineAll; public: ControllerWidget * controllerWidget; - int profile; + int profileNum; }; #endif // __CONTROLLERTAB_H__