~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/accelerators.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/doc/src/accelerators.qdoc -->
 
6
<head>
 
7
    <title>Qt 4.0: Standard Accelerator Keys</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">Standard Accelerator Keys</h1>
 
21
<p>Applications invariably need to define accelerator keys for actions. Qt fully supports accelerators, for example with <a href="q3accel.html#shortcutKey">Q3Accel::shortcutKey</a>().</p>
 
22
<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>
 
23
<p>The emboldened letter plus Alt is Microsoft's recommended choice, and we recommend supporting it. For an Apply button, for example, we recommend QAbstractButton::setText(<a href="qobject.html#tr">tr</a>(&quot;&amp;Apply&quot;));</p>
 
24
<p>If you have conflicting commands (e.g. About and Apply buttons in the same dialog), you must decide for yourself.</p>
 
25
<ul>
 
26
<li><b><u>A</u></b>bout</li>
 
27
<li>Always on <b><u>T</u></b>op</li>
 
28
<li><b><u>A</u></b>pply</li>
 
29
<li><b><u>B</u></b>ack</li>
 
30
<li><b><u>B</u></b>rowse</li>
 
31
<li><b><u>C</u></b>lose (CDE: Alt+F4; Alt+F4 is &quot;close window&quot; in Windows)</li>
 
32
<li><b><u>C</u></b>opy (CDE: Ctrl+C, Ctrl+Insert)</li>
 
33
<li><b><u>C</u></b>opy Here</li>
 
34
<li>Create <b><u>S</u></b>hortcut</li>
 
35
<li>Create <b><u>S</u></b>hortcut Here</li>
 
36
<li>Cu<b><u>t</u></b></li>
 
37
<li><b><u>D</u></b>elete</li>
 
38
<li><b><u>E</u></b>dit</li>
 
39
<li><b><u>E</u></b>xit (CDE: E<b><u>x</u></b>it)</li>
 
40
<li><b><u>E</u></b>xplore</li>
 
41
<li><b><u>F</u></b>ile</li>
 
42
<li><b><u>F</u></b>ind</li>
 
43
<li><b><u>H</u></b>elp</li>
 
44
<li>Help <b><u>T</u></b>opics</li>
 
45
<li><b><u>H</u></b>ide</li>
 
46
<li><b><u>I</u></b>nsert</li>
 
47
<li>Insert <b><u>O</u></b>bject</li>
 
48
<li><b><u>L</u></b>ink Here</li>
 
49
<li>Ma<b><u>x</u></b>imize</li>
 
50
<li>Mi<b><u>n</u></b>imize</li>
 
51
<li><b><u>M</u></b>ove</li>
 
52
<li><b><u>M</u></b>ove Here</li>
 
53
<li><b><u>N</u></b>ew</li>
 
54
<li><b><u>N</u></b>ext</li>
 
55
<li><b><u>N</u></b>o</li>
 
56
<li><b><u>O</u></b>pen</li>
 
57
<li>Open <b><u>W</u></b>ith</li>
 
58
<li>Page Set<b><u>u</u></b>p</li>
 
59
<li><b><u>P</u></b>aste</li>
 
60
<li>Paste <b><u>L</u></b>ink</li>
 
61
<li>Paste <b><u>S</u></b>hortcut</li>
 
62
<li>Paste <b><u>S</u></b>pecial</li>
 
63
<li><b><u>P</u></b>ause</li>
 
64
<li><b><u>P</u></b>lay</li>
 
65
<li><b><u>P</u></b>rint</li>
 
66
<li><b><u>P</u></b>rint Here</li>
 
67
<li>P<b><u>r</u></b>operties</li>
 
68
<li><b><u>Q</u></b>uick View</li>
 
69
<li><b><u>R</u></b>edo (CDE: Ctrl+Y, Shift+Alt+Backspace)</li>
 
70
<li><b><u>R</u></b>epeat</li>
 
71
<li><b><u>R</u></b>estore</li>
 
72
<li><b><u>R</u></b>esume</li>
 
73
<li><b><u>R</u></b>etry</li>
 
74
<li><b><u>R</u></b>un</li>
 
75
<li><b><u>S</u></b>ave</li>
 
76
<li>Save <b><u>A</u></b>s</li>
 
77
<li>Select <b><u>A</u></b>ll</li>
 
78
<li>Se<b><u>n</u></b>d To</li>
 
79
<li><b><u>S</u></b>how</li>
 
80
<li><b><u>S</u></b>ize</li>
 
81
<li>S<b><u>p</u></b>lit</li>
 
82
<li><b><u>S</u></b>top</li>
 
83
<li><b><u>U</u></b>ndo (CDE: Ctrl+Z or Alt+Backspace)</li>
 
84
<li><b><u>V</u></b>iew</li>
 
85
<li><b><u>W</u></b>hat's This?</li>
 
86
<li><b><u>W</u></b>indow</li>
 
87
<li><b><u>Y</u></b>es</li>
 
88
</ul>
 
89
<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>
 
90
<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, <a href="mailto:ogpubs@opengroup">ogpubs@opengroup</a>.org might be able to help. Ask them for ISBN 1859121047.</p>
 
91
<p /><address><hr /><div align="center">
 
92
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
93
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
94
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
95
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
96
</tr></table></div></address></body>
 
97
</html>