Results 1 to 5 of 5

Thread: QtCreator - question on shortcut key

  1. #1
    Join Date
    Dec 2010
    Posts
    16
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default QtCreator - question on shortcut key

    In QtCreator,

    Is there a Shortcut key to access the Symbols drop-down menu at the Editor Toolbar in QtCreator? I am using 2.0.1. I can use mouse to click but I prefer the use of keyboard if there is a shortcut key defined.

    Is there a shortcut key to toggle between the header file and its cpp file? For example, in Visual Studio Visual Assit, I can use Alt-O to jump between a.h and a.cpp in the editor, if another file is not already opened, it can be opened automatically.

    Thank you.
    Last edited by Qqt; 15th December 2010 at 06:43. Reason: updated contents

  2. #2
    Join Date
    Jan 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QtCreator - question on shortcut key

    I recently had the same question. I searched through Qt Creator's help documents, but didn't find the answer. I asked a co-worker -- no luck there either.

    Did another search again, and finally found the answer. The F4 key will toggle between the header and source files.

  3. #3
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QtCreator - question on shortcut key

    hi,
    Is there a shortcut key to toggle between the header file and its cpp file? For example, in Visual Studio Visual Assit, I can use Alt-O to jump between a.h and a.cpp in the editor, if another file is not already opened, it can be opened automatically.
    shift + F2 will Toggle between code declaration and definition.
    and F4 Toggle between header file and source file

    explore the link
    http://doc.qt.nokia.com/qtcreator-sn...shortcuts.html
    Bala
    Last edited by BalaQT; 7th January 2011 at 06:15.

  4. #4
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QtCreator - question on shortcut key

    A dot is the shortcut for 'Method in Current File' in the locator. So Ctrl+K, ., <Space>

  5. #5
    Join Date
    Dec 2010
    Posts
    16
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QtCreator - question on shortcut key

    Thank you guys.

Similar Threads

  1. Need to intermitent disable Menu ShortCut
    By AmolShinde_8 in forum Qt Programming
    Replies: 0
    Last Post: 15th March 2010, 18:30
  2. Like Qtcreator editor
    By wirasto in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2009, 07:00
  3. Additional keyboard shortcut for a menu
    By negritot in forum Qt Programming
    Replies: 5
    Last Post: 17th September 2009, 05:58
  4. Shortcut key for context menu
    By darshan.hardas in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2008, 20:32
  5. Button shortcut call an element in the menu
    By mourad in forum Qt Programming
    Replies: 5
    Last Post: 29th May 2008, 10:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.