Results 1 to 4 of 4

Thread: Qt Creator Comment Section

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Qt Creator Comment Section

    I am using Qt Creator for the first time and I see in Qt Creator under the Advanced Menu in Edit Menu there is an option for (Un)Comment Selection with its keyboard shortcut. Is there a way to add this to my toolbar as I use this feature a lot in other editors (Netbeans, VisualStudio) and am use to a toolbar option for it.

    Thanks! Qt Creator seems pretty good so far!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator Comment Section

    Isn't it easier to use the keyboard shortcut for that? I think it is set to CTRL+D by default.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Creator Comment Section

    For things like this I am not used to keyboard shortcuts there for it is easier for me to use the mouse to highlight my section of code followed by keeping my hand on the mouse to click the button on the toolbar. And no, it's Ctrl+/ for the default shortcut.

    Regardless, I don't worry about what others think is quicker, I think the toolbar is most convenient and am curious if there is a toolbar button available for this.

    Thanks!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator Comment Section

    There is no toolbar button available for this. If you want one, write a plugin that will add it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    ToddAtWSU (6th February 2011)

Similar Threads

  1. Multiline comment with QXmlStreamWriter
    By QtWannabe in forum Qt Programming
    Replies: 2
    Last Post: 30th November 2010, 13:05
  2. Request for comment: Post event filter
    By wysota in forum Qt Programming
    Replies: 3
    Last Post: 7th March 2008, 21:55
  3. simple QString comment
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2006, 13:29

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
  •  
Qt is a trademark of The Qt Company.