UI toolkits for Python

Adriaan Renting renting at astron.nl
Fri Oct 14 13:04:01 EDT 2005


 
 
>>>Mike Meyer <mwm at mired.org> 10/14/05 5:39 pm >>> 
#"Adriaan Renting" <renting at astron.nl> writes: 
#[On Qt] 
#...
#[mike on qt for Mac Os X]
#...

I've looked some more into this, and it seems that the confusion is because Qt on Mac maps:

Command/Apple key -> Qt::Key_Control
Ctrl Key          -> Qt::Key_Meta
Alt/Option Key    -> Qt::Key_Alt

because the use of the Command/Apple key is similar to how in Windows and KDE the Ctrl key is used.
This results in Command-S being Save, Command-A being Select All, which seems to be the way it's supposed on Apple, but it creates confusion if cross-platform documentation would say Ctrl-A is Select All, because this isn't true on Apple. Maybe the Apple GUI guidelines can answer how it should be.

How do other widget sets handle this? do they use: 
Command/Apple key -> Key_Meta
Ctrl Key          -> Key_Control
Alt/Option Key    -> Key_Alt

Adriaan Renting.



More information about the Python-list mailing list