Standard Accelerators

| Classes - Annotated - Tree - Functions - Home - Structure

# Standard Accelerator Keys

Applications invariably need to define accelerator keys for actions, and Qt provides functions to help with that, most importantly QAccel::shortcutKey().

Here is Microsoft's recommendations for accelerator key choice, with comments about the Open Group's recommendations where they exist and differ. For most commands, the Open Group either has no advice or agrees with Microsoft.

The boldfaced letter plus Alt is Microsoft's recommended choice, and we recommend supporting it. For an Apply button, for example, we recommend setText( tr( "&Apply" ) );

If you have conflicting commands (e.g. About and Apply buttons in the same dialog), you're on your own.

- About
- Always on Top
- Apply
- Back
- Browse
- Close (CDE: Alt-F4. Alt-F4 is "close window" in Windows.)
- Copy (CDE: Ctrl-C, Ctrl-Insert)
- Copy Here
- Create Shortcut
- Create Shortcut Here
- Cut
- Delete
- Edit
- Exit
- Explore
- File
- Find
- Help
- Help Topics
- Hide
- Insert
- Insert Object
- Link Here
- Maximize
- Minimize
- Move
- Move Here
- New
- Next
- No
- Open
- Open With
- Page Setup
- Paste
- Paste Link
- Paste Shortcut
- Paste Special
- Pause
- Play
- Print
- Print Here
- Properties
- Quick View
- Redo (CDE: Ctrl-Y, Alt-Backspace)
- Repeat
- Restore
- Resume
- Retry
- Run
- Save
- Save As
- Select All
- Send To
- Show
- Size
- Split
- Stop
- Undo (CDE: Ctrl-Z or Alt-Backspace)
- View
- What's This?
- Window
- Yes

There are also a lot of other keys and actions (that use other modifier keys). See the Microsoft and Open Group documentation for details.

The Microsoft book has ISBN 0735605661. The corresponding Open Group book is very hard to find, rather expensive and we cannot recommend it. However, if you really want it, OGPubs@opengroup.org may be able to help. Ask then for ISBN 1859121047. (This ISBN is correct, but is not listed in any database we have seen.)