[Interest] change time delay of tool tips
Nurmi J-P
jpnurmi at digia.com
Mon Nov 25 10:33:28 CET 2013
On 25 Nov 2013, at 10:17, Graham Labdon <Graham.Labdon at avalonsciences.com> wrote:
> Hi
> Is it possible to change the delay for the display of tooltips
> I have some widgets that I would like the display of the tool tip to be quicker?
>
Qt 5.2 adds a bunch of ways to control tooltips:
- QWidget::toolTipDuration
http://doc-snapshot.qt-project.org/qt5-release/qwidget.html#toolTipDuration-prop
- QStyle::SH_ToolTip_WakeUpDelay
- QStyle::SH_ToolTip_FallAsleepDelay
http://doc-snapshot.qt-project.org/qt5-release/qstyle.html#StyleHint-enum
PS. If you’re wondering how to customize the style hints, take a look at QProxyStyle (http://doc-snapshot.qt-project.org/qt5-release/qproxystyle.html).
--
J-P Nurmi
More information about the Interest
mailing list