#include "LoginUI_widget.h"
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QLabel>
#include <QLayout>
#include <QIcon>
#include <QPushButton>
#include <QtNetwork/QSslSocket>
#include <QtNetwork/QHostInfo>
#include <QRandomGenerator>
#include <QMessageBox>
#include <QDebug>
#include <QDateTime>
#include <QTimer>
QByteArray username = "13780450560@163.com";
QByteArray password = "TNRPSQIGYFZQUQJD";
QByteArray MailSucced="354 End data with <CR><LF>.<CR><LF>\r\n";
LoginUI_Widget::LoginUI_Widget(QWidget *parent ) :QWidget(parent) {
int VerificationCode;
timer=new QTimer(this);
int TimerI;
//登录页面
QIcon Icon(":/Icon/Login.ico");
setWindowIcon(Icon);
setWindowTitle("Login page");
resize(300, 400);
setMinimumSize(300,400);
setMaximumSize(350,450);
setWindowFlags(windowFlags() & ~Qt::WindowCloseButtonHint);
//预定义
BlankLabel=new QLabel(" ");
//行
//行1
hBoxLayout_User_One = new QHBoxLayout();
UserNameLabel=new QLabel("UserName:");
UserNameEdit=new QLineEdit();
UserNameEdit->setPalette(Qt::gray);
//行2
hBoxLayout_User_Two = new QHBoxLayout();
UserPassLabel=new QLabel("UserPassword");
UserPassEdit=new QLineEdit();
UserPassEdit->setPalette(Qt::gray);
//行3
hBoxLayou
05-07
3389
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-25
2140
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-07
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交