View Full Version : QTableWidget get focus lost event
karankumar1609
2nd May 2013, 06:49
Is there any event in QTableWidget through which i get the tablewidget has lost its focus?
wysota
2nd May 2013, 06:58
QWidget::focusOutEvent()
karankumar1609
8th May 2013, 07:09
Hello wysota,
i have implemented QWidget::focusOutEvent() (http://qt-project.org/doc/qt-4.8/qwidget.html#focusOutEvent)
But it is not exactly what i want. I have also set the focus policy as clickFocus but still the same .
Actually i am searching something through which i got event even if i click outside of tree widget.
QWidget::focusOutEvent() (http://qt-project.org/doc/qt-4.8/qwidget.html#focusOutEvent) gives me event when it lost focus. that means when i click on any other widget.
Any idea about get event when click outside the tree widget.?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.