|
|
Richard,
Under OS X, the Apple key is the standard 'accelerator' key used as a
shortcut for selecting menu items. Functionally speaking, it maps to
the Ctrl key under Windows, and Qt's mapping is the best way to keep
applications working cross-platform.
By the way Qt = the framework, QT = QuickTime, the cross-platform
multimedia player.
John.
On 17/03/2005, at 2:43 AM, Richard S. Wright Jr. wrote:
I ran into a problem today that is just too weird to be on purpose...
or I
am missing some important knowledge about the Mac ;-)
I'm using QT enterprise 3.3.4 for Win32 and OS X. On the Win32 builds,
I am
checking the keystate in the keyPressEvent for Qt::ControlButton to
see if
the Ctrl key is pressed simultaneously with another key. This works
fine on
Windows. On the Mac (Powerbook), the Qt::ControlButton is mapped to the
"funky" Apple Key, and the Qt::MetaButton is mapped to the Ctrl key.
I would think the Ctrl key is the Ctrl key whichever platform you are
on...
My intuition would lead me to think that he Apple key is the
"MetaButton".
Is this a bug, or does anybody know if there is some design rationale
behind
this?
Richard S. Wright Jr.
opengl@xxxxxxxxxxxxx
--
List archive and information: http://lists.trolltech.com/qt-interest/
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|