当前位置:网站首页>Main window in QT application
Main window in QT application
2022-07-05 01:20:00 【A raindrop pouring into the sea】
1. Toolbar of the main window in the application
The main window is with the user Top level window for long-term interaction
programmatic most Functions are directly provided by the main window
The main window is usually The first window displayed after the application starts
The whole program consists of a main window and Multiple dialog boxes form
Qt The main window in :
Qt The concept of main window is directly supported in the development platform
QMainWindow yes Qt The base class of the main window in
QMainWindow Inherited from QWidget Is a container type component
QMainWindow The secret encapsulated in :
QMainWindow Component layout in :
stay Qt Provides menu related class components :
stay Qt Create a menu in the main window :
QMenubar* mb = menuBar(); //member function
QMenu* menu = new QMenu("File(&F)");
QAction* action = new QAction("New", NULL);
menu->addAction(action);
mb->addMenu(menu);
Shortcut key settings :
action->setShortcut(QKeySequence(KEY));
QKeySeauence - Qt Classes related to shortcut keys in
KEY - QT Constants representing key values in
2. Status bar in main window
边栏推荐
- Les phénomènes de « salaire inversé » et de « remplacement des diplômés » indiquent que l'industrie des tests a...
- Discrete mathematics: Main Normal Form (main disjunctive normal form, main conjunctive normal form)
- Expansion operator: the family is so separated
- Classification of performance tests (learning summary)
- LeetCode周赛 + AcWing周赛(T4/T3)分析对比
- [FPGA tutorial case 9] design and implementation of clock manager based on vivado core
- Implementation steps of master detail detail layout mode of SAP ui5 application
- “薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
- Hand drawn video website
- Global and Chinese market of network connected IC card smart water meters 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

Chia Tai International Futures: what is the master account and how to open it?

Nebula importer data import practice

Playwright recording

【海浪建模1】海浪建模的理论分析和matlab仿真

Talking about JVM 4: class loading mechanism

DOM basic syntax

After reading the average code written by Microsoft God, I realized that I was still too young

潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)

26.2 billion! These universities in Guangdong Province have received heavy support

“薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
随机推荐
[FPGA tutorial case 10] design and implementation of complex multiplier based on Verilog
What if the programmer's SQL data script coding ability is weak and Bi can't do it?
大专学历,33岁宝妈又怎样?我照样销售转测试,月入13k+
Yyds dry goods inventory kubernetes management business configuration methods? (08)
Database postragesql client authentication
Database postragesq PAM authentication
实战模拟│JWT 登录认证
Compare whether two lists are equal
Robley's global and Chinese markets 2022-2028: technology, participants, trends, market size and share Research Report
What you learned in the eleventh week
JS implementation determines whether the point is within the polygon range
BGP comprehensive experiment
"Upside down salary", "equal replacement of graduates" these phenomena show that the testing industry has
【微处理器】基于FPGA的微处理器VHDL开发
微信小程序;胡言乱语生成器
Huawei employs millions of data governance experts! The 100 billion market behind it deserves attention
Take you ten days to easily complete the go micro service series (IX. link tracking)
【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39
107. Some details of SAP ui5 overflow toolbar container control and resize event processing
Postman automatically fills headers