Graeme Geldenhuys wrote:
Hi,
Anybody using Qt widget set. Can you confirm the button order in
dialogs (referring to Help, OK and Cancel buttons).
As far as I can tell this is what I have...
Win32: Help, OK, Cancel
Gnome, GTK1, GTK2: Help, Cancel, OK
Qt: Help, OK, Cancel
Currently the TButtonPanel only looks for {$IFDEF Unix} and {$ELSE}
which I guess means MSWindows. This wouldn't work for the Qt widget
set?
Qt 4.2 now has a QDialogButtonBox which does the same, but they
mention Desktop Environments instead of OS Environments, due the Gnome
and KDE both being able to run on a *unix OS, but their button orders
differ.
Anybody got an idea how we can change the TButtonPanel to check the
Desktop Environment (widget set) instead of the OS?
I think TWidgetSet should have a method for the default button order.
Specific widget sets can override that method for their specific order.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives