MyWidget::MyWidget(QWidget *parent)
this->setWindowTitle("QQ");
this->setWindowIcon(QIcon("E:\\qq ls\\pictrue\\pictrue\\qq.png"));
this->setStyleSheet("background-color:white");
QMovie *mv = new QMovie(this);
mv->setFileName("E:\\qq ls\\pictrue\\pictrue\\qq2.gif");
QLabel *lab2 = new QLabel(this);
lab2->setScaledContents(true);
QLabel *lab1 = new QLabel(this);
lab1->setPixmap(QPixmap("E:\\qq ls\\pictrue\\pictrue\\6.png"));
lab1->setStyleSheet("background-color:transparent");
lab1->setScaledContents(true);
QLabel *lab3 =new QLabel(this);
lab3->setPixmap(QPixmap("E:\\qq ls\\pictrue\\pictrue\\4.png"));
lab3->setScaledContents(true);
QLabel *lab4 =new QLabel(this);
lab4->setPixmap(QPixmap("E:\\qq ls\\pictrue\\pictrue\\5.png"));
lab4->setScaledContents(true);
QLineEdit *ed1 = new QLineEdit(this);
ed1->setPlaceholderText("账号");
QLineEdit *ed2 = new QLineEdit(this);
ed2->setPlaceholderText("密码");
ed2->setEchoMode(QLineEdit::Password);
QPushButton *btn = new QPushButton("登 录",this);
btn->setStyleSheet("background-color:rgb(0,190,255);border-radius:10px;color:white");
QMovie *mv1 =new QMovie(this);
mv1->setFileName("E:\\qq ls\\pictrue\\pictrue\\7.gif");
QLabel *lab5 = new QLabel(this);
lab5->setStyleSheet("border-radius:40");
lab5->setScaledContents(true);
QCheckBox *cb1 = new QCheckBox(this);
QLabel *lab6 =new QLabel("自动登录",this);
lab6->setStyleSheet("color:grey");
QCheckBox *cb2 = new QCheckBox(this);
QLabel *lab7 =new QLabel("记住密码",this);
lab7->setStyleSheet("color:grey");
QLabel *lab8 =new QLabel("找回密码",this);
lab8->setStyleSheet("background-color:transparent;color:grey");
QLabel *lab9 =new QLabel("注册账号",this);
lab9->setStyleSheet("background-color:transparent;color:grey");
QLabel *lab10 = new QLabel(this);
lab10->setPixmap(QPixmap("E:\\qq ls\\pictrue\\pictrue\\10.png"));
lab10->setStyleSheet("background-color:transparent");
lab10->setScaledContents(true);

