Different Mouse Behaviours
Unsolved
General and Desktop
-
Hello everyone,
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 -
Hi,
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.