How to set the ToolTip timeout
-
wrote on 2 Feb 2017, 15:14 last edited by
Hi all,
is there any way to set the timeout of a tooltip?
I use the QToolTip::showText() function to show my user tooltip and it hides about 10 seconds automatically.
How can I increase or decrease this timeout?regards
Oliver -
Lifetime Qt Championwrote on 2 Feb 2017, 15:34 last edited by mrjj 2 Feb 2017, 15:34
Hi
https://bugreports.qt.io/browse/QTBUG-1016Seems to be added now
http://doc.qt.io/qt-5/qtooltip.html#showText-2
Notice the msecDisplayTime
and
QWidget::toolTipDuration -
wrote on 3 Feb 2017, 10:06 last edited by
Thanks, that worked.
1/3