How to forward Wheel events to parent of TableView?
-
@p3c0 with defauld
TableView's interaction. I do not use any custom delegates or something.
So when I roll the wheel the whel actions are consumd by `TableView even if it is not scrollable.@Kofr Can you show us the wheelEvent function in your tableview? It sounds like you are taking the events even when you don't want them.
If you don't accept the event during times where you don't want to handle them it will move on to the next event handler. I.e.
event->setAccepted(false). -
@p3c0 with defauld
TableView's interaction. I do not use any custom delegates or something.
So when I roll the wheel the whel actions are consumd by `TableView even if it is not scrollable. -
@Kofr I'm too not sure how to foward these events without
MouseArea. I suppose these mouse areas are in the default implementation which we cannot modify.
Btw. why do you have such requirement where these 2 views overlap ? -
@ambershark Thanks. I'm still learning :)
pressDelayas the name says allows the Item to wait for a certain period of time before it propagates events to the children i.e the delegates. If not specified the events are instantly sent to the children and then never propagated back unless we add any such functionality which we can't in the default implementation. -
I would have used
interactive: falsethat seems much more suited for your problem and obvious unless I don't understand your problem. -
I would have used
interactive: falsethat seems much more suited for your problem and obvious unless I don't understand your problem.