[Qt-interest] KDE/Gnome/Mac platform standards and guidelines
Nikos Chantziaras
realnc at arcor.de
Tue Jun 1 00:10:37 CEST 2010
Every platform has its own user interface standards and guidelines,
which I wish to follow. In this particular case, it's about
configuration dialogs. For example, on OS X, users expect changes to
apply immediately when changing something. There should be no
Apply/Cancel/etc buttons. This is no problem, I can simply use the
Q_WS_MAC macro.
With Gnome and KDE however, it's not so easy to tell in which
environment the app is running. In KDE, there should be OK/Apply/Cancel
buttons. In Gnome, there should only be a Close button, or, as in OS X,
no button at all.
In MS Windows, no one cares.
So in the Gnome/KDE case, what should I do to tell which standard to
follow? How do I detect this at runtime in order to adapt application
behavior?
More information about the Qt-interest-old
mailing list