You must reimplement the QLabel's mouse press event, not the one for the window.
Most likely that is why you're getting thius behavior.
To access scribblePad from the labels's mouse event you have to make your main window a singleton. Then you can do something like MainWindow::instance()->getScribblePad()->navigateNext().
Regards




Reply With Quote



Bookmarks