[Interest] Does Qt have a cross platform + mobile "QSystemTrayIcon"?
markg85 at gmail.com
Wed Oct 2 14:33:19 CEST 2013
On Wed, Oct 2, 2013 at 7:52 AM, Rutledge Shawn <Shawn.Rutledge at digia.com>wrote:
> On 2 Oct 2013, at 12:07 AM, Mark wrote:
> > Hi,
> > First of, the QSystemTrayIcon doc  seems extremely outdated so i
> don't know if this question is valid with that specific class name.
> What is outdated about the docs? Just the XP screenshot or something else?
First off, i big note that i didn't try this out now nor in any of the Qt 5
releases thus far! That class was showing a popup in the Windows XP style
on at least Vista perhaps even Windows 7. That looked totally out of place.
In other terms, it didn't use the native system popup back then. I don't
know it's current state but considering that is has a QPlatform* version
leads me to think that the Qt5 version might be better.
Other then that the documentation - yes, the screenshot - might benefit
from updating it :)
> > So what i'm searching for is this, a class that just sends a
> system(tray) notification that pops up in the place where all notifications
> pop up. And then really cross platform!
> > In KDE that would be the lower right corner
> > In Gnome that would be the upper right corner
> > In Mac also the upper right corner
> > In Windows (XP, Vista, 7) in the lower right corner
> > In Windows 8.. don't know how it's done there, i try to stay away from
> > In Android in the notification area
> > In iOS in the notification area
> > In Windows Mobile in the notification area
> > In <YOUR_OTHER_MOBILE_OS> in the notification area
> Ensuring that it works on the mobile platforms too sounds like a good
> idea, to the extent that it's possible. But the lifecycle issues might be
> different, e.g. usually a "background application" can be killed at any
> time, so should the icon go away when that happens?
I think it should work exactly as you just described it. If one wants to
make the icon "persistent" then that would probably have to be done by the
developer. This class should not care about that.
> > On all platforms it should naturally show the notification in their
> native OS theme so for that QSystemTrayIcon is a bit obsolete since it even
> shows the Windows XP style popup on Windows Vista (that's the last time i
> tried it a couple years ago).
> > Does the above exist? If so, where can i find it?
> > 
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest