QTabWidget containing QPlainTextEdit and focus
I'm programming a simple code editor where the main widget is a QTabWidget containing QPlainTextEdit. I got a problem with the focus. If I open, lets say 3 files, I can switch between thoose using Alt+Tab shortcut. Everything's just fine for the moment. But when I click in a QPlainTextEdit, if I press again Alt+Tab, a tab character will spawn in the QPlainTextEdit but it won't switch to the next widget in the QTabWidget.
How can I fix this behavior ?
Thanx in advance ;)
You can take a look to the reported bug: "QTBUG-17967":https://bugreports.qt-project.org/browse/QTBUG-17967