PDA

View Full Version : QPlainTextEdit + QCompleter + Tooltip



NoRulez
22nd June 2010, 07:10
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

tbscope
22nd June 2010, 07:29
QToolTip::showText(event->pos(), "void setCaseSensitivity(<b>Qt::CaseSensitivity caseSensitivity</b>)");

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

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