当前位置:网站首页>Add information on the left and add parts on the right of the status bar
Add information on the left and add parts on the right of the status bar
2022-06-25 01:00:00 【PureヾChan】
Example :
ui->statusBar->showMessage(" welcome ",3000);
QLabel* tag=new QLabel("www.QQ.com");
ui->statusBar->addPermanentWidget(tag);// Permanently add parts , On the right side of the status bar
showMessage The specified string will be displayed on the left side of the status bar as a prompt , And the second is to specify the time of display .addPermanentWidget Function is the add part function of the status bar , He will display the specified part on the right side of the status bar .
effect :

边栏推荐
- [distributed system design profile (2)] kV raft
- More pictures | explain the Nacos parameters in detail!
- 腾讯云国际云服务器网络访问丢包问题解决办法
- QT(35)-操作EXCEL-QXlsx-QAxObject
- 【微服务|Sentinel】实时监控|RT|吞吐量|并发数|QPS
- The drawableleft of the custom textview in kotlin is displayed in the center together with the text
- Tiktok wallpaper applet source code
- Outer screen and widescreen wasted? Harmonyos folding screen design specification teaches you to use it
- adb shell sendevent
- I'd like to ask how to open an account at industrial securities? Is it safe to open a stock account through the link
猜你喜欢

Network request -volley
![[microservices sentinel] sentinel quick start | building an image | starting the console](/img/88/a01c8120f6117f1b8e4463cf6f685f.png)
[microservices sentinel] sentinel quick start | building an image | starting the console

ros(25):rqt_ image_ View reports an error unable to load plugin for transport 'compressed', error string

Use of JMeter easynmon

生成订单30分钟未支付,则自动取消,该怎么实现?

Simulation questions and answers of the latest national fire facility operator (senior fire facility operator) in 2022

不重要的token可以提前停止计算!英伟达提出自适应token的高效视觉Transformer网络A-ViT,提高模型的吞吐量!...
WordPress add photo album function [advanced custom fields Pro custom fields plug-in series tutorial]

Databinding quick start (still using findviewbyid?)

无需显示屏的VNC Viewer远程连接树莓派
随机推荐
【微服务|Sentinel】实时监控|RT|吞吐量|并发数|QPS
智能合约安全审计入门篇 —— delegatecall (2)
[microservices sentinel] sentinel quick start | building an image | starting the console
Source code analysis the problem that fragments cannot be displayed in the custom ViewGroup
[Solved] Public key for mysql-community-xxx. rpm is not installed
iNFTnews | 国内NFT发展仅限于数字藏品吗?
Apk slimming compression experience
Infotnews | is the development of domestic NFT limited to digital collections?
51单片机多机通信
Garbage collection of C closure
2021-11-07
adb shell getevent
More pictures | explain the Nacos parameters in detail!
Registration method of native method in JNI
2022R1快开门式压力容器操作考题及答案
How to use promise Race() and promise any() ?
Basic summary of MySQL database knowledge
[distributed system design profile (2)] kV raft
The basic principle and application of iterator and enhanced for
Previous basic review