You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
4.6 KiB
127 lines
4.6 KiB
14 years ago
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qaccel.cpp:984 -->
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
|
<title>Standard Accelerator Keys</title>
|
||
|
<style type="text/css"><!--
|
||
|
fn { margin-left: 1cm; text-indent: -1cm; }
|
||
|
a:link { color: #004faf; text-decoration: none }
|
||
|
a:visited { color: #672967; text-decoration: none }
|
||
|
body { background: #ffffff; color: black; }
|
||
|
--></style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||
|
<tr bgcolor="#E5E5E5">
|
||
|
<td valign=center>
|
||
|
<a href="index.html">
|
||
|
<font color="#004faf">Home</font></a>
|
||
|
| <a href="classes.html">
|
||
|
<font color="#004faf">All Classes</font></a>
|
||
|
| <a href="mainclasses.html">
|
||
|
<font color="#004faf">Main Classes</font></a>
|
||
|
| <a href="annotated.html">
|
||
|
<font color="#004faf">Annotated</font></a>
|
||
|
| <a href="groups.html">
|
||
|
<font color="#004faf">Grouped Classes</font></a>
|
||
|
| <a href="functions.html">
|
||
|
<font color="#004faf">Functions</font></a>
|
||
|
</td>
|
||
|
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Standard Accelerator Keys</h1>
|
||
|
|
||
|
|
||
|
<p>
|
||
|
<p> Applications invariably need to define accelerator keys for actions.
|
||
|
Qt fully supports accelerators, for example with <a href="qaccel.html#shortcutKey">QAccel::shortcutKey</a>().
|
||
|
<p> 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.
|
||
|
<p> The emboldened letter plus Alt is Microsoft's recommended choice, and
|
||
|
we recommend supporting it. For an Apply button, for example, we
|
||
|
recommend <a href="qbutton.html#setText">QButton::setText</a>( <a href="qobject.html#tr">tr</a>("&Apply") );
|
||
|
<p> If you have conflicting commands (e.g. About and Apply buttons in the
|
||
|
same dialog), you must decide for yourself.
|
||
|
<p> <ul>
|
||
|
<li> <b><u>A</u></b>bout
|
||
|
<li> Always on <b><u>T</u></b>op
|
||
|
<li> <b><u>A</u></b>pply
|
||
|
<li> <b><u>B</u></b>ack
|
||
|
<li> <b><u>B</u></b>rowse
|
||
|
<li> <b><u>C</u></b>lose (CDE: Alt+F4; Alt+F4 is "close window" in Windows)
|
||
|
<li> <b><u>C</u></b>opy (CDE: Ctrl+C, Ctrl+Insert)
|
||
|
<li> <b><u>C</u></b>opy Here
|
||
|
<li> Create <b><u>S</u></b>hortcut
|
||
|
<li> Create <b><u>S</u></b>hortcut Here
|
||
|
<li> Cu<b><u>t</u></b>
|
||
|
<li> <b><u>D</u></b>elete
|
||
|
<li> <b><u>E</u></b>dit
|
||
|
<li> <b><u>E</u></b>xit (CDE: E<b><u>x</u></b>it)
|
||
|
<li> <b><u>E</u></b>xplore
|
||
|
<li> <b><u>F</u></b>ile
|
||
|
<li> <b><u>F</u></b>ind
|
||
|
<li> <b><u>H</u></b>elp
|
||
|
<li> Help <b><u>T</u></b>opics
|
||
|
<li> <b><u>H</u></b>ide
|
||
|
<li> <b><u>I</u></b>nsert
|
||
|
<li> Insert <b><u>O</u></b>bject
|
||
|
<li> <b><u>L</u></b>ink Here
|
||
|
<li> Ma<b><u>x</u></b>imize
|
||
|
<li> Mi<b><u>n</u></b>imize
|
||
|
<li> <b><u>M</u></b>ove
|
||
|
<li> <b><u>M</u></b>ove Here
|
||
|
<li> <b><u>N</u></b>ew
|
||
|
<li> <b><u>N</u></b>ext
|
||
|
<li> <b><u>N</u></b>o
|
||
|
<li> <b><u>O</u></b>pen
|
||
|
<li> Open <b><u>W</u></b>ith
|
||
|
<li> Page Set<b><u>u</u></b>p
|
||
|
<li> <b><u>P</u></b>aste
|
||
|
<li> Paste <b><u>L</u></b>ink
|
||
|
<li> Paste <b><u>S</u></b>hortcut
|
||
|
<li> Paste <b><u>S</u></b>pecial
|
||
|
<li> <b><u>P</u></b>ause
|
||
|
<li> <b><u>P</u></b>lay
|
||
|
<li> <b><u>P</u></b>rint
|
||
|
<li> <b><u>P</u></b>rint Here
|
||
|
<li> P<b><u>r</u></b>operties
|
||
|
<li> <b><u>Q</u></b>uick View
|
||
|
<li> <b><u>R</u></b>edo (CDE: Ctrl+Y, Shift+Alt+Backspace)
|
||
|
<li> <b><u>R</u></b>epeat
|
||
|
<li> <b><u>R</u></b>estore
|
||
|
<li> <b><u>R</u></b>esume
|
||
|
<li> <b><u>R</u></b>etry
|
||
|
<li> <b><u>R</u></b>un
|
||
|
<li> <b><u>S</u></b>ave
|
||
|
<li> Save <b><u>A</u></b>s
|
||
|
<li> Select <b><u>A</u></b>ll
|
||
|
<li> Se<b><u>n</u></b>d To
|
||
|
<li> <b><u>S</u></b>how
|
||
|
<li> <b><u>S</u></b>ize
|
||
|
<li> S<b><u>p</u></b>lit
|
||
|
<li> <b><u>S</u></b>top
|
||
|
<li> <b><u>U</u></b>ndo (CDE: Ctrl+Z or Alt+Backspace)
|
||
|
<li> <b><u>V</u></b>iew
|
||
|
<li> <b><u>W</u></b>hat's This?
|
||
|
<li> <b><u>W</u></b>indow
|
||
|
<li> <b><u>Y</u></b>es
|
||
|
</ul>
|
||
|
<p> 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.
|
||
|
<p> The <a href="http://www.amazon.com/exec/obidos/ASIN/0735605661/trolltech/t">Microsoft book</a> 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.
|
||
|
<p>
|
||
|
<!-- eof -->
|
||
|
<p><address><hr><div align=center>
|
||
|
<table width=100% cellspacing=0 border=0><tr>
|
||
|
<td>Copyright © 2007
|
||
|
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
||
|
<td align=right><div align=right>Qt 3.3.8</div>
|
||
|
</table></div></address></body>
|
||
|
</html>
|