当前位置:网站首页>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 :

边栏推荐
- 无需显示屏的VNC Viewer远程连接树莓派
- Use coordinatorlayout+appbarlayout+collapsingtoolbarlayout to create a collapsed status bar
- adb shell getevent
- Can communication experiment between C and C
- [distributed system design profile (2)] kV raft
- D manual destruction may violate memory security
- Unimportant tokens can be stopped in advance! NVIDIA proposes an efficient visual transformer network a-vit with adaptive token to improve the throughput of the model
- C# 闭包的垃圾回收
- ServerSocket and socket connection
- Wallpaper applet wechat applet
猜你喜欢

传输层 以字节为单位的滑动窗口技术

Go crawler framework -colly actual combat (II) -- Douban top250 crawling

ros(24):error: invalid initialization of reference of type ‘xx’ from expression of type ‘xx’

A small program written this week

2021-11-07

Use of JMeter easynmon

The interview questions and answers for the high-frequency software test of Dachang help you prepare for the golden nine silver ten

2022r1 quick opening pressure vessel operation test questions and answers
5-minute NLP: summary of 3 pre training libraries for rapid realization of NER

Applet opening traffic master
随机推荐
The problem of multiple callback of video ads stimulated by applets (offcolse problem)
Realization of MNIST handwritten numeral recognition
redis + lua实现分布式接口限流实现方案
108页(4万字)未来公寓智能化设计平台项目方案建议书2022版
2022R1快开门式压力容器操作考题及答案
@mysql
Kubernetes 架构核心组件工作原理解析
大厂高频软件测试面试题和答案都帮你准备好啦,备战金九银十
Registration method of native method in JNI
ros(24):error: invalid initialization of reference of type ‘xx’ from expression of type ‘xx’
移动安全工具-jar
Input series
VNC viewer remote connection raspberry pie without display
[redis realizes seckill business ③] specific implementation of optimistic lock for oversold problem
Apk slimming compression experience
Custom animation (simulated win10 loading animation)
Infotnews | is the development of domestic NFT limited to digital collections?
Meta & Berkeley proposed a universal multi-scale visual transformer based on pooled self attention mechanism. The classification accuracy in Imagenet reached 88.8%! Open source
Xcode preview displays a bug in the content of the list view and its solution
Qiniu cloud uploads video to get the first frame of video