No subject
Sat Apr 8 16:54:17 UTC 2006
key. It reads the config=3D line in as a string and lets QShortcut take
care of mapping that to a key.
What I can't tell, however, is HOW QShortcut does that conversion, and
what keys it will listen to. I can see that Ctrl+ as a modifier works,
but only with some keys:
F works
F11 works
Ctrl+F works
Ctrl+F11 reads as Ctrl-F
I found a list of key and modifier enums:
http://doc.trolltech.com/4.1/qt.html#Key-enum
http://doc.trolltech.com/4.1/qt.html#Modifier-enum
But those just list the keycodes, not what their equivalent strings
would be (ie, if I were calling QShortcut() directly, I could use
Key::Key_PageUp, but there's no reference for what string I would need
to use (PageUp, Pageup, pageup, page-up, pgup, pg-up?)
I also found that QShortcut will allow up to 4 keys. "Ctrl+F,S" is as
such a valid key, but mythcontrol won't allow it because it doesn't
recognize it.
Anybody have anything to add? Thanks
- Jeff
More information about the mythtv-users
mailing list