QTfrontend/ui/page/pageeditteam.h
branchwebgl
changeset 8444 75db7bb8dce8
parent 8374 3a1708759c4f
child 9080 9b42757d7e71
--- a/QTfrontend/ui/page/pageeditteam.h	Wed Jan 02 11:11:49 2013 +0100
+++ b/QTfrontend/ui/page/pageeditteam.h	Sun Jan 27 00:28:57 2013 +0100
@@ -28,6 +28,8 @@
 #include "team.h"
 
 class SquareLabel;
+class KeyBinder;
+class HatButton;
 
 class PageEditTeam : public AbstractPage
 {
@@ -44,6 +46,7 @@
         void CBFort_activated(const QString & gravename);
 
     private:
+        QTabWidget * tbw;
         QSignalMapper* signalMapper1;
         QSignalMapper* signalMapper2;
         QGroupBox *GBoxHedgehogs;
@@ -59,10 +62,10 @@
         QToolBox *BindsBox;
         QLineEdit * TeamNameEdit;
         QLineEdit * HHNameEdit[HEDGEHOGS_PER_TEAM];
-        QComboBox * HHHats[HEDGEHOGS_PER_TEAM];
-        QComboBox * CBBind[BINDS_NUMBER];
+        HatButton * HHHats[HEDGEHOGS_PER_TEAM];
         HWTeam data();
         QString m_playerHash;
+        KeyBinder * binder;
 
         QLayout * bodyLayoutDefinition();
         QLayout * footerLayoutDefinition();
@@ -85,6 +88,7 @@
         void testSound();
 
         void fixHHname(int idx);
+        void resetAllBinds();
 };
 
 #endif