M
M
Mercury132016-03-21 13:37:39
User interface
Mercury13, 2016-03-21 13:37:39

Qt: how to make an invisible hotkey?

Often there are hotkeys that are so famous that even a menu item is not needed for them: for example, “Continue Search” (F3) or another version of the “Copy” command (Ctrl + Ins).
How this was implemented in Delphi: they created another TAction, set a key, and off they went!
How to do the same in Qt? QAction, if not in the menu or on the panel, then it does not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mercury13, 2016-03-21
@Mercury13

Understood.
doc.qt.io/qt-5.6/qshortcut.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question