Just been reading them
When I try to use QStyle::SH_ToolTip_WakeUpDelay I get a compilation error 
saying that this does not exist.
Looking at the source for QStyle it appears that it does not exist

Any ideas as to why this is?

Thanks

-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
[mailto:interest-bounces+graham.labdon=avalonsciences....@qt-project.org] On 
Behalf Of André Somers
Sent: 25 November 2013 10:33
To: interest@qt-project.org
Subject: Re: [Interest] change time delay of tool tips

Graham Labdon schreef op 25-11-2013 11:11:
> However, this only allows me to set the tooltip duration - what I 
> would like is to be able to control the delay before the tool tip is 
> displayed Is there a way of doing this?
Did you read the docs for those style hints that J-P Nurmi pointed you to?

André

>
> -----Original Message-----
> From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
> [mailto:interest-bounces+graham.labdon=avalonsciences.com@qt-project.o
> rg] On Behalf Of Graham Labdon
> Sent: 25 November 2013 10:09
> To: Nurmi J-P; Interest@qt-project.org
> Subject: Re: [Interest] change time delay of tool tips
>
> Thanks for the hints
>
> -----Original Message-----
> From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
> [mailto:interest-bounces+graham.labdon=avalonsciences.com@qt-project.o
> rg] On Behalf Of Nurmi J-P
> Sent: 25 November 2013 09:33
> To: Interest@qt-project.org
> Subject: Re: [Interest] change time delay of tool tips
>
>
> On 25 Nov 2013, at 10:17, Graham Labdon <graham.lab...@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#toolTipDur
> ation-prop
>
> - QStyle::SH_ToolTip_WakeUpDelay
> - QStyle::SH_ToolTip_FallAsleepDelay
>    
> http://doc-snapshot.qt-project.org/qt5-release/qstyle.html#StyleHint-e
> num
>
> 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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


--
You like Qt?
I am looking for collegues to join me at i-Optics!

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to