QT Creator Common shortcut keys

Source: Internet
Author: User

1.F10,F11 Single Step Commissioning

2.Ctrl +/: Comment/Uncomment the selection.

3.F4: Switch between the header file (. h) and the implementation file (. cpp).

4.Ctrl + I: Automatic formatting of the selected code.

5.F2: Quickly switch to the source of the cursor selected object.

6. Quick Add Method Entity (. cpp) Declaration: Moves the cursor to the method declaration in the H file. Press Alt (press and hold) + Enter, and then press ENTER to add the function's declaration in the CPP.

7. Press ALT + number key (1-7) to quickly open the corresponding Output window.

8. Right-click Refactor to refactor the modified variable or function name.

9. Bookmarks: Ctrl + M Add/Remove bookmarks, press CTRL +. Find and move to the next tab

10. Column Display::

Press CTRL + E to release and press 2 to add the top and bottom layout columns
Press CTRL + E to release and press 3 to add columns for left and right layouts
Press CTRL + E to release and press 1 to remove all columns

QT Creator Common shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.