equal
deleted
inserted
replaced
22 #include <QWidget> |
22 #include <QWidget> |
23 |
23 |
24 #include "binds.h" |
24 #include "binds.h" |
25 #include "mapContainer.h" |
25 #include "mapContainer.h" |
26 |
26 |
27 class GameCFGWidget; |
|
28 class QPushButton; |
27 class QPushButton; |
29 class QGroupBox; |
28 class QGroupBox; |
30 class QComboBox; |
29 class QComboBox; |
31 class QLabel; |
30 class QLabel; |
32 class QToolBox; |
31 class QToolBox; |
33 class QLineEdit; |
32 class QLineEdit; |
|
33 class QListWidget; |
|
34 class QCheckBox; |
|
35 class QSpinBox; |
|
36 class QTextEdit; |
|
37 class QRadioButton; |
|
38 class QTableView; |
|
39 |
|
40 class GameCFGWidget; |
34 class TeamSelWidget; |
41 class TeamSelWidget; |
35 class DemosList; |
42 class DemosList; |
36 class QListWidget; |
|
37 class QCheckBox; |
|
38 class SquareLabel; |
43 class SquareLabel; |
39 class About; |
44 class About; |
40 class QSpinBox; |
|
41 class FPSEdit; |
45 class FPSEdit; |
42 class HWNetUdpWidget; |
|
43 class QTextEdit; |
|
44 class HWChatWidget; |
46 class HWChatWidget; |
45 class SelWeaponWidget; |
47 class SelWeaponWidget; |
46 class HWNetServersWidget; |
|
47 class QRadioButton; |
|
48 |
48 |
49 class PageMain : public QWidget |
49 class PageMain : public QWidget |
50 { |
50 { |
51 Q_OBJECT |
51 Q_OBJECT |
52 |
52 |
158 |
158 |
159 public: |
159 public: |
160 PageNet(QWidget* parent = 0); |
160 PageNet(QWidget* parent = 0); |
161 |
161 |
162 QPushButton* BtnUpdateSList; |
162 QPushButton* BtnUpdateSList; |
163 HWNetServersWidget* netServersWidget; |
163 QTableView * tvServersList; |
164 QPushButton * BtnBack; |
164 QPushButton * BtnBack; |
165 QPushButton * BtnNetConnect; |
165 QPushButton * BtnNetConnect; |
166 QPushButton * BtnNetSvrStart; |
166 QPushButton * BtnNetSvrStart; |
167 QPushButton * BtnSpecifyServer; |
167 QPushButton * BtnSpecifyServer; |
168 QRadioButton * rbLocalGame; |
168 QRadioButton * rbLocalGame; |
177 |
177 |
178 public slots: |
178 public slots: |
179 void updateServersList(); |
179 void updateServersList(); |
180 |
180 |
181 signals: |
181 signals: |
182 void connectClicked(); |
182 void connectClicked(const QString & host, quint16 port); |
183 }; |
183 }; |
184 |
184 |
185 class PageNetServer : public QWidget |
185 class PageNetServer : public QWidget |
186 { |
186 { |
187 Q_OBJECT |
187 Q_OBJECT |