summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qtablewidget-using/main.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-11 15:20:52 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-13 09:24:41 +0200
commit285294b684ac973efcf2c8ff92b427db3fb75948 (patch)
treea4291f3ae3ffd0ab75fb01b1912b4b09e32b0e1a /src/widgets/doc/snippets/qtablewidget-using/main.cpp
parentd4c7da9a07dc1434692fe08a61ba22c794574c4f (diff)
macOS: support shortcut for Ctrl-modified Tab
Ctrl+(Shift/Option/Cmd)+Tab presses are not handled as a regular key events, and are not seen by our NSView.keyDown implementation. But they are delivered to a performKeyEquivalent implementation, so if we see a Tab key being pressed with the Ctrl modifier down, then send a shortcut event and stop processing if that event got accepted by Qt. Pick-to: 6.7 Fixes: QTBUG-113492 Task-number: QTBUG-8596 Change-Id: Id3aa7021a689b94d97eb881b19ddf7cb039e1bd2 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-using/main.cpp')
0 files changed, 0 insertions, 0 deletions