mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 04:53:54 -07:00
Profile management
This commit is contained in:
parent
31890450dc
commit
7f5f290c93
21 changed files with 883 additions and 18 deletions
26
cockatrice/src/dlg_edit_password.h
Normal file
26
cockatrice/src/dlg_edit_password.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef DLG_EDITPASSWORD_H
|
||||
#define DLG_EDITPASSWORD_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QLineEdit>
|
||||
#include <QComboBox>
|
||||
|
||||
class QLabel;
|
||||
class QPushButton;
|
||||
class QCheckBox;
|
||||
|
||||
class DlgEditPassword : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
DlgEditPassword(QWidget *parent = 0);
|
||||
QString getOldPassword() const { return oldPasswordEdit->text(); }
|
||||
QString getNewPassword() const { return newPasswordEdit->text(); }
|
||||
private slots:
|
||||
void actOk();
|
||||
void actCancel();
|
||||
private:
|
||||
QLabel *oldPasswordLabel, *newPasswordLabel;
|
||||
QLineEdit *oldPasswordEdit, *newPasswordEdit;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue