KSystemTrayIcon and tooltips

Gary Cramblitt garycramblitt at comcast.net
Sat Aug 26 04:05:19 BST 2006


On Friday 25 August 2006 11:39, Simon Hausmann wrote:
> On Saturday 29 July 2006 23:26, Aaron J. Seigo wrote:
> > On Saturday 29 July 2006 14:31, Gary Cramblitt wrote:
> > > Since KSystemTrayIcon is no longer a widget, it seems that it no longer
> > > emits QEvent::Tooltip.  Is there some way to be notified just before a
> > > tooltip is shown so that I can set the toolTip property only as needed?

> Sorry for the late reply. After some discussion we agreed to implement this
> feature, despite the fact that it is only possible to support on X11. So
> QSystemTrayIcon now receives QHelpEvents of type QEvent::ToolTip when a
> tooltip is requested. Don't use this in portable applications. I submitted
> the patch also to qt-copy, for your convenience.

Thanks!  I will probably use this in KTTS even though it will only work on 
X11.  Better than alternatives.

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php




More information about the kde-core-devel mailing list