Dear Qt Users,
I am facing a problem with QVtkWidget under QTabWidget. I have vtkImageViewer2 to bind with QVtkWidget and vtkInteractorStyleImage for the render window interactions.
QVtkWidget does not catch any event from keyboard or from mouse when I put QVtkWidget inside QTabWidget. But, If I use QVtkWidget outside QTabWidget then it's work fine.
I tried this code in MainWindow Constructor
QApplication::sendPostedEvents();
QApplication:rocessEvents(QEventLoop::AllEvents);
Also I tried, InstallEventFilter, still it is not working. Could you please guide me, what I need to do for proper interaction working ?
Best
Muhammad Jawad
Bookmarks