QTfrontend/hwform.h
changeset 87 ff213e443336
parent 85 44d9045b26ff
child 128 223522298250
equal deleted inserted replaced
86:664b536a1c27 87:ff213e443336
    37 #include <QLabel>
    37 #include <QLabel>
    38 #include <QLineEdit>
    38 #include <QLineEdit>
    39 #include <QDir>
    39 #include <QDir>
    40 
    40 
    41 #include "ui_hwform.h"
    41 #include "ui_hwform.h"
    42 #include "binds.h"
       
    43 #include "game.h"
       
    44 #include "team.h"
       
    45 #include "netclient.h"
       
    46 #include "teamselect.h"
       
    47 
    42 
       
    43 class HWGame;
       
    44 class HWTeam;
       
    45 class HWNet;
    48 class GameUIConfig;
    46 class GameUIConfig;
    49 
    47 
    50 class HWForm : public QMainWindow
    48 class HWForm : public QMainWindow
    51 {
    49 {
    52 	Q_OBJECT
    50 	Q_OBJECT
    53 
    51 
    54 public:
    52 public:
    55 	HWForm(QWidget *parent = 0);
    53 	HWForm(QWidget *parent = 0);
    56 	Ui::HWForm ui;
    54 	Ui_HWForm ui;
    57 	QLineEdit * TeamNameEdit;
       
    58 	QLineEdit * HHNameEdit[8];
       
    59 	QComboBox * CBBind[BINDS_NUMBER];
       
    60 
    55 
    61 private slots:
    56 private slots:
    62 	void GoToMain();
    57 	void GoToMain();
    63 	void GoToSinglePlayer();
    58 	void GoToSinglePlayer();
    64 	void GoToSetup();
    59 	void GoToSetup();
    80 	void NetAddTeam();
    75 	void NetAddTeam();
    81 	void NetGameEnter();
    76 	void NetGameEnter();
    82 	void NetStartGame();
    77 	void NetStartGame();
    83 	void ChangeInNetTeams(const QStringList & teams);
    78 	void ChangeInNetTeams(const QStringList & teams);
    84 
    79 
    85 public slots:
       
    86 	void CBGrave_activated(const QString & gravename);
       
    87 	void CBFort_activated(const QString & gravename);
       
    88 
       
    89 private:
    80 private:
    90 	QLabel * LBind[BINDS_NUMBER];
       
    91 	HWGame * game;
    81 	HWGame * game;
    92 	HWTeam * tmpTeam;
    82 	HWTeam * tmpTeam;
    93 	HWNet * hwnet;
    83 	HWNet * hwnet;
    94 	GameUIConfig * config;
    84 	GameUIConfig * config;
    95 };
    85 };