Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Action with multiple keyboard shortcuts in Designer
Erika last edited by Erika
Hello, I'm currently using Designer to construct the main .ui file and wanting to have an action assigned multiple keyboard shortcut combinations (eg. CTRL+C, CTRL+INS). Trying to assign two keyboard shortcuts directly in designer didn't seem to work.
Reading up, it sounds like its only possible by setting a list of KeyboardSequences via setShortcuts() during post-processing in the codebase, but I thought I'd ask here to confirm.
AFAIK, yes, you need to set them in your widget constructor.