当前位置:网站首页>qt 设置图标
qt 设置图标
2022-07-27 23:32:00 【AdleyTales】
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
// 添加Qt资源文件使用格式 : + 前缀 + 文件名
ui->actionnew->setIcon(QIcon(":Image/images/home.png"));
ui->actionopen->setIcon(QIcon(":Image/images/new.png"));
}
MainWindow::~MainWindow()
{
delete ui;
}
边栏推荐
- Three basic teaching
- Sort out SQL performance optimization and collect classics!
- JUC concurrent programming learning
- 8000 word explanation of OBSA principle and application practice
- Shaanxi Yuanjie semiconductor, a laser chip manufacturer, was invested by 8 investment institutions including GF Securities and CITIC Securities
- Gazebo 控制实例
- 氧气温湿度模组
- Rviz uses arbotix to control robot motion
- Spreadsheet export excel table
- Nokia announces cooperation with Broadcom to develop 5g chip
猜你喜欢

Codeforces summer training weekly (7.21~7.27)

BAT大厂测试架构师如何解读测试平台的各种争议
![[game] Nintendo Nintendo switch ultra detailed purchase / use guide and precautions (continuous update according to your own use...)](/img/7e/9e0e17e2ea8b8679ad7e1750a8b6d1.png)
[game] Nintendo Nintendo switch ultra detailed purchase / use guide and precautions (continuous update according to your own use...)

"Wei Lai Cup" 2022 Niuke summer multi school training camp 3 supplementary problem solution (a, C, J)

LeetCode 2347. 最好的扑克手牌

BSP视频教程第21期:轻松一键实现串口DMA不定长收发,支持裸机和RTOS,含MDK和IAR两种玩法,比STM32CubeMX还方便(2022-07-24)

Oxygen temperature and humidity module

Tool function: pay the non empty field value in one workspace to the same field in another workspace

How to calculate the profit and loss of spot Silver

Knowledge of two-dimensional array
随机推荐
Kibana6.2.4 version update x-pack certification
Interpretation of new features | the restriction of MySQL 8.0 on gtid is lifted
PHP利用某些函数bypass waf探讨
3000 words and 11 pictures hard core popular science: what is edge computing? What are the connections and differences with cloud computing?
Software test interview question: think_ What is the function of time?
spreadsheet 导出 excel表格
How to make digital retail undertake the development task of the era of traffic and retention may be the key
Opengauss active / standby architecture works with keeplive
In April, global smartphone shipments fell 41% year-on-year, and Huawei surpassed Samsung to become the world's first for the first time
Software test interview question: how to prepare test data? How to prevent data pollution?
Cesium add dynamic pop-up
Fabric2.4.4 version building process (complete process)
String
Tool function: pay the non empty field value in one workspace to the same field in another workspace
软件测试面试题:如何准备测试数据?如何防止数据污染?
Basic learning of cesium
Codeforces summer training weekly (7.21~7.27)
Lua get started quickly
现货白银如何计算盈亏
Software process that testers need to know