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.

36 lines
618 B

#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H
#include <QDialog>
#include "userdata.h"
#include "structs.h"
namespace Ui {
class LoginDialog;
}
class QNetworkReply;
class LoginDialog : public QDialog
{
Q_OBJECT
public:
explicit LoginDialog(QWidget *parent = nullptr);
~LoginDialog();
UserInfo GetUserInfo(){return m_UserInfo;}
private:
//加载验证码
void GetVerificationCode();
private slots:
void on_pushButton_cancle_clicked();
void on_pushButton_login_clicked();
private:
Ui::LoginDialog *ui;
UserData m_UserData;
UserInfo m_UserInfo;
};
#endif // LOGINDIALOG_H