mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
28 lines
544 B
C++
28 lines
544 B
C++
#ifndef DLG_CREATEGAME_H
|
|
#define DLG_CREATEGAME_H
|
|
|
|
#include <QDialog>
|
|
#include "client.h"
|
|
|
|
class QLabel;
|
|
class QLineEdit;
|
|
class QPushButton;
|
|
|
|
class DlgCreateGame : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
DlgCreateGame(Client *_client, QWidget *parent = 0);
|
|
private slots:
|
|
void actOK();
|
|
void checkResponse(ServerResponse *response);
|
|
private:
|
|
Client *client;
|
|
int msgid;
|
|
|
|
QLabel *descriptionLabel, *passwordLabel, *maxPlayersLabel;
|
|
QLineEdit *descriptionEdit, *passwordEdit, *maxPlayersEdit;
|
|
QPushButton *okButton, *cancelButton;
|
|
};
|
|
|
|
#endif
|
|
|