#ifndef DLG_EDITPASSWORD_H #define DLG_EDITPASSWORD_H #include #include #include class QLabel; class QPushButton; class QCheckBox; class DlgEditPassword : public QDialog { Q_OBJECT public: 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