Unsolved How to install event filter to example 100 widgets created dynamic with the same name?
-
I tried
qApp->installeventFilter(this); widg->installeventFilter(this);
All work only on last created widget. How do it to work on all widgets ?
-
And where are the 100 widgets you created? installEventFilter() can handle more than one object for sure.
-
all widgets are childrens another widget .
-
@R4leY
What does the event filter do for the 100 widgets? -
OnClick on widget display new Dialog.
-
@R4leY
Ok so you are using plain widget and not a subclass that
could handle this itself?
Should work on many widget so if only works for last, you have some sort
of issue in the code.