Re: UI toolkits for Python
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: UI toolkits for Python

From: Adriaan Renting <renting@astron.nl>
Date: Fri Oct 14 2005 - 19:04:01 CEST

 
 
>>>Mike Meyer <mwm@mired.org> 10/14/05 5:39 pm >>>
#"Adriaan Renting" <renting@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.
Received on Sat Oct 15 04:34:32 2005