i want to call an auto call event which gets calls automatically after any control or widget get changed
Here i am using QGraphicsview control to add line .
line is added using QGraphicsLine through mouse move event, and press event,
but i want to do operation after any image is inserted into view contrl.
in Windows Visual Studio System paint event is called every time whenever any control has been changed
Hi and welcome to devnet,
Since you are inserting the image yourself, why not start something from the function where you add the image to the QGraphicsView ?
for a system (Qt-wise) wide notification you can create your own custom event and post it to the QApplication.
Then any other object/widget can read these events (by installing an event filter on the QApplication instance)