Results 1 to 3 of 3

Thread: How to use CompleteThis keyboard shortcuts continuely

  1. #1
    Join Date
    Apr 2012
    Posts
    4
    Thanks
    3
    Qt products
    Qt4 Qt Jambi PyQt3 PyQt4
    Platforms
    Windows

    Default How to use CompleteThis keyboard shortcuts continuely

    Hi , I am a new to QT , now I have encountered a problem when use Qt creator.

    when I editing a C++ file, I usually use the "CompleteThis" shortcuts to auto complete codes, it is very convenient,

    But the function can not use continually, for example ui->txt1->document()->setHtml("aaaaaaa");
    txt1 is a QTextEdit*. when I type "." after ui it will change to "->" automatically and the autocomplete code will show:a1.png
    but after "txt1" I type "." there is nothing promoted,

    What should I do ? Thanks

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

    Default Re: How to use CompleteThis keyboard shortcuts continuely

    Did you remember to #include <QTextEdit> or whatever txt1 is?
    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. The following user says thank you to wysota for this useful post:

    lookeroo (15th June 2012)

  4. #3
    Join Date
    Apr 2012
    Posts
    4
    Thanks
    3
    Qt products
    Qt4 Qt Jambi PyQt3 PyQt4
    Platforms
    Windows

    Default Re: How to use CompleteThis keyboard shortcuts continuely

    Thanks wysota, I have include QTextEdit

Similar Threads

  1. Can't get keyboard shortcuts to work
    By aquavitae in forum Qt Programming
    Replies: 5
    Last Post: 22nd January 2012, 20:07
  2. Keyboard shortcuts (Mac specific?)
    By lutz in forum Newbie
    Replies: 0
    Last Post: 25th February 2011, 00:57
  3. Qt Creator Set keyboard shortcuts for home and end key on mac
    By dpatel in forum Qt Tools
    Replies: 1
    Last Post: 7th February 2011, 21:32
  4. Enumerating all keyboard shortcuts
    By jonks in forum Qt Programming
    Replies: 0
    Last Post: 7th November 2010, 21:59
  5. Keyboard shortcuts problem.
    By Lemming in forum Qt Programming
    Replies: 4
    Last Post: 5th April 2006, 16:12

Tags for this Thread

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.