]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/controllertab.h
Fixed controller profile system.
[virtualjaguar] / src / gui / controllertab.h
index 9b4c5259e9cee51de69650f5defc9688488474a2..c72507d3ab1da1ced7a288fd5b421c74edce6011 100644 (file)
@@ -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__