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_challenge.h
Go to the documentation of this file.
1
6
7#ifndef DLG_FORGOTPASSWORDCHALLENGE_H
8#define DLG_FORGOTPASSWORDCHALLENGE_H
9
10#include <QComboBox>
11#include <QDialog>
12#include <QLineEdit>
13
14class QLabel;
15class QPushButton;
16class QCheckBox;
17
18class DlgForgotPasswordChallenge : public QDialog
19{
20 Q_OBJECT
21public:
22 explicit DlgForgotPasswordChallenge(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 }
35 [[nodiscard]] QString getEmail() const
36 {
37 return emailEdit->text();
38 }
39private slots:
40 void actOk();
41
42private:
45};
46
47#endif
QString getHost() const
Definition dlg_forgot_password_challenge.h:23
void actOk()
Definition dlg_forgot_password_challenge.cpp:92
QLineEdit * portEdit
Definition dlg_forgot_password_challenge.h:44
int getPort() const
Definition dlg_forgot_password_challenge.h:27
QLabel * playernameLabel
Definition dlg_forgot_password_challenge.h:43
QLineEdit * emailEdit
Definition dlg_forgot_password_challenge.h:44
QLabel * infoLabel
Definition dlg_forgot_password_challenge.h:43
QString getEmail() const
Definition dlg_forgot_password_challenge.h:35
QLabel * emailLabel
Definition dlg_forgot_password_challenge.h:43
QLineEdit * playernameEdit
Definition dlg_forgot_password_challenge.h:44
DlgForgotPasswordChallenge(QWidget *parent=nullptr)
Definition dlg_forgot_password_challenge.cpp:12
QLabel * hostLabel
Definition dlg_forgot_password_challenge.h:43
QLineEdit * hostEdit
Definition dlg_forgot_password_challenge.h:44
QLabel * portLabel
Definition dlg_forgot_password_challenge.h:43
QString getPlayerName() const
Definition dlg_forgot_password_challenge.h:31