Results 1 to 2 of 2

Thread: QPlainTextEdit + QCompleter + Tooltip

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default QPlainTextEdit + QCompleter + Tooltip

    Hey @all,

    did anybody know a way how i can show tooltips like in Qt Creator?
    Which means for example a function with the currently highlighted parameter and also overloaded functions.

    Best Regards
    NoRulez
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QPlainTextEdit + QCompleter + Tooltip

    Qt Code:
    1. QToolTip::showText(event->pos(), "void setCaseSensitivity(<b>Qt::CaseSensitivity caseSensitivity</b>)");
    To copy to clipboard, switch view to plain text mode 

    Where event->pos() is the position where some event occured.

    Or is this not what you ask? If so, what do you want?

Similar Threads

  1. a smarter QCompleter
    By ber_44 in forum Qt Programming
    Replies: 7
    Last Post: 30th March 2011, 07:10
  2. QCompleter & ToolTip
    By nanortemis in forum Qt Programming
    Replies: 3
    Last Post: 25th September 2009, 19:54
  3. QTextEdit and QCompleter
    By nivel in forum Qt Programming
    Replies: 2
    Last Post: 14th June 2009, 03:18
  4. Replies: 1
    Last Post: 12th October 2008, 08:21
  5. Complex QCompleter
    By Amouse in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2008, 22:39

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.