--- a/QTfrontend/pageeditteam.h Mon Sep 26 21:45:33 2011 +0400
+++ b/QTfrontend/pageeditteam.h Tue Sep 27 00:38:39 2011 +0200
@@ -47,7 +47,6 @@
void CBFort_activated(const QString & gravename);
private:
- QPushButton * randTeamButton;
QSignalMapper* signalMapper1;
QSignalMapper* signalMapper2;
QGroupBox *GBoxHedgehogs;
@@ -61,20 +60,28 @@
QComboBox *CBVoicepack;
QGroupBox *GBoxBinds;
QToolBox *BindsBox;
- QPushButton *BtnTeamDiscard;
- QPushButton *BtnTeamSave;
- QPushButton * BtnTestSound;
QLineEdit * TeamNameEdit;
QLineEdit * HHNameEdit[HEDGEHOGS_PER_TEAM];
QComboBox * HHHats[HEDGEHOGS_PER_TEAM];
- QPushButton * randButton[HEDGEHOGS_PER_TEAM];
QComboBox * CBBind[BINDS_NUMBER];
SDLInteraction * mySdli;
HWTeam data();
QString m_playerHash;
+ QLayout * bodyLayoutDefinition();
+ QLayout * footerLayoutDefinition();
+ void connectSignals();
+
void loadTeam(const HWTeam & team);
+ // page 1
+ QPushButton * btnRandomHogName[HEDGEHOGS_PER_TEAM];
+ QPushButton * btnRandomTeam;
+ QPushButton * btnTestSound;
+
+ // footer
+ QPushButton * btnSave;
+
private slots:
void saveTeam();
void setRandomNames();