当前位置:网站首页>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 
边栏推荐
- What is the GPU usage for cloud desktops and servers? What can cloud desktop do?
- Grpc: how to enable tls/ssl?
- 2022-2028 global pilot night vision goggle industry research and trend analysis report
- How to register a trademark? Is the process troublesome?
- Three Scheduling Strategies in yarn
- What if the computer audio and video engine is abnormal? What are the causes of abnormal computer audio and video engine?
- What are the advantages of EIP? What is the relationship between EIP and fixed IP?
- Shopee Clickhouse cold and hot data separation storage architecture and Practice
- Why should I change my PC to a cloud desktop server? What are the characteristics of this server?
- How to pair cloud game servers? Is the cloud game server expensive?
猜你喜欢

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

2022-2028 global pilot night vision goggle industry research and trend analysis report

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

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

2022-2028 global tungsten copper alloy industry research and trend analysis report
![[51nod] 3395 n-bit gray code](/img/b5/2c072a11601de82cb92ade94672ecd.jpg)
[51nod] 3395 n-bit gray code

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

2022-2028 global medical modified polypropylene industry research and trend analysis report

2022-2028 global cancer biopsy instrument and kit industry research and trend analysis report
![[51nod] 2102 or minus and](/img/68/0d966b0322ac1517dd2800234d386d.jpg)
[51nod] 2102 or minus and
随机推荐
System library golang Org/x/time/rate frequency limiter bug
How to register a trademark? What needs to be prepared?
[51nod] 3216 Awards
JD Logistics: from giant baby to mainstay
How to build a shopping website? What problems should be paid attention to in the construction of shopping websites?
How does the fortress machine connect to the server? Which is easy to use, fortress machine or firewall?
2022-2028 global portable two-way radio equipment industry research and trend analysis report
Heavy release! Tencent security hosting service TA is here!
Industry ranks first in blackmail attacks, hacker organizations attack Afghanistan and India | global network security hotspot
Double 11 will arrive soon. Is your website ready?
How to query trademark registration? Where should I check?
11111dasfada and I grew the problem hot hot I hot vasser shares
Dry goods how to build a data visualization project from scratch?
Process kill problem
Easynvr shows that the channel is online but cannot be played. Troubleshooting (non video streaming)
Live broadcast Reservation: a guide to using the "cloud call" capability of wechat cloud hosting
2022-2028 global aircraft audio control panel system industry research and trend analysis report
How does easydss handle the problem that the sharing page cannot be opened due to cache problems?
How much is a fortress machine? Why do you need a fortress machine?
Cloud desktop server resource planning, what are the advantages of cloud desktop