source: trunk/doc/html/accelerators.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qaccel.cpp:984 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>Standard Accelerator Keys</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<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>
33
34
35<p>
36<p> Applications invariably need to define accelerator keys for actions.
37Qt fully supports accelerators, for example with <a href="qaccel.html#shortcutKey">QAccel::shortcutKey</a>().
38<p> Here are Microsoft's recommendations for accelerator keys, with
39comments about the Open Group's recommendations where they exist
40and differ. For most commands, the Open Group either has no advice or
41agrees with Microsoft.
42<p> The emboldened letter plus Alt is Microsoft's recommended choice, and
43we recommend supporting it. For an Apply button, for example, we
44recommend <a href="qbutton.html#setText">QButton::setText</a>( <a href="qobject.html#tr">tr</a>("&amp;Apply") );
45<p> If you have conflicting commands (e.g. About and Apply buttons in the
46same dialog), you must decide for yourself.
47<p> <ul>
48<li> <b><u>A</u></b>bout
49<li> Always on <b><u>T</u></b>op
50<li> <b><u>A</u></b>pply
51<li> <b><u>B</u></b>ack
52<li> <b><u>B</u></b>rowse
53<li> <b><u>C</u></b>lose (CDE: Alt+F4; Alt+F4 is "close window" in Windows)
54<li> <b><u>C</u></b>opy (CDE: Ctrl+C, Ctrl+Insert)
55<li> <b><u>C</u></b>opy Here
56<li> Create <b><u>S</u></b>hortcut
57<li> Create <b><u>S</u></b>hortcut Here
58<li> Cu<b><u>t</u></b>
59<li> <b><u>D</u></b>elete
60<li> <b><u>E</u></b>dit
61<li> <b><u>E</u></b>xit (CDE: E<b><u>x</u></b>it)
62<li> <b><u>E</u></b>xplore
63<li> <b><u>F</u></b>ile
64<li> <b><u>F</u></b>ind
65<li> <b><u>H</u></b>elp
66<li> Help <b><u>T</u></b>opics
67<li> <b><u>H</u></b>ide
68<li> <b><u>I</u></b>nsert
69<li> Insert <b><u>O</u></b>bject
70<li> <b><u>L</u></b>ink Here
71<li> Ma<b><u>x</u></b>imize
72<li> Mi<b><u>n</u></b>imize
73<li> <b><u>M</u></b>ove
74<li> <b><u>M</u></b>ove Here
75<li> <b><u>N</u></b>ew
76<li> <b><u>N</u></b>ext
77<li> <b><u>N</u></b>o
78<li> <b><u>O</u></b>pen
79<li> Open <b><u>W</u></b>ith
80<li> Page Set<b><u>u</u></b>p
81<li> <b><u>P</u></b>aste
82<li> Paste <b><u>L</u></b>ink
83<li> Paste <b><u>S</u></b>hortcut
84<li> Paste <b><u>S</u></b>pecial
85<li> <b><u>P</u></b>ause
86<li> <b><u>P</u></b>lay
87<li> <b><u>P</u></b>rint
88<li> <b><u>P</u></b>rint Here
89<li> P<b><u>r</u></b>operties
90<li> <b><u>Q</u></b>uick View
91<li> <b><u>R</u></b>edo (CDE: Ctrl+Y, Shift+Alt+Backspace)
92<li> <b><u>R</u></b>epeat
93<li> <b><u>R</u></b>estore
94<li> <b><u>R</u></b>esume
95<li> <b><u>R</u></b>etry
96<li> <b><u>R</u></b>un
97<li> <b><u>S</u></b>ave
98<li> Save <b><u>A</u></b>s
99<li> Select <b><u>A</u></b>ll
100<li> Se<b><u>n</u></b>d To
101<li> <b><u>S</u></b>how
102<li> <b><u>S</u></b>ize
103<li> S<b><u>p</u></b>lit
104<li> <b><u>S</u></b>top
105<li> <b><u>U</u></b>ndo (CDE: Ctrl+Z or Alt+Backspace)
106<li> <b><u>V</u></b>iew
107<li> <b><u>W</u></b>hat's This?
108<li> <b><u>W</u></b>indow
109<li> <b><u>Y</u></b>es
110</ul>
111<p> There are also a lot of other keys and actions (that use other
112modifier keys than Alt). See the Microsoft and The Open Group
113documentation for details.
114<p> The <a href="http://www.amazon.com/exec/obidos/ASIN/0735605661/trolltech/t">Microsoft book</a> has ISBN 0735605661. The corresponding Open Group
115book is very hard to find, rather expensive and we cannot recommend
116it. However, if you really want it, OGPubs@opengroup.org might be able
117to help. Ask them for ISBN 1859121047.
118<p>
119<!-- eof -->
120<p><address><hr><div align=center>
121<table width=100% cellspacing=0 border=0><tr>
122<td>Copyright &copy; 2007
123<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
124<td align=right><div align=right>Qt 3.3.8</div>
125</table></div></address></body>
126</html>
Note: See TracBrowser for help on using the repository browser.