views:

21

answers:

0

On Mac and Gnome, native applications use an application preferences dialog that immediately applies the chosen settings as they are selected. On Windows and (I think) KDE, preferences are applied only when an "Apply" or "OK" button is pressed.

Are there any built-in Qt goodies to do this for you, or do you have to include several #ifdef's in the dialog code to handle this (Q_WS_WIN, Q_WS_MAC, Q_WS_X11)?

If you have done something like this before (even using #ifdef's), could you share skeleton code as to how you pulled it off?