33 lines
537 B
C
33 lines
537 B
C
|
#ifndef DIALOG_ROOTFUNTION_H
|
||
|
#define DIALOG_ROOTFUNTION_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
namespace Ui {
|
||
|
class Dialog_rootFuntion;
|
||
|
}
|
||
|
|
||
|
class Dialog_rootFuntion : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit Dialog_rootFuntion(bool resetPassword, QWidget *parent = nullptr);
|
||
|
~Dialog_rootFuntion();
|
||
|
|
||
|
QString getAccount();
|
||
|
QString getPassword();
|
||
|
|
||
|
private slots:
|
||
|
void on_pbtn_ok_clicked();
|
||
|
|
||
|
void on_pbtn_cancel_clicked();
|
||
|
|
||
|
private:
|
||
|
Ui::Dialog_rootFuntion *ui;
|
||
|
|
||
|
bool m_resetPassword;
|
||
|
};
|
||
|
|
||
|
#endif // DIALOG_ROOTFUNTION_H
|