S
S
Stanislav Silin2014-11-09 18:06:21
Qt
Stanislav Silin, 2014-11-09 18:06:21

How to find out which widget generated the event?

There are two widgets and a handler that is attached to both at once. And then one of them generates an event ... how to find out which one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DancingOnWater, 2014-11-09
@byme

Well, the pointer to the widget should be passed to the eventfilter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question