[SOLVED] How do i know if the focus is changed from QTextEdit?..like in QLineEdit
-
Hi All,
I want to trigger some event if the focus on my QTextEdit has changed..
and i achived for QlineEdit..but not for QTextEdit..@
connect( ui->lineEdit, SIGNAL(lostFocus()), this , SLOT(lineEditFocusChanged()));
// connect( ui->textEdit, SIGNAL(lostFocus), this, SLOT(textEditFocusChanged()))
@Please let me know if anyother way to achive my task???
-
look to "QWidget::focusOutEvent":http://doc.qt.nokia.com/4.7/qwidget.html#focusOutEvent