5204
|
1 |
/*
|
|
2 |
* Hedgewars, a free turn based strategy game
|
|
3 |
* Copyright (c) 2006-2011 Andrey Korotaev <unC0Rr@gmail.com>
|
|
4 |
*
|
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
6 |
* it under the terms of the GNU General Public License as published by
|
|
7 |
* the Free Software Foundation; version 2 of the License
|
|
8 |
*
|
|
9 |
* This program is distributed in the hope that it will be useful,
|
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12 |
* GNU General Public License for more details.
|
|
13 |
*
|
|
14 |
* You should have received a copy of the GNU General Public License
|
|
15 |
* along with this program; if not, write to the Free Software
|
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef PAGE_EDITTEAM_H
|
|
20 |
#define PAGE_EDITTEAM_H
|
|
21 |
|
|
22 |
#include "pages.h"
|
|
23 |
|
|
24 |
class SquareLabel;
|
|
25 |
|
|
26 |
class PageEditTeam : public AbstractPage
|
|
27 |
{
|
|
28 |
Q_OBJECT
|
|
29 |
|
|
30 |
public:
|
|
31 |
PageEditTeam(QWidget* parent, SDLInteraction * sdli);
|
|
32 |
QSignalMapper* signalMapper;
|
|
33 |
QGroupBox *GBoxHedgehogs;
|
|
34 |
QGroupBox *GBoxTeam;
|
|
35 |
QGroupBox *GBoxFort;
|
|
36 |
QComboBox *CBFort;
|
|
37 |
SquareLabel *FortPreview;
|
|
38 |
QComboBox *CBGrave;
|
|
39 |
QComboBox *CBFlag;
|
|
40 |
QComboBox *CBTeamLvl;
|
|
41 |
QComboBox *CBVoicepack;
|
|
42 |
QGroupBox *GBoxBinds;
|
|
43 |
QToolBox *BindsBox;
|
|
44 |
QPushButton *BtnTeamDiscard;
|
|
45 |
QPushButton *BtnTeamSave;
|
|
46 |
QPushButton * BtnTestSound;
|
|
47 |
QLineEdit * TeamNameEdit;
|
|
48 |
QLineEdit * HHNameEdit[8];
|
|
49 |
QComboBox * HHHats[8];
|
|
50 |
QPushButton * randButton[8];
|
|
51 |
QComboBox * CBBind[BINDS_NUMBER];
|
|
52 |
QPushButton * randTeamButton;
|
|
53 |
|
|
54 |
private:
|
|
55 |
SDLInteraction * mySdli;
|
|
56 |
|
|
57 |
public slots:
|
|
58 |
void CBFort_activated(const QString & gravename);
|
|
59 |
|
|
60 |
private slots:
|
|
61 |
void testSound();
|
|
62 |
};
|
|
63 |
|
|
64 |
#endif
|
|
65 |
|