当前位置:网站首页>QT setting Icon
QT setting Icon
2022-07-28 01:37:00 【AdleyTales】
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
// add to Qt Resource file usage format : + Prefix + file name
ui->actionnew->setIcon(QIcon(":Image/images/home.png"));
ui->actionopen->setIcon(QIcon(":Image/images/new.png"));
}
MainWindow::~MainWindow()
{
delete ui;
}
边栏推荐
- 自定义事件
- spreadsheet 导出 excel表格
- 在一个字符串里面统计给定字符串的个数
- ABAP CDs table function introduction and examples
- 如何让数字零售承接起流量时代和留量时代的发展重任,或许才是关键所在
- 【游戏】任天堂Nintendo Switch超详细购买/使用指南以及注意事项(根据自己使用持续更新中...)
- BAT大厂测试架构师如何解读测试平台的各种争议
- 内容bypass分享
- Learn how Baidu PaddlePaddle easydl realizes automatic animal recognition in aquarium
- Distributed | how to import data into dble quickly through the split function of dble
猜你喜欢

Leetcode 2341. How many pairs can an array form

ABAP CDs table function introduction and examples

伦敦银开盘时间知多少

Codeforces暑期训练周报(7.14~7.20)

Can anime characters become "real people"? Paddegan helps you find the TA of "tear man"

“蔚来杯“2022牛客暑期多校训练营3 补题题解(A、C、J)

Leetcode 2351. the first letter that appears twice

EWM receiving ECC delivery note verification logic problem

二维数组相关知识

Let's move forward together, the 10th anniversary of Google play!
随机推荐
测试人员需要了解的软件流程
Tool function: pay the non empty field value in one workspace to the same field in another workspace
Thoroughly understand kubernetes scheduling framework and plug-ins
C language main function transfer parameters
C语言main函数传递参数
URDF 集成 Gazebo
现货白银如何计算盈亏
Cesium add dynamic pop-up
Shenzhen Huaqiang announced that it plans to invest no more than 20million yuan in BYD semiconductor
EWM receiving ECC delivery note verification logic problem
对迁移学习中域适应的理解和3种技术的介绍
面试题 01.09. 字符串轮转
Three basic teaching
ICML2022 | 在线决策Transformer
软件测试面试题:你们的性能测试需求哪里来?
"Wei Lai Cup" 2022 Niuke summer multi school training camp 3 supplementary problem solution (a, C, J)
Cesium add light sweep
The cooperation between starfish OS and metabell is just the beginning
Briefly understand namenode and datanode
二维数组相关知识