[Qgis-developer] Key accelerators vs. key shortcuts.

Tom Elwertowski telwertowski at comcast.net
Sat Apr 8 19:33:34 EDT 2006


Tim Sutton wrote:
> These are good observations. I would like the shortcuts to be
> predictable and think its a good idea to look at other applications /
> frameworks to see what standard shortcuts and accellerator keys are
> used.

Here's Apple's keyboard shortcut guidelines and a list of commonly used 
shortcuts. Apple's command and option are control and alt in the 
non-Apple world.

http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGKeyboardShortcuts/chapter_20_section_1.html

I am particularly fond of the following quote:

"Users expect these shortcuts to mean the same thing from application to 
application. Provide these shortcuts if your application performs the 
associated tasks. You should avoid using these shortcuts for other 
purposes."

> I think th accelerator keys should be set to whatever is logical in
> current localised version (ie. that its ok for them to vary from tr()
> to tr()).

A quick check of some Apple utilities shows that shortcuts don't change 
with language though I couldn't quickly find some Apple policy on this.

> If others agree to your changes I will apply your patch.

Since the patch removes some duplicate uses of the same key, I'm in 
favor of it.

To prevent duplicate uses in the future, I propose adding a list like 
Apple's to our wiki so that we can easily see what keys are available, 
used or reserved. I'll add it to API Documentation unless there's a 
better place.

Tom



More information about the Qgis-developer mailing list