Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > f93881942bd3805980c2fe63aa853d78 > files > 3

qtdoc5-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- accelerators.qdoc -->
  <title>Standard Accelerator Keys | Qt 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.9</a></td><td ><a href="overviews-main.html#best-practices">Best Practice Guides</a></td><td >Standard Accelerator Keys</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Standard Accelerator Keys</h1>
<span class="subtitle"></span>
<!-- $$$accelerators.html-description -->
<div class="descr"> <a name="details"></a>
<p>Applications invariably need to define accelerator keys for actions. Qt fully supports accelerators, for example with QShortcut. Platform defaults for key bindings can also be assigned using QKeySequence::StandardKey.</p>
<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>
<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(tr(&quot;&amp;Apply&quot;));</p>
<p>If you have conflicting commands (e.g&#x2e; About and Apply buttons in the same dialog), you must decide for yourself.</p>
<ul>
<li><b><u>A</u></b>bout</li>
<li>Always on <b><u>T</u></b>op</li>
<li><b><u>A</u></b>pply</li>
<li><b><u>B</u></b>ack</li>
<li><b><u>B</u></b>rowse</li>
<li><b><u>C</u></b>lose (CDE: Alt+F4; Alt+F4 is &quot;close window&quot; in Windows)</li>
<li><b><u>C</u></b>opy (CDE: Ctrl+C, Ctrl+Insert)</li>
<li><b><u>C</u></b>opy Here</li>
<li>Create <b><u>S</u></b>hortcut</li>
<li>Create <b><u>S</u></b>hortcut Here</li>
<li>Cu<b><u>t</u></b></li>
<li><b><u>D</u></b>elete</li>
<li><b><u>E</u></b>dit</li>
<li><b><u>E</u></b>xit (CDE: E<b><u>x</u></b>it)</li>
<li><b><u>E</u></b>xplore</li>
<li><b><u>F</u></b>ile</li>
<li><b><u>F</u></b>ind</li>
<li><b><u>H</u></b>elp</li>
<li>Help <b><u>T</u></b>opics</li>
<li><b><u>H</u></b>ide</li>
<li><b><u>I</u></b>nsert</li>
<li>Insert <b><u>O</u></b>bject</li>
<li><b><u>L</u></b>ink Here</li>
<li>Ma<b><u>x</u></b>imize</li>
<li>Mi<b><u>n</u></b>imize</li>
<li><b><u>M</u></b>ove</li>
<li><b><u>M</u></b>ove Here</li>
<li><b><u>N</u></b>ew</li>
<li><b><u>N</u></b>ext</li>
<li><b><u>N</u></b>o</li>
<li><b><u>O</u></b>pen</li>
<li>Open <b><u>W</u></b>ith</li>
<li>Page Set<b><u>u</u></b>p</li>
<li><b><u>P</u></b>aste</li>
<li>Paste <b><u>L</u></b>ink</li>
<li>Paste <b><u>S</u></b>hortcut</li>
<li>Paste <b><u>S</u></b>pecial</li>
<li><b><u>P</u></b>ause</li>
<li><b><u>P</u></b>lay</li>
<li><b><u>P</u></b>rint</li>
<li><b><u>P</u></b>rint Here</li>
<li>P<b><u>r</u></b>operties</li>
<li><b><u>Q</u></b>uick View</li>
<li><b><u>R</u></b>edo (CDE: Ctrl+Y, Shift+Alt+Backspace)</li>
<li><b><u>R</u></b>epeat</li>
<li><b><u>R</u></b>estore</li>
<li><b><u>R</u></b>esume</li>
<li><b><u>R</u></b>etry</li>
<li><b><u>R</u></b>un</li>
<li><b><u>S</u></b>ave</li>
<li>Save <b><u>A</u></b>s</li>
<li>Select <b><u>A</u></b>ll</li>
<li>Se<b><u>n</u></b>d To</li>
<li><b><u>S</u></b>how</li>
<li><b><u>S</u></b>ize</li>
<li>S<b><u>p</u></b>lit</li>
<li><b><u>S</u></b>top</li>
<li><b><u>U</u></b>ndo (CDE: Ctrl+Z or Alt+Backspace)</li>
<li><b><u>V</u></b>iew</li>
<li><b><u>W</u></b>hat's This?</li>
<li><b><u>W</u></b>indow</li>
<li><b><u>Y</u></b>es</li>
</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>
<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>
</div>
<!-- @@@accelerators.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>