返回介绍

Standard Accelerator Keys

发布于 2019-10-04 14:57:28 字数 2897 浏览 1076 评论 0 收藏 0

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.

  • About
  • Always on Top
  • Apply
  • Back
  • Browse
  • Close (CDE: Alt+F4; Alt+F4 is "close window" in Windows)
  • Copy (CDE: Ctrl+C, Ctrl+Insert)
  • Copy Here
  • Create Shortcut
  • Create Shortcut Here
  • Cut
  • Delete
  • Edit
  • Exit
  • Explore
  • File
  • Find
  • Help
  • Help Topics
  • Hide
  • Insert
  • Insert Object
  • Link Here
  • Maximize
  • Minimize
  • Move
  • Move Here
  • New
  • Next
  • No
  • Open
  • Open With
  • Page Setup
  • Paste
  • Paste Link
  • Paste Shortcut
  • Paste Special
  • Pause
  • Play
  • Print
  • Print Here
  • Properties
  • Quick View
  • Redo (CDE: Ctrl+Y, Alt+Backspace)
  • Repeat
  • Restore
  • Resume
  • Retry
  • Run
  • Save
  • Save As
  • Select All
  • Send To
  • Show
  • Size
  • Split
  • Stop
  • Undo (CDE: Ctrl+Z or Alt+Backspace)
  • View
  • What's This?
  • Window
  • Yes

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文