#include "my.h"
#include "ui_my.h"
my::my(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::my)
{
ui->setupUi(this);
this->setFixedSize(600,400);
this->setWindowIcon(QIcon("F:\\hqyj\\QT\\icon\\icon_z8w8m9orsdk\\xx.png"));
this->setWindowTitle("xx");
this->setWindowOpacity(1);
this->setStyleSheet("background-color: white");
QLabel* label = new QLabel(this);
label->setPixmap(QPixmap("F:\\hqyj\\QT\\icon\\icon\\11.jpg"));
label->resize(600,150);
label->setScaledContents(true);
QLabel* label1 = new QLabel(this);
label1->setPixmap(QPixmap("F:\\hqyj\\QT\\icon\\icon\\logo1.webp"));
label1->resize(50,50);
label1->setScaledContents(true);
label1->move(5,5);
QLabel* label2 = new QLabel(this);
label2->setPixmap(QPixmap("F:\\hqyj\\QT\\icon\\icon_z8w8m9orsdk\\denglu.png"));
label2->resize(20,20);
label2->setScaledContents(true);
label2->move(150,210);
QLabel* label3 = new QLabel(this);
label3->setPixmap(QPixmap("F:\\hqyj\\QT\\icon\\icon_z8w8m9orsdk\\denglumima.png"));
label3->resize(20,20);
label3->setScaledContents(true);
label3->move(150,260);
QLabel* label4 = new QLabel("找回密码",this);
label4->resize(100,20);
label4->move(450,300);
label4->setStyleSheet("boder:none;");
QLineEdit* edit = new QLineEdit(this);
edit->move(180,210);
edit->setEchoMode(QLineEdit::Normal);
edit->resize(300,20);
edit->setPlaceholderText("QQ号码/手机/邮箱");
edit->setStyleSheet("border:none;border-bottom: 1px solid black;");
QLineEdit* edit1 = new QLineEdit(this);
edit1->move(180,260);
edit1->setEchoMode(QLineEdit::PasswordEchoOnEdit);
edit1->resize(edit->size());
edit1->setPlaceholderText("密码");
edit1->setStyleSheet("border:none;border-bottom: 1px solid black;");
QCheckBox* box = new QCheckBox(this);
box->move(150,300);
box->resize(100,20);
box->setText("自动登录");
QCheckBox* box1 = new QCheckBox(this);
box1->move(300,300);
box1->resize(100,20);
box1->setText("记住密码");
QPushButton* button = new QPushButton("登录",this);
button->move(150,330);
button->resize(350,30);
button->setStyleSheet("border-radius: 5px;background-color:skyblue;");
}
my::~my()
{
delete ui;
}