I’m building a small programming environment with a widget that inherits QTextEdit for editing code, and a widget that inherits QTreeWidget for displaying parse issues.
When I double-click on an issue (an item in the tree widget) it (among other things) calls setFocus() on the edit widget which makes the cursor visible, but it doesn’t receive the keyboard input (I can’t type anything) until I actually click on the edit widget.
Debugger definitely shows that setFocus() is called.
I’m using Qt 5.0.1 on Ubuntu 13.04
↧