当前位置:网站首页>QT creator tips
QT creator tips
2022-06-24 03:11:00 【Andisi】
Qt Creator Using skills
1. Qt Creator Shortcut keys
Qt There are many shortcuts , The commonly used shortcut keys are as follows
| Shortcut key | function |
|---|---|
| Ctrl + N | Create a new file or project (N) |
| Ctrl + W | Close the current window / close current file |
| Ctrl + Shfit + W | Close all files |
| Ctrl + F4 | close current file (windows) |
| Ctrl + R | function |
| Alt + ←( Direction left key ) | Return to upper level ( return ), Commonly used in jump code |
| Alt + →( Right click in the direction ) | Go to the next level ( Forward ), Commonly used in jump code |
| Ctrl + I | Qt It will automatically typeset and align the code |
| Ctrl-- (Ctrl+ Mouse wheel down ) | Reduce font size |
| Ctrl++ (Ctrl+ Mouse wheel up ) | Increase font size |
| Ctrl+0 | Reset font size |
| Ctrl+< | Fold |
| Ctrl+> | an |
| Ctrl+Ins | Copy line |
| Ctrl+Alt+Down | Copy to line |
| Ctrl+Alt+Up | Copy to line |
| Ctrl+Shift+Enter | Insert a new line above the current line |
| Ctrl+Enter | Insert a new row below the current row |
| Ctrl+Shift+V | View clipboard history |
| Shift+Del | Cut line |
| Ctrl+J | Append row |
| Ctrl+Shift+Down | Move current row down |
| Ctrl+Shift+Up | Move the current line up |
| Ctrl + Left mouse button /Shift + F2 | Switch function declaration / Definition |
| F4 | Edit signals and slots |
| Ctrl+} | Jump to } The ending block |
| Ctrl+{ | Jump to { The starting block |
| Ctrl+Shift+T | Open the type hierarchy window |
2. Qt Creator Help document for
install Qt when , The help documentation is already installed in the installation directory /Qt5.12.9/Docs/ Next , by html Text format , You can use a browser to open , You can enter this directory to view the corresponding documents
In addition, it can be done in Qt Creator Search the corresponding keywords directly under . The steps are as follows , For example, to view
QPushButton class , First click ① Click... For help ② Select index... From the drop-down list at , stay ③ Place input “QPushButton”, You can also just enter “QPush” Match the index value . Click the matching option, as shown in the figure below ⑤ It's about , It is the help document that has been explored 
For example, to view QPushButton What properties and functions of the class can be used , You can see “ Properties” and “ Public Functions” Properties and functions under the heading

For example, to view QPushButton What slots are available for class , You can see “Public Slots” Slot function under the heading 
边栏推荐
- Tencent dongzhiqiang: network security construction needs to change from product driven to service driven
- Hunan data security governance Summit Forum was held, and Tencent built the best practice of government enterprise data security
- What port does the fortress machine use? What is the role of the fortress machine?
- What is the all-in-one backup machine? How about its cost performance
- Grpc: implement service end flow restriction
- How to install the cloud desktop security server certificate? What can cloud desktops do?
- 2022-2028 global medical coating materials industry research and trend analysis report
- Precautions for VPN client on Tencent cloud
- [Tencent cloud] how can the MySQL database on the cloud fully back up the data base script?
- Double 11 will arrive soon. Is your website ready?
猜你喜欢

UI automation based on Selenium

2022-2028 global high tibial osteotomy plate industry research and trend analysis report
![[51nod] 3216 Awards](/img/94/fdb32434d1343040d711c76568b281.jpg)
[51nod] 3216 Awards
![[summary of interview questions] zj5](/img/d8/ece82f8b2479adb948ba706f6f5039.jpg)
[summary of interview questions] zj5

2022-2028 global genome editing mutation detection kit industry survey and trend analysis report

2022-2028 global aircraft wireless intercom system industry research and trend analysis report

2022-2028 global portable two-way radio equipment industry research and trend analysis report

2022-2028 global tungsten copper alloy industry research and trend analysis report
![[51nod] 2106 an odd number times](/img/af/59b441420aa4f12fd50f5062a83fae.jpg)
[51nod] 2106 an odd number times

2022-2028 global marine clutch industry research and trend analysis report
随机推荐
[hot] with a budget of only 100 yuan, how to build a 1-year web site on Tencent cloud??
What are the configuration requirements for cloud desktop servers? What are the main characteristics of the three points?
Disaster recovery series (V) -- database disaster recovery construction
What are the responsibilities of cloud desktop administrators? How to use cloud desktop?
Elk7.15.1 installation, deployment and construction
golang with script
RI Geng series: tricks of using function pointers
The 2021 Tencent digital ecology conference is coming
Simple and beautiful weather code
Shopee Clickhouse cold and hot data separation storage architecture and Practice
New Google brain research: how does reinforcement learning learn to observe with sound?
C common regular expression collation
How do I check the trademark registration number? Where do I need to check?
How to set up a cloud desktop server? Is there a charge for cloud desktop server setup?
Heavy release! Tencent security hosting service TA is here!
What is etcd and its application scenarios
Where is the cloud game server? Can individuals rent cloud game servers?
Sinclair radio stopped broadcasting many TV stations, suspected of being attacked by blackmail software
Which brand is a good backup all-in-one machine price
2022-2028 global cell-based seafood industry research and trend analysis report