[Qt-interest] QToolTip delay

Andreas Pakulat apaku at gmx.de
Fri Jul 3 14:09:47 CEST 2009


On 03.07.09 13:29:09, Frank Hemer wrote:
> On Friday 03 July 2009 13:07:16 Serge wrote:
> > In windows application it is possible to reduce this interval for entire
> > application. For example in Delphi it is property
> > TApplication.HintPause. Is there something in QT, so that it would be
> > cross-platform?
> 
> Yes there is.
> 
> Take a look at:
> QStyle::SH_Menu_SubMenuPopupDelay

No you cannot, that style hint is not used for tooltips, tooltip timers are
sent to arbitrary values (700ms until it appears and 2000ms until it hideas
as far as I can see) in qapplication.cpp.

Andreas

-- 
Never commit yourself!  Let someone else commit you.



More information about the Qt-interest-old mailing list