QTfrontend/pages.h
changeset 646 ed610c2cd0a4
parent 636 dc93ac775bb9
child 647 798c7dbf8bb8
equal deleted inserted replaced
645:c71fe8b942ee 646:ed610c2cd0a4
   162 	QPushButton *BtnNetConnect;
   162 	QPushButton *BtnNetConnect;
   163 	QPushButton* BtnNetSvrStart;
   163 	QPushButton* BtnNetSvrStart;
   164 	QGroupBox *NNGroupBox;
   164 	QGroupBox *NNGroupBox;
   165 	QLabel *labelNN;
   165 	QLabel *labelNN;
   166 	QLineEdit *editNetNick;
   166 	QLineEdit *editNetNick;
   167 	QLabel *labelIP;
       
   168 	QLineEdit * editIP;
       
   169 	QRadioButton * rbLocalGame;
   167 	QRadioButton * rbLocalGame;
   170 	QRadioButton * rbInternetGame;
   168 	QRadioButton * rbInternetGame;
   171 
   169 
   172 private:
   170 private:
   173 	QGroupBox * ConnGroupBox;
   171 	QGroupBox * ConnGroupBox;
   174 	QGridLayout * GBClayout;
   172 	QGridLayout * GBClayout;
   175 
   173 
       
   174 private slots:
       
   175 	void slotConnect();
       
   176 
   176 public slots:
   177 public slots:
   177 	void changeServersList();
   178 	void updateServersList();
       
   179 
       
   180 signals:
       
   181 	void connectClicked();
       
   182 };
       
   183 
       
   184 class PageNetServer : public QWidget
       
   185 {
       
   186 	Q_OBJECT
       
   187 
       
   188 public:
       
   189 	PageNetServer(QWidget* parent = 0);
       
   190 
       
   191 	QPushButton *BtnBack;
       
   192 	QPushButton *BtnStart;
   178 };
   193 };
   179 
   194 
   180 class PageNetGame : public QWidget
   195 class PageNetGame : public QWidget
   181 {
   196 {
   182 	Q_OBJECT
   197 	Q_OBJECT