From kde-core-devel Fri Aug 25 15:39:26 2006 From: Simon Hausmann Date: Fri, 25 Aug 2006 15:39:26 +0000 To: kde-core-devel Subject: Re: KSystemTrayIcon and tooltips Message-Id: <200608251739.26499.hausmann () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=115652029905732 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1731603.47QYhH8ItA" --nextPart1731603.47QYhH8ItA Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 sen= se > as well... let's see what they think/say =3D) Sorry for the late reply. After some discussion we agreed to implement this= =20 feature, despite the fact that it is only possible to support on X11. So=20 QSystemTrayIcon now receives QHelpEvents of type QEvent::ToolTip when a=20 tooltip is requested. Don't use this in portable applications. I submitted= =20 the patch also to qt-copy, for your convenience. Simon --nextPart1731603.47QYhH8ItA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBE7xmuWXvMThJCpvIRAhUxAKDdQSeNWXwautVKw6trYW72J2IEeQCfewQ/ AxWdVC3yE+5df0AXa8J5y3M= =8y1r -----END PGP SIGNATURE----- --nextPart1731603.47QYhH8ItA--