dvmorris
7th October 2007, 00:25
I am trying to use setTabChangesFocus(false) to allow users to type in a qtextedit widget and be able to insert tab characters...
When I type a tab key, it inserts one tab, and also changes focus to the mainwindow. When I set setTabChangesFocus(true) it loses focus when tab is pressbut doesn't insert a tab character in the qtextedit widget.
Am I missing something? It's also highlighting menus in the menu bar as I type letters in the qtextedit widget that correspond to application shortcuts, but doesn't actually execute the shortcut. That's a whole different problem i'm sure, I'm really just worried about the tab focus problem.
Thanks for the help,
dave
When I type a tab key, it inserts one tab, and also changes focus to the mainwindow. When I set setTabChangesFocus(true) it loses focus when tab is pressbut doesn't insert a tab character in the qtextedit widget.
Am I missing something? It's also highlighting menus in the menu bar as I type letters in the qtextedit widget that correspond to application shortcuts, but doesn't actually execute the shortcut. That's a whole different problem i'm sure, I'm really just worried about the tab focus problem.
Thanks for the help,
dave