You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
620 B
40 lines
620 B
#ifndef RESETMESSAGE_H
|
|
#define RESETMESSAGE_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QLabel>
|
|
#include <QDebug>
|
|
#include <QString>
|
|
#include <QMessageBox>
|
|
#include <QSqlDatabase>
|
|
#include <QSqlQuery>
|
|
|
|
namespace Ui {
|
|
class ResetMessage;
|
|
}
|
|
|
|
class ResetMessage : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ResetMessage(QWidget *parent = nullptr);
|
|
~ResetMessage();
|
|
void getid(QString str);
|
|
protected:
|
|
|
|
|
|
private:
|
|
Ui::ResetMessage *ui;
|
|
bool verify(int x);
|
|
void sign_in();
|
|
QLabel *bg;
|
|
QSqlDatabase db;
|
|
QString id;
|
|
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
};
|
|
|
|
#endif // RESETMESSAGE_H
|