mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
[Move refactor] Move dialogs to interface/widgets/ (#6234)
* Move dialogs/ underneath interface/widgets since QDialog inherits from QWidget. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
b8983f27ab
commit
474c1d0d89
66 changed files with 60 additions and 60 deletions
39
cockatrice/src/interface/widgets/dialogs/dlg_edit_password.h
Normal file
39
cockatrice/src/interface/widgets/dialogs/dlg_edit_password.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/**
|
||||
* @file dlg_edit_password.h
|
||||
* @ingroup AccountDialogs
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
|
||||
#ifndef DLG_EDITPASSWORD_H
|
||||
#define DLG_EDITPASSWORD_H
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDialog>
|
||||
#include <QLineEdit>
|
||||
|
||||
class QLabel;
|
||||
class QPushButton;
|
||||
class QCheckBox;
|
||||
|
||||
class DlgEditPassword : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DlgEditPassword(QWidget *parent = nullptr);
|
||||
QString getOldPassword() const
|
||||
{
|
||||
return oldPasswordEdit->text();
|
||||
}
|
||||
QString getNewPassword() const
|
||||
{
|
||||
return newPasswordEdit->text();
|
||||
}
|
||||
private slots:
|
||||
void actOk();
|
||||
|
||||
private:
|
||||
QLabel *oldPasswordLabel, *newPasswordLabel, *newPasswordLabel2;
|
||||
QLineEdit *oldPasswordEdit, *newPasswordEdit, *newPasswordEdit2;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue