当前位置:网站首页>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
边栏推荐
- What you learned in the eleventh week
- [flutter topic] 64 illustration basic textfield text input box (I) # yyds dry goods inventory #
- Take you ten days to easily complete the go micro service series (IX. link tracking)
- 【FPGA教程案例10】基于Verilog的复数乘法器设计与实现
- POAP:NFT的采用入口?
- Global and Chinese markets for industrial X-ray testing equipment 2022-2028: Research Report on technology, participants, trends, market size and share
- Remote control service
- Playwright recording
- Basic operation of database and table ----- the concept of index
- Discrete mathematics: propositional symbolization of predicate logic
猜你喜欢

ROS command line tool

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

Great God developed the new H5 version of arXiv, saying goodbye to formula typography errors in one step, and mobile phones can also easily read literature

Yyds dry goods inventory kubernetes management business configuration methods? (08)

How to safely eat apples on the edge of a cliff? Deepmind & openai gives the answer of 3D security reinforcement learning

Hedhat firewall

Inventory of more than 17 typical security incidents in January 2022

SAP UI5 应用开发教程之一百零六 - 如何提高 SAP UI5 应用路由 url 的可读性试读版

Detailed explanation of multi-mode input event distribution mechanism

Take you ten days to easily complete the go micro service series (IX. link tracking)
随机推荐
[pure tone hearing test] pure tone hearing test system based on MATLAB
Complex, complicated and numerous: illustration of seven types of code coupling
【大型电商项目开发】性能压测-优化-中间件对性能的影响-40
[flutter topic] 64 illustration basic textfield text input box (I) # yyds dry goods inventory #
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40
Senior Test / development programmers write no bugs? Qualifications (shackles) don't be afraid of mistakes
[Chongqing Guangdong education] National Open University spring 2019 1042 international economic law reference questions
Innovation leads the direction. Huawei Smart Life launches new products in the whole scene
Global and Chinese market of network connected IC card smart water meters 2022-2028: Research Report on technology, participants, trends, market size and share
资深测试/开发程序员写下无bug?资历(枷锁)不要惧怕错误......
DOM basic syntax
Single step debugging of master data reading of SAP commerce cloud products
dotnet-exec 0.6.0 released
Global and Chinese markets of radiation linear accelerators 2022-2028: Research Report on technology, participants, trends, market size and share
【FPGA教程案例9】基于vivado核的时钟管理器设计与实现
Great God developed the new H5 version of arXiv, saying goodbye to formula typography errors in one step, and mobile phones can also easily read literature
Behind the cluster listing, to what extent is the Chinese restaurant chain "rolled"?
[untitled]
Les phénomènes de « salaire inversé » et de « remplacement des diplômés » indiquent que l'industrie des tests a...
Introduction to redis (1)