热键,快捷键和加速键有什么区别? [英] What is difference between hotkey, shortcut and accelerator key?
问题描述
-
他们有什么区别?
What is the difference about them?
在Qt中,如果我有一个热键QPushButton,我可以通过Alt +?,但如果是为qaction, ?只有
In Qt, if I have a hotkey for QPushButton, I can make it by "Alt + ?", but if it's for qaction, I can press "?" only
推荐答案
>是应用程序全局;例如 Alt + F4 。
In Windows, an accelerator key is application global; e.g. Alt+F4.
快捷键
来自Microsoft:
From Microsoft:
热键是用户可以按下以快速执行操作的键组合。例如,用户可以创建激活给定窗口并将其带到z顺序顶部的热键。
A hot key is a key combination that the user can press to perform an action quickly. For example, a user can create a hot key that activates a given window and brings it to the top of the z-order.
这似乎表明热键是系统全局的。
which seems to indicate that hot keys are system global.
总结:
- 快捷键=没有修饰符,菜单中的本地或窗口中的(对于按钮)
- 加速键=通常带修饰符,应用程序全局
- hot key =显然系统全局
我不知道Qt中的具体含义;有关的,请参阅Qt文档。
I don't know about specific meanings in Qt; for that see the Qt documentation.
这篇关于热键,快捷键和加速键有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!