QTfrontend/pages.h
author unc0rr
Fri, 26 Oct 2007 18:55:27 +0000
changeset 623 ca1c1bd15915
parent 612 333d095319de
child 632 5e09ae25729f
permissions -rw-r--r--
Respect omen on about page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     1
/*
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     2
 * Hedgewars, a worms-like game
486
7ea71cd3acd5 - Change proto version to 4
unc0rr
parents: 471
diff changeset
     3
 * Copyright (c) 2006, 2007 Andrey Korotaev <unC0Rr@gmail.com>
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     4
 *
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     8
 *
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    12
 * GNU General Public License for more details.
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    13
 *
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    14
 * You should have received a copy of the GNU General Public License
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    15
 * along with this program; if not, write to the Free Software
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    17
 */
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    18
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    19
#ifndef PAGES_H
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    20
#define PAGES_H
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    21
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    22
#include <QWidget>
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    23
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    24
#include "binds.h"
322
e7175ae57945 first new widgets added to net game
displacer
parents: 314
diff changeset
    25
#include "mapContainer.h"
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    26
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    27
class GameCFGWidget;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    28
class QPushButton;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    29
class QGroupBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    30
class QComboBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    31
class QLabel;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    32
class QToolBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    33
class QLineEdit;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    34
class TeamSelWidget;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    35
class DemosList;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    36
class QListWidget;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    37
class QCheckBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    38
class SquareLabel;
187
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
    39
class About;
231
c77b16e48273 bots power icons added
displacer
parents: 187
diff changeset
    40
class QSpinBox;
297
279e10ec31b4 'Show FPS' and 'FPS limit' options
unc0rr
parents: 231
diff changeset
    41
class FPSEdit;
416
595d8663254d update button for udp servers list
displacer
parents: 336
diff changeset
    42
class HWNetUdpWidget;
452
45fbb9df0c99 problems with widget sizes for net chat
displacer
parents: 416
diff changeset
    43
class QTextEdit;
461
105af110b0e6 chatWidget with layout
displacer
parents: 452
diff changeset
    44
class HWChatWidget;
612
333d095319de abstract class for items container (hedgehogs num, bullets, etc.)
displacer
parents: 600
diff changeset
    45
class SelWeaponWidget;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    46
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    47
class PageMain : public QWidget
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    48
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    49
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    50
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    51
public:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    52
	PageMain(QWidget* parent = 0);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    53
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    54
	QPushButton *BtnSinglePlayer;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    55
	QPushButton *BtnMultiplayer;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    56
	QPushButton *BtnNet;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    57
	QPushButton *BtnSetup;
579
94db15de0392 - Some changes to make build process clear
unc0rr
parents: 529
diff changeset
    58
	QPushButton *BtnLoad;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    59
	QPushButton *BtnDemos;
187
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
    60
	QPushButton *BtnInfo;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    61
	QPushButton *BtnExit;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    62
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    63
585
7531ae5b146e Rename PageLocalGame -> PageSimpleGame due to future changes
unc0rr
parents: 579
diff changeset
    64
class PageSimpleGame : public QWidget
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    65
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    66
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    67
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    68
public:
585
7531ae5b146e Rename PageLocalGame -> PageSimpleGame due to future changes
unc0rr
parents: 579
diff changeset
    69
	PageSimpleGame(QWidget* parent = 0);
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    70
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    71
	QPushButton *BtnSimpleGame;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    72
	QPushButton *BtnBack;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    73
	GameCFGWidget *gameCFG;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    74
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    75
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    76
class PageEditTeam : public QWidget
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    77
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    78
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    79
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    80
public:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    81
	PageEditTeam(QWidget* parent = 0);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    82
	QGroupBox *GBoxHedgehogs;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    83
	QGroupBox *GBoxTeam;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    84
	QGroupBox *GBoxFort;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    85
	QComboBox *CBFort;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    86
	SquareLabel *FortPreview;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    87
	QGroupBox *GBoxGrave;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    88
	QComboBox *CBGrave;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    89
	QLabel *GravePreview;
336
82d654db133d Team level at new place on team config page
unc0rr
parents: 329
diff changeset
    90
	QGroupBox *GBoxTeamLvl;
82d654db133d Team level at new place on team config page
unc0rr
parents: 329
diff changeset
    91
	QComboBox *CBTeamLvl;
82d654db133d Team level at new place on team config page
unc0rr
parents: 329
diff changeset
    92
	QLabel *LevelPict;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    93
	QGroupBox *GBoxBinds;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    94
	QToolBox *BindsBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    95
	QWidget *page_A;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    96
	QWidget *page_W;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    97
	QWidget *page_WP;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    98
	QWidget *page_O;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
    99
	QPushButton *BtnTeamDiscard;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   100
	QPushButton *BtnTeamSave;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   101
	QLineEdit * TeamNameEdit;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   102
	QLineEdit * HHNameEdit[8];
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   103
	QComboBox * CBBind[BINDS_NUMBER];
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   104
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   105
public slots:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   106
	void CBGrave_activated(const QString & gravename);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   107
	void CBFort_activated(const QString & gravename);
336
82d654db133d Team level at new place on team config page
unc0rr
parents: 329
diff changeset
   108
	void CBTeamLvl_activated(int id);
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   109
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   110
private:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   111
	QLabel * LBind[BINDS_NUMBER];
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   112
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   113
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   114
class PageMultiplayer : public QWidget
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   115
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   116
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   117
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   118
public:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   119
	PageMultiplayer(QWidget* parent = 0);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   120
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   121
	QPushButton *BtnBack;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   122
	GameCFGWidget *gameCFG;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   123
	TeamSelWidget *teamsSelect;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   124
	QPushButton *BtnStartMPGame;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   125
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   126
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   127
class PageOptions : public QWidget
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   128
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   129
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   130
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   131
public:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   132
	PageOptions(QWidget* parent = 0);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   133
597
ec5f057ab268 kdevelop project add, initial weapons scheme button
displacer
parents: 587
diff changeset
   134
	QPushButton* WeaponsButt;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   135
	QPushButton *BtnBack;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   136
	QGroupBox *groupBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   137
	QPushButton *BtnNewTeam;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   138
	QPushButton *BtnEditTeam;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   139
	QComboBox *CBTeamName;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   140
	QGroupBox *AGGroupBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   141
	QComboBox *CBResolution;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   142
	QCheckBox *CBEnableSound;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   143
	QCheckBox *CBFullscreen;
297
279e10ec31b4 'Show FPS' and 'FPS limit' options
unc0rr
parents: 231
diff changeset
   144
	QCheckBox *CBShowFPS;
529
812682c1ab62 Option for alternative damage tags
unc0rr
parents: 486
diff changeset
   145
	QCheckBox *CBAltDamage;
297
279e10ec31b4 'Show FPS' and 'FPS limit' options
unc0rr
parents: 231
diff changeset
   146
	FPSEdit *fpsedit;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   147
	QPushButton *BtnSaveOptions;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   148
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   149
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   150
class PageNet : public QWidget
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   151
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   152
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   153
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   154
public:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   155
	PageNet(QWidget* parent = 0);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   156
416
595d8663254d update button for udp servers list
displacer
parents: 336
diff changeset
   157
	QPushButton* pUpdateUdpButt;
595d8663254d update button for udp servers list
displacer
parents: 336
diff changeset
   158
	HWNetUdpWidget* pUdpClient;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   159
	QPushButton *BtnBack;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   160
	QPushButton *BtnNetConnect;
314
83773ccf4f09 client/server net pre-alpha
displacer
parents: 307
diff changeset
   161
	QPushButton* BtnNetSvrStart;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   162
	QGroupBox *NNGroupBox;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   163
	QLabel *labelNN;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   164
	QLineEdit *editNetNick;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   165
	QLabel *labelIP;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   166
	QLineEdit * editIP;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   167
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   168
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   169
class PageNetGame : public QWidget
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   170
{
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   171
	Q_OBJECT
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   172
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   173
public:
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   174
	PageNetGame(QWidget* parent = 0);
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   175
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   176
	QPushButton *BtnBack;
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   177
	QPushButton *BtnGo;
461
105af110b0e6 chatWidget with layout
displacer
parents: 452
diff changeset
   178
105af110b0e6 chatWidget with layout
displacer
parents: 452
diff changeset
   179
	HWChatWidget* pChatWidget;
322
e7175ae57945 first new widgets added to net game
displacer
parents: 314
diff changeset
   180
e7175ae57945 first new widgets added to net game
displacer
parents: 314
diff changeset
   181
	TeamSelWidget* pNetTeamsWidget;
e7175ae57945 first new widgets added to net game
displacer
parents: 314
diff changeset
   182
	GameCFGWidget* pGameCFG;
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   183
};
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   184
187
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   185
class PageInfo : public QWidget
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   186
{
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   187
	Q_OBJECT
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   188
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   189
public:
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   190
	PageInfo(QWidget* parent = 0);
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   191
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   192
	QPushButton *BtnBack;
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   193
	About *about;
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   194
};
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents: 184
diff changeset
   195
306
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   196
class PageGameStats : public QWidget
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   197
{
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   198
	Q_OBJECT
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   199
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   200
public:
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   201
	PageGameStats(QWidget* parent = 0);
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   202
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   203
	QPushButton *BtnBack;
307
96b428ac11f2 More statistics
unc0rr
parents: 306
diff changeset
   204
	QLabel *labelGameStats;
306
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   205
};
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   206
586
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   207
class PageSinglePlayer : public QWidget
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   208
{
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   209
	Q_OBJECT
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   210
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   211
public:
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   212
	PageSinglePlayer(QWidget* parent = 0);
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   213
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   214
	QPushButton *BtnSimpleGamePage;
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   215
	QPushButton *BtnTrainPage;
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   216
	QPushButton *BtnBack;
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   217
	GameCFGWidget *gameCFG;
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   218
};
ecb6347dfeca Prepare to new page 'Training'
unc0rr
parents: 585
diff changeset
   219
587
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   220
class PageTraining : public QWidget
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   221
{
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   222
	Q_OBJECT
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   223
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   224
public:
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   225
	PageTraining(QWidget* parent = 0);
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   226
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   227
	QPushButton *BtnStartTrain;
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   228
	QPushButton *BtnBack;
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   229
};
74db4115064a More work on Training mode
unc0rr
parents: 586
diff changeset
   230
600
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   231
class PageSelectWeapon : public QWidget
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   232
{
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   233
	Q_OBJECT
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   234
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   235
public:
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   236
	PageSelectWeapon(QWidget* parent = 0);
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   237
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   238
	QPushButton *BtnBack;
612
333d095319de abstract class for items container (hedgehogs num, bullets, etc.)
displacer
parents: 600
diff changeset
   239
        SelWeaponWidget* pWeapons;
600
f6e5f4e122db Select weapon scheme page
unc0rr
parents: 597
diff changeset
   240
};
306
7b61834edcf6 - Better blowtorch
unc0rr
parents: 297
diff changeset
   241
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   242
#endif // PAGES_H