servatrice/cockatrice/src/dlg_creategame.h
Max-Wilhelm Bruker 77f5ec29eb some gui code
2009-11-16 17:18:13 +01:00

28 lines
582 B
C++

#ifndef DLG_CREATEGAME_H
#define DLG_CREATEGAME_H
#include <QDialog>
#include "client.h"
class QLabel;
class QLineEdit;
class QPushButton;
class QCheckBox;
class DlgCreateGame : public QDialog {
Q_OBJECT
public:
DlgCreateGame(Client *_client, QWidget *parent = 0);
private slots:
void actOK();
void checkResponse(ResponseCode response);
private:
Client *client;
QLabel *descriptionLabel, *passwordLabel, *maxPlayersLabel;
QLineEdit *descriptionEdit, *passwordEdit, *maxPlayersEdit;
QCheckBox *spectatorsAllowedCheckBox;
QPushButton *okButton, *cancelButton;
};
#endif