#include "widget.h"
Widget::Widget(QWidget *parent)
: QWidget(parent)
{
this->setFixedSize(900,600);
this->setWindowTitle("QQ");
this->setWindowIcon(QIcon("C:\\Users\\huahua\\Documents\\Tencent Files\\2964248997\\FileRecv\\icon_z8w8m9orsdk\\QQ.png"));
//this->setStyleSheet("background-color:skyblue");
this->move(900,500);
QPushButton *btn1=new QPushButton(QIcon("C:\\Users\\huahua\\Documents\\Tencent Files\\2964248997\\FileRecv\\icon_z8w8m9orsdk\\denglu_1.png"),"登录",this);
btn1->resize(100,30);
btn1->move(600,500);
QPushButton *btn2=new QPushButton(QIcon("C:\\Users\\huahua\\Documents\\Tencent Files\\2964248997\\FileRecv\\icon_z8w8m9orsdk\\quxiao.png"),"取消",this);
btn2->resize(100,30);
btn2->move(750,500);
QLabel *lab1=new QLabel(this);
lab1->setPixmap(QPixmap("C:\\Users\\huahua\\Downloads\\24lywmlh.png"));
lab1->resize(900,300);
QLabel *lab2=new QLabel(this);
lab2->setPixmap(QPixmap("C:\\Users\\huahua\\Documents\\Tencent Files\\2964248997\\FileRecv\\icon_z8w8m9orsdk\\denglu.png"));
lab2->resize(40,40);
lab2->move(230,330);
lab2->setScaledContents(true);
QLabel *lab3=new QLabel(this);
lab3->setPixmap(QPixmap("C:\\Users\\huahua\\Documents\\Tencent Files\\2964248997\\FileRecv\\icon_z8w8m9orsdk\\denglumima.png"));
lab3->resize(40,40);
lab3->move(230,400);
lab3->setScaledContents(true);
QLineEdit *lin1=new QLineEdit(this);
lin1->resize(240,40);
lin1->move(280,330);
lin1->setStyleSheet("border:none;");
lin1->setPlaceholderText("QQ号/邮箱/手机号");
QLineEdit *lin2=new QLineEdit(this);
lin2->resize(240,40);
lin2->move(280,400);
lin2->setStyleSheet("border:none;");
lin2->setPlaceholderText("密码");
lin2->setEchoMode(QLineEdit::Password);
}
Widget::~Widget()
{
}