Qt::META + Qt::Key_Tab
I'm trying to bind Qt::META + Qt::Key_Tab shortcut in QTabWidget to change current tab (like it works in chrome or many other applications).
I have tried every single solution found in google, but this shortcut combination is not working.
I have tried:
- capturing keys using virtual QWidget::event
- capturing keys using virtual QWidget::eventFilter with installEventFilter
- all relative like keyPressed and etc..
QWidget::event catches Shift+Tab, Alt+Tab, but not Ctrl(META)+Tab.
Can somebody explain me what is wrong and so special with this particular key combination in QT on OSX?
*Note: *It works great on Windows, it doesn't work on OSX!
OSX Mountain Lion 10.8.5
I'm newbie to this forum, so please let me know if you need more info.
I appreciate any help.
Thanks in advance!
UPD: In Qt Creator I'm not able to set Ctrl+Tab shortcut, thats really ridiculous.
Hi and welcome to devnet,
Did you try with Qt::Key_Meta ?
Just tried, Qt::Key_Meta + Qt::Key_Tab becomes Shift+# (⇧#).
Thanks for reply!
[quote author="SGaist" date="1387493644"]Hi and welcome to devnet,
Did you try with Qt::Key_Meta ?[/quote]
Funny, in QT Creator you can't set Ctrl+Tab shortcut either.
Did you retry with the latest version of Qt Creator ?