#include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::Widget)
{
ui->setupUi(this);
//-----------窗口相关设置
this->setWindowTitle("FS快聊");
this->setWindowIcon(QIcon(":/my_pictrue/46cb5829f96b447f11177ed63d04f49ea846d1195032-NZliBl_fw658.webp"));
// ui->logolabel->setPixmap(QPixmap(":/my_pictrue/640.gif"));
// ui->logolabel->setScaledContents(true);
QMovie *mv = new QMovie(":/my_pictrue/640.gif");
ui->logolabel->setMovie(mv);
mv->start();
ui->logolabel->setScaledContents(true);
//账户密码标签相关设置
ui->zh_label->setPixmap(QPixmap(":/my_pictrue/5815da557ea53_610.jpg"));
ui->zh_label->setScaledContents(true);
ui->mm_label->setPixmap(QPixmap(":/my_pictrue/300.jpg"));
ui->mm_label->setScaledContents(true);
//账户密码行编辑器
ui->zh_lineEdit->setPlaceholderText("手机号/QQ号");
ui->mm_lineEdit->setEchoMode(QLineEdit::Password);
ui->mm_lineEdit->setPlaceholderText("密码");
}
Widget::~Widget()
{
delete ui;
}