qtuser20
19th February 2010, 03:05
Hi I am using a QTextedit for a an autocompleter .i display the search results in a QDialog with window flag QT::popup .
However after i type the first character the focus shifts to popup , the textedit cursor disappears.
This is not the case when i the window flag QT::Tooltip or framelesswindowhint.
In QDialog i set the focuspolicy to no focus.
How can i get the focus/cursor back to textedit ?
Thankyou
However after i type the first character the focus shifts to popup , the textedit cursor disappears.
This is not the case when i the window flag QT::Tooltip or framelesswindowhint.
In QDialog i set the focuspolicy to no focus.
How can i get the focus/cursor back to textedit ?
Thankyou