当前位置:网站首页>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;
}
边栏推荐
- 二维数组相关知识
- 20 bad habits of bad programmers
- Spreadsheet export excel table
- Transplant QT system for i.mx6ull development board - cross compile QT code
- 3年经验想拿20K,居然面了半个月都没拿到?
- Realize ABCD letter increment
- Cesium add dynamic pop-up
- PHP利用某些函数bypass waf探讨
- Qlib教程——基于源码(二)本地数据保存与加载
- Develop plug-ins for the recording function of flutter
猜你喜欢

开发 Flutter 录音功能的插件

Unity shader introduction Essentials - basic texture

Leetcode 2341. How many pairs can an array form

Codeforces暑期训练周报(7.21~7.27)

Redefine analysis - release of eventbridge real-time event analysis platform

LeetCode 2347. 最好的扑克手牌

ABAP CDs table function introduction and examples

数仓搭建——DWS层

Login function implementation

画刷和画笔
随机推荐
Wu xiongang sent an internal letter: arm's allegations are unwarranted, and no damage is allowed to the existing achievements!
idea常用的快捷键汇总
Thoroughly understand kubernetes scheduling framework and plug-ins
20 bad habits of bad programmers
还在用WIFI你就OUT了:LI-FI更牛!!!
Software test interview question: think_ What is the function of time?
The total investment is nearly 1.6 billion yuan! Qianzhao optoelectronics VCSEL and high-end LED chip projects officially started
逻辑回归原理
Jingfang Technology: ASML, a lithography machine manufacturer, is one of the main customers of Anterion company, which participated in the merger and acquisition of the company
“蔚来杯“2022牛客暑期多校训练营3 补题题解(A、C、J)
Gazebo control example
Lua快速上手
梳理 SQL 性能优化,收藏经典!
同心向前,Google Play 十周年啦!
Three basic teaching
《安富莱嵌入式周报》第275期:2022.07.18--2022.07.24
LeetCode 2351. 第一个出现两次的字母
Codeforces暑期训练周报(7.21~7.27)
Introduction and configuration of vsftpd
[C language] file operation