当前位置:网站首页>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
边栏推荐
- Which financial products with stable income are good
- [development of large e-commerce projects] performance pressure test - Performance Monitoring - heap memory and garbage collection -39
- Inventory of more than 17 typical security incidents in January 2022
- What happened to those who focused on automated testing?
- Getting started with Paxos
- Global and Chinese markets for industrial X-ray testing equipment 2022-2028: Research Report on technology, participants, trends, market size and share
- [FPGA tutorial case 9] design and implementation of clock manager based on vivado core
- Digital DP template
- How to use words to describe breaking change in Spartacus UI of SAP e-commerce cloud
- Wechat applet: independent background with distribution function, Yuelao office blind box for making friends
猜你喜欢

Wechat applet: new independent backstage Yuelao office one yuan dating blind box

Innovation leads the direction. Huawei Smart Life launches new products in the whole scene

每日刷题记录 (十三)

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

Implementation steps of master detail detail layout mode of SAP ui5 application

The performance of major mainstream programming languages is PK, and the results are unexpected

POAP:NFT的采用入口?

ROS command line tool

Expose testing outsourcing companies. You may have heard such a voice about outsourcing

微信小程序;胡言乱语生成器
随机推荐
Take you ten days to easily complete the go micro service series (IX. link tracking)
微信小程序:星宿UI V1.5 wordpress系统资讯资源博客下载小程序微信QQ双端源码支持wordpress二级分类 加载动画优化
Introduction to the gtid mode of MySQL master-slave replication
Wechat applet: wechat applet source code download new community system optimized version support agent member system function super high income
【大型电商项目开发】性能压测-优化-中间件对性能的影响-40
Basic operations of database and table ----- delete index
Senior Test / development programmers write no bugs? Qualifications (shackles) don't be afraid of mistakes
Discrete mathematics: reasoning rules
Remote control service
Complex, complicated and numerous: illustration of seven types of code coupling
[pure tone hearing test] pure tone hearing test system based on MATLAB
Which financial products with stable income are good
【FPGA教程案例10】基于Verilog的复数乘法器设计与实现
[flutter topic] 64 illustration basic textfield text input box (I) # yyds dry goods inventory #
Discrete mathematics: propositional symbolization of predicate logic
Apifox (postman + swagger + mock + JMeter), an artifact of full stack development and efficiency improvement
Delaying wages to force people to leave, and the layoffs of small Internet companies are a little too much!
Check if this is null - checking if this is null
Talking about JVM 4: class loading mechanism
Pandora IOT development board learning (RT thread) - Experiment 4 buzzer + motor experiment [key external interrupt] (learning notes)