What is difference between hotkey, shortcut and accelerator key?

前端 未结 3 1344
灰色年华
灰色年华 2021-01-31 19:00
  1. What is the difference about them?

  2. In Qt, if I have a hotkey for QPushButton, I can make it by \"Alt + ?\", but if it\'s for qaction, I can press \"?\"

3条回答
  •  天涯浪人
    2021-01-31 19:17

    In Windows:

    HotKey

    Keyboard key or combination of keys that execute a command in a given context.

    Shortcut

    Multi-key HotKey with no menu navigation restrictions nor gui elements required.

    AccessKey

    Single key HotKey which command is to activate a visible command control (requires gui element) that is captioned/labeled with the corresponding hotkey letter underscored.

    Accelerator Keys

    Multi-key HotKey which command is to activate a command control (requires gui element) regardless of its visibility.

提交回复
热议问题