当前位置:网站首页>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 
边栏推荐
- How much is a fortress machine? Why do you need a fortress machine?
- Kibana report generation failed due to custom template
- What is the GPU usage for cloud desktops and servers? What can cloud desktop do?
- US Treasury secretary says extortion software poses a threat to the economy, Google warns 2billion chrome users | global network security hotspot
- 2022-2028 global anti counterfeiting label industry research and trend analysis report
- What is the price of the elastic public network IP bandwidth
- 2022-2028 global marine wet exhaust hose industry research and trend analysis report
- Tencent location service appeared at the 11th China Surveying and mapping Geographic Information Technology Equipment Expo
- 2022-2028 global cell-based seafood industry research and trend analysis report
- Elk7.15.1 installation, deployment and construction
猜你喜欢
![[51nod] 2106 an odd number times](/img/af/59b441420aa4f12fd50f5062a83fae.jpg)
[51nod] 2106 an odd number times

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

2022-2028 global anti counterfeiting label industry research and trend analysis report

2022-2028 global third-party data platform industry research and trend analysis report

2022-2028 global aircraft front wheel steering system industry research and trend analysis report

2022-2028 global high tibial osteotomy plate industry research and trend analysis report
![[summary of interview questions] zj6 redis](/img/4b/eadf66ca8d834f049f3546d348fa32.jpg)
[summary of interview questions] zj6 redis

2022-2028 global medical modified polypropylene industry research and trend analysis report
![[summary of interview questions] zj5](/img/d8/ece82f8b2479adb948ba706f6f5039.jpg)
[summary of interview questions] zj5

Permission maintenance topic: domain controller permission maintenance
随机推荐
Actual combat | how to use micro build low code to realize tolerance application
2022-2028 global marine clutch industry research and trend analysis report
UI automation based on Selenium
[hot] with a budget of only 100 yuan, how to build a 1-year web site on Tencent cloud??
[51nod] 3216 Awards
Concise and practical time code
Lua language development, esp8266 access to Bafa cloud, mqtt and TCP protocols
Windowsvpn client is coveted by vulnerabilities, 53% of companies face supply chain attacks | global network security hotspot
2022-2028 global portable two-way radio equipment industry research and trend analysis report
Instructions for performance pressure test tool
Ligature in font design
C common regular expression collation
Why does the fortress machine use an application publisher? What are the main functions of the fortress machine
Velocitytracker use
2022-2028 global aircraft audio control panel system industry research and trend analysis report
What protocol does FTP belong to in Fortress machine and how to use FTP in Fortress machine
What is the edge calculator force? What about the edge calculator?
The server size of the cloud desktop. The cloud desktop faces the server configuration requirements
11111dasfada and I grew the problem hot hot I hot vasser shares
Production line motor monitoring and maintenance - application case of 5g edge calculation for paperboard line motor maintenance