Answer the question
In order to leave comments, you need to log in
Qt. How to get a pointer to the widget that emitted the signal in the slot?
There can be any number of buttons, and they are created dynamically. Naturally, they connect to the same slot. How can I get a pointer to the QPushButton that emitted the signal? Or, if not, how can this problem be solved differently?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question