Hi.
i have shortcuts in QMainWindow
all works OK. but only when QMainWindow is active. when i have selected other Widget, this shortcuts not working. How edit code for using this shortcuts for all widgets in this application?
EDIT: this work
Qt Code:
action->setShortcutContext(Qt::ApplicationShortcut);To copy to clipboard, switch view to plain text mode
Bookmarks