View Single Post
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Hi,

Originally Posted by ahmadka View Post
What I need is to have some kind of an event (or signal) associated with this main window which triggers the paintEvent when there is a mouseDown event, or something similar ... problem is that I cannot find all the events/signals QMainWindow supports ..
you find all the supported signals/slots of each class in the official documentation. (Small hint: if you click F1, while browsing over a class in QtCreator, you get there directly). What you want to do, is overwriting the mouse event function and handling the event for your needs.

Daniel