System tray update

Published Wednesday December 6th, 2006
1 Comment on System tray update
Posted in KDE, Qt

Thanks to some great work by Sam Magnuson, QSystemTrayIcon::showMessage() will support Growl on the mac in Qt 4.3. With this change, supportsMessages() no longer returns false on any of our desktop platforms. Here’s the obligatory screenshot:

QSystemTray Growl Support

Note that the documentation for showMessage() states that messages are not guaranteed to be displayed. As a result, we have received a few requests for an API to query the position of the tray icon (and hence make it possible to popup custom balloons). The awesome news is that for Qt 4.3, we have added QSystemTrayIcon::geometry() that will return the geometry of the icon in global coordinates.

Oh and in case you missed Lars’ post, Qt 4.3 snapshots are available here. We had to put in a few hacks to get geometry() to work reliably on all platforms. Let us know if it doesn’t ๐Ÿ™‚

Do you like this? Share it
Share on LinkedInGoogle+Share on FacebookTweet about this on Twitter

Posted in KDE, Qt

One comment

anonymous says:

Awesome stuff!

Commenting closed.

Get started today with Qt Download now