[Interest] change time delay of tool tips
Graham Labdon
Graham.Labdon at avalonsciences.com
Mon Nov 25 11:09:14 CET 2013
Thanks for the hints
-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences.com at qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences.com at qt-project.org] On Behalf Of Nurmi J-P
Sent: 25 November 2013 09:33
To: Interest at qt-project.org
Subject: Re: [Interest] change time delay of tool tips
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
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list