当前位置:网站首页>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 
边栏推荐
- System design: File Hosting Service
- Easynvr shows that the channel is online but cannot be played. Troubleshooting (non video streaming)
- Grpc: how to reasonably manage log configuration?
- [51nod] 3047 displacement operation
- 2022-2028 Global Industry Survey and trend analysis report on portable pressure monitors for wards
- [summary of interview questions] zj5
- Which brand is a good backup all-in-one machine price
- Is the cloud desktop server highly required for installation and configuration? Is cloud desktop easy to use?
- Grpc: based on cloud native environment, distinguish configuration files
- JMeter uses JDBC to perform database pressure test
猜你喜欢

Permission maintenance topic: domain controller permission maintenance
![[51nod] 2653 section XOR](/img/2d/cb4bf4e14939ce432cac6d35b6a41b.jpg)
[51nod] 2653 section XOR

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

2022-2028 global cancer biopsy instrument and kit industry research and trend analysis report
![[summary of interview questions] zj6 redis](/img/4b/eadf66ca8d834f049f3546d348fa32.jpg)
[summary of interview questions] zj6 redis
![[51nod] 2102 or minus and](/img/68/0d966b0322ac1517dd2800234d386d.jpg)
[51nod] 2102 or minus and

2022-2028 global aircraft audio control panel system industry research and trend analysis report

UI automation based on Selenium
![[51nod] 3047 displacement operation](/img/cb/9380337adbc09c54a5b984cab7d3b8.jpg)
[51nod] 3047 displacement operation

2022-2028 global aircraft wireless intercom system industry research and trend analysis report
随机推荐
Grpc: based on cloud native environment, distinguish configuration files
Understanding Devops from the perspective of decision makers
[1024 programmers' day] Why do some programmers leave work earlier than you?
[51nod] 3047 displacement operation
What is distributed configuration center Nacos? What are the functions of distributed configuration center Nacos?
Applicationclientprotocol of yarn source code
What port does the fortress machine use? What is the role of the fortress machine?
Grp: how to automatically add requestid in GRP service?
Where is the cloud game server? Can individuals rent cloud game servers?
Disk and file system (Simplified)
2022-2028 global medical modified polypropylene industry research and trend analysis report
2022-2028 global aircraft audio control panel system industry research and trend analysis report
Grand summary of boutique idea plug-ins! Worth collecting
Industry experts talk about "extortion virus": how does e-government build a moat?
Tencent cloud launched its new 100g+ cloud server product!! Expect more than 400g+ in the future!
Double 11 will arrive soon. Is your website ready?
AI talk | solution for shopping mall inspection robot
2022-2028 global pilot night vision goggle industry research and trend analysis report
Is AI face detection and face recognition a concept? What's the difference?
Introduce the comparison of various distributed configuration centers? Which distributed configuration center is better?