X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.h;h=5862eb37a5bddad3208a398202ceb93637ae7198;hb=240a6df48aebb5e17f82452c32e770cdfe9b5d5e;hp=9b4c5259e9cee51de69650f5defc9688488474a2;hpb=94d59c2c8c14b9ac51dffd117ec507418b4d0881;p=virtualjaguar diff --git a/src/gui/controllertab.h b/src/gui/controllertab.h index 9b4c525..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; @@ -13,18 +13,34 @@ class ControllerTab: public QWidget public: ControllerTab(QWidget * parent = 0); ~ControllerTab(); -// QSize sizeHint(void) const; + + void SetupLastUsedProfile(void); protected slots: void DefineAllKeys(void); + void UpdateProfileKeys(int, uint32_t); + void UpdateProfileConnections(int); + void ChangeDevice(int); + void ChangeMapName(int); + void AddMapName(void); + void DeleteMapName(void); private: - QLabel * label; - QComboBox * profile; + 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 profileNum; }; #endif // __CONTROLLERTAB_H__