Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, May 2008
[QT4] QTextEdit popup and stealing focus


Message 1 in thread

Hi

I need some help with focus stealing.
I have created QTextEdit widget and it will show popup dialog
where is view with some common user defined phrases.
If I click at item on view, it will insert text to QTextEdit,
but I lose focus from QTextEdit.
I tried use popup->setFocusProxy( textEdit ) without luck.

I'm sure that I am missing something, maybe somebody can point
right direction (maybe use eventFilter ?).

Raul

--
 [ signature omitted ]