[Qt-interest] QToolTip delay

Serge mb0 at km.ru
Fri Jul 3 13:07:16 CEST 2009


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?

Chandru... wrote:
> show the tooltip by your own ...
> QTimer *timer = new QTimer();
> connect(timer , SIGNAL(timeout()), this, SLOT(timerOut()));
> timer->start(1000);
> 
> void Widgets::timerOut()
> {
>  QPoint value2 ;
>  QString test = "sgkadfsdfsd ..";
>  QToolTip::showText(value2, test);   or   QToolTip::hideText();
> }
> On 7/3/09, *Serge* <mb0 at km.ru <mailto:mb0 at km.ru>> wrote:
> 
>     Hi,
> 
>     is it possible to reduce delay, after which ToolTip is displayed?
> 
>     when i move and stop cursor over widget with ToolTip, i need to wait
>     about 1 sec until tool tip will appear. Is it possible to reduce this
>     time interval?
> 
> 
>     --
>     Serge
>     _______________________________________________
>     Qt-interest mailing list
>     Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
>     http://lists.trolltech.com/mailman/listinfo/qt-interest
> 
> 
> 
> 
> -- 
> WAGMARE
> 

--
Serge



More information about the Qt-interest-old mailing list