I have a QMainWindow which has some child controls (eg. QTableView).
Now I want to QMainWindow get all mouse click event. How to do this?
I am using Qt4.3 with XP
I have tried eventFilter() in QMainWindow, but problem is when you click on the QTableView(actually any kind of child control)
,progrom can't enter the QMainWindow's eventFilter().
Can anybody help me?


Reply With Quote

Bookmarks