[Qt-interest] Cross Platform Shortcut Conventions

Josh jnfo-c at grauman.com
Fri Jun 25 15:53:06 CEST 2010


Thanks ;). I've read this, and it indeed helps, but doesn't really answer 
my question. For example, I assigned Ctrl-F9 to a function, only to find 
out it had a function in KDE (not listed in QKeySequence docs) and so 
doesn't work in my program. Obviously things like Ctrl-Esc (not in 
QKeySequence docs either) in Windows have predefined functions as well, 
and I see Mac has predefined functions as well (ie. F9 is tile open 
windows).

I'm more looking for wisdom from the list about any gotchas people have 
run into (not in the docs) when deploying on multiple platforms? Also, is 
there any system of using shortcuts that people have found has worked well 
(ie. Ctrl-A - Ctrl-Z are safe to use across platforms), or stay away from 
Ctrl-A - Ctrl-Z and use Alt-A - Alt-Z, or use Meta-A - Meta-Z, F-keys are 
fine to use, etc... The whole concept of the distinction between OS 
shortcuts and application shortcuts seems to be missing from the 
QKeySequence docs with no mention of OS shortcuts or which ones to avoid.

Maybe I just need to try to compile multiple lists of OS shortcuts for 
each of the OSes, and then not use those keys, but I wanted to see what 
other people do... Thanks!

Josh



> RTFM;) QKeySequence.
> It includes a nice overview of standard shortcuts and key mappings.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list