]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/controllertab.h
998d193333ac79341500bee89c99231ba669e928
[virtualjaguar] / src / gui / controllertab.h
1 #ifndef __CONTROLLERTAB_H__
2 #define __CONTROLLERTAB_H__
3
4 #include <QtGui>
5 #include <stdint.h>
6
7 class ControllerWidget;
8
9 class ControllerTab: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 ControllerTab(QWidget * parent = 0);
15                 ~ControllerTab();
16
17         protected slots:
18                 void DefineAllKeys(void);
19                 void ChangeProfile(int);
20
21         private:
22                 QLabel * label;
23                 QComboBox * controllerList;
24                 QComboBox * profileList;
25                 QPushButton * redefineAll;
26
27         public:
28                 ControllerWidget * controllerWidget;
29                 int profile;
30 };
31
32 #endif  // __CONTROLLERTAB_H__