Otherwise assigning a key combination which is currently bound to a global
shortcut action will trigger the global shortcut.
Details
Details
- Reviewers
davidedmundson apol - Group Reviewers
Frameworks - Commits
- R296:7ede04501eda: Grab the keyboard when KeySequenceItem is recording
Try to assign a global shortcut to KKeySequenceItem. The global shortcut is
not triggered - instead the steal shortcut prompt is displayed.
Diff Detail
Diff Detail
- Repository
- R296 KDeclarative
- Branch
- grabkeyboard (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 17812 Build 17830: arc lint + arc unit
Comment Actions
Alternatively you could make the KeySequenceHelper itself a QQuickItem so it gets assigned a window.
src/qmlcontrols/kquickcontrols/private/keysequencehelper.cpp | ||
---|---|---|
117 | Typically store items created by QtQuick in a QPointer so we can detect when they are garbage collected | |
src/qmlcontrols/kquickcontrols/private/keysequencehelper.h | ||
63 | this needs a NOTIFY argument, corresponding signal and emit in the setter |