怎樣做醫(yī)療保健網(wǎng)站網(wǎng)絡(luò)營銷常用的工具和方法
一、思維導(dǎo)圖
二、練習(xí)
自由發(fā)揮登錄窗口的應(yīng)用場(chǎng)景,實(shí)現(xiàn)一個(gè)登錄窗口界面。(不要使用課堂上的圖片和代碼,自己發(fā)揮,有利于后面項(xiàng)目的完成)
要求:
1. 需要使用Ui界面文件進(jìn)行界面設(shè)計(jì)
2. ui界面上的組件相關(guān)設(shè)置,通過代碼實(shí)現(xiàn)
3. 需要添加適當(dāng)?shù)膭?dòng)圖
#include "widget.h"
#include "ui_widget.h"Widget::Widget(QWidget *parent): QWidget(parent), ui(new Ui::Widget)
{ui->setupUi(this);this->setWindowTitle("SYEAM");this->setWindowIcon(QIcon("C:/Users/考拉/Downloads/bdf48b5198c8417da0e4fef6b72c5657.png"));//設(shè)置二維碼ui->CQ->setPixmap(QPixmap("C:/Users/考拉/Downloads/bing_generated_qrcode.png"));ui->CQ->setScaledContents(true);ui->label_3->setPixmap(QPixmap("C:/Users/考拉/Downloads/bdf48b5198c8417da0e4fef6b72c5657.png"));ui->label_3->setScaledContents(true);QMovie *mv = new QMovie("C:/Users/考拉/Downloads/giphy (2).gif");ui->label_5->setMovie(mv);mv->start();ui->label_5->setScaledContents(true);
}Widget::~Widget()
{delete ui;
}
?
SYEAM 2024-03-21 20-05-45