Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
dlg_forgot_password_request.h
Go to the documentation of this file.
1
6
7#ifndef DLG_FORGOTPASSWORDREQUEST_H
8#define DLG_FORGOTPASSWORDREQUEST_H
9
10#include <QComboBox>
11#include <QDialog>
12#include <QLineEdit>
13
14class QLabel;
15class QPushButton;
16class QCheckBox;
17
18class DlgForgotPasswordRequest : public QDialog
19{
20 Q_OBJECT
21public:
22 explicit DlgForgotPasswordRequest(QWidget *parent = nullptr);
23 [[nodiscard]] QString getHost() const
24 {
25 return hostEdit->text();
26 }
27 [[nodiscard]] int getPort() const
28 {
29 return portEdit->text().toInt();
30 }
31 [[nodiscard]] QString getPlayerName() const
32 {
33 return playernameEdit->text();
34 }
35private slots:
36 void actOk();
37
38private:
41};
42
43#endif
QLabel * infoLabel
Definition dlg_forgot_password_request.h:39
QLabel * playernameLabel
Definition dlg_forgot_password_request.h:39
QLabel * portLabel
Definition dlg_forgot_password_request.h:39
QString getHost() const
Definition dlg_forgot_password_request.h:23
void actOk()
Definition dlg_forgot_password_request.cpp:69
int getPort() const
Definition dlg_forgot_password_request.h:27
QLineEdit * portEdit
Definition dlg_forgot_password_request.h:40
QLineEdit * playernameEdit
Definition dlg_forgot_password_request.h:40
QString getPlayerName() const
Definition dlg_forgot_password_request.h:31
DlgForgotPasswordRequest(QWidget *parent=nullptr)
Definition dlg_forgot_password_request.cpp:12
QLabel * hostLabel
Definition dlg_forgot_password_request.h:39
QLineEdit * hostEdit
Definition dlg_forgot_password_request.h:40