Different Mouse Behaviours
I want to create a mouse event in a restricted area.
First i created a mainwindow and a frame inside the mainwindow. Now i want to define a mouse event which is available only frame inside.
How can i achieve this? I need your advices.
https://i.hizliresim.com/vJmA74.jpg //ui screenshoot
Thanks for your attention
Either re-implement the various mouseXXXevent methods of the widgets you want to customise or use an event filter depending on what you would like to do.
It's explained in The Event System chapter of Qt's documentation.