KSystemTrayIcon and tooltips
Simon Hausmann
hausmann at kde.org
Fri Aug 25 16:39:26 BST 2006
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?
>
> sounds like something to ask the trolls to add ... one gets contextmenu
> activation notification, so this seems like something that would make sense
> as well... let's see what they think/say =)
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.
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060825/42e5f0d0/attachment.sig>
More information about the kde-core-devel
mailing list