//下拉框 ui->comboBox->addItem("电脑"); ui->comboBox->addItem("打印机"); ui->comboBox->addItem("网络设备"); ui->comboBox->addItem("空调"); ui->comboBox->setCurrentIndex(2); if (ui->comboBox->maxCount()>0){ ui->comboBox->setCurrentIndex(0); } //label显示gif QMovie * movie=new QMovie(":/gif/image/logo.gif"); ui->labMovie->setMovie(movie); movie->start();
QT LABEL 显示GIF
2020-10-28 14:13:50
阅读 2721 次
评论 0 条
发表评论