mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
24 lines
480 B
C++
24 lines
480 B
C++
#ifndef DLG_CONNECT_H
|
|
#define DLG_CONNECT_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QLabel;
|
|
class QLineEdit;
|
|
class QPushButton;
|
|
|
|
class DlgConnect : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
DlgConnect(QWidget *parent = 0);
|
|
QString getHost();
|
|
int getPort();
|
|
QString getPlayerName();
|
|
QString getPassword();
|
|
private:
|
|
QLabel *hostLabel, *portLabel, *playernameLabel, *passwordLabel;
|
|
QLineEdit *hostEdit, *portEdit, *playernameEdit, *passwordEdit;
|
|
QPushButton *okButton, *cancelButton;
|
|
};
|
|
|
|
#endif
|