Eneboo - Documentación para desarrolladores

Standard Accelerator Keys

Applications invariably need to define accelerator keys for actions. Qt fully supports accelerators, for example with QAccel::shortcutKey().

Here are Microsoft's recommendations for accelerator keys, 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 emboldened letter plus Alt is Microsoft's recommended choice, and we recommend supporting it. For an Apply button, for example, we recommend QButton::setText( tr ("&Apply") );

If you have conflicting commands (e.g. About and Apply buttons in the same dialog), you must decide for yourself.

<u>A</u>bout Always on <u>T</u>op <u>A</u>pply <u>B</u>ack <u>B</u>rowse <u>C</u>lose (CDE: Alt+F4; Alt+F4 is "close window" in Windows) <u>C</u>opy (CDE: Ctrl+C, Ctrl+Insert) <u>C</u>opy Here Create <u>S</u>hortcut Create <u>S</u>hortcut Here Cu<u>t</u> <u>D</u>elete <u>E</u>dit <u>E</u>xit (CDE: E<u>x</u>it) <u>E</u>xplore <u>F</u>ile <u>F</u>ind <u>H</u>elp Help <u>T</u>opics <u>H</u>ide <u>I</u>nsert Insert <u>O</u>bject <u>L</u>ink Here Ma<u>x</u>imize Mi<u>n</u>imize <u>M</u>ove <u>M</u>ove Here <u>N</u>ew <u>N</u>ext <u>N</u>o <u>O</u>pen Open <u>W</u>ith Page Set<u>u</u>p <u>P</u>aste Paste <u>L</u>ink Paste <u>S</u>hortcut Paste <u>S</u>pecial <u>P</u>ause <u>P</u>lay <u>P</u>rint <u>P</u>rint Here P<u>r</u>operties <u>Q</u>uick View <u>R</u>edo (CDE: Ctrl+Y, Shift+Alt+Backspace) <u>R</u>epeat <u>R</u>estore <u>R</u>esume <u>R</u>etry <u>R</u>un <u>S</u>ave Save <u>A</u>s Select <u>A</u>ll Se<u>n</u>d To <u>S</u>how <u>S</u>ize S<u>p</u>lit <u>S</u>top <u>U</u>ndo (CDE: Ctrl+Z or Alt+Backspace) <u>V</u>iew <u>W</u>hat's This? <u>W</u>indow <u>Y</u>es

There are also a lot of other keys and actions (that use other modifier keys than Alt). See the Microsoft and The 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 might be able to help. Ask them for ISBN 1859121047.

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'