* add more info to dialogs adds descriptive strings to the register, password reset request, password reset challenge request, password reset token dialogs adds tip to set manager to use ctrl a to select all sets change sizes in set manager moves default server info to settings instead of having it hardcoded in each dialog * make sets manager smaller * clangify * cleanup
41 lines
829 B
C++
41 lines
829 B
C++
#ifndef DLG_FORGOTPASSWORDCHALLENGE_H
|
|
#define DLG_FORGOTPASSWORDCHALLENGE_H
|
|
|
|
#include <QComboBox>
|
|
#include <QDialog>
|
|
#include <QLineEdit>
|
|
|
|
class QLabel;
|
|
class QPushButton;
|
|
class QCheckBox;
|
|
|
|
class DlgForgotPasswordChallenge : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
DlgForgotPasswordChallenge(QWidget *parent = nullptr);
|
|
QString getHost() const
|
|
{
|
|
return hostEdit->text();
|
|
}
|
|
int getPort() const
|
|
{
|
|
return portEdit->text().toInt();
|
|
}
|
|
QString getPlayerName() const
|
|
{
|
|
return playernameEdit->text();
|
|
}
|
|
QString getEmail() const
|
|
{
|
|
return emailEdit->text();
|
|
}
|
|
private slots:
|
|
void actOk();
|
|
|
|
private:
|
|
QLabel *infoLabel, *hostLabel, *portLabel, *playernameLabel, *emailLabel;
|
|
QLineEdit *hostEdit, *portEdit, *playernameEdit, *emailEdit;
|
|
};
|
|
|
|
#endif
|