Answer the question
In order to leave comments, you need to log in
What is the best way to bind signals and slots?
I understand correctly that there are two ways to create slot and signal connections: through ui, and through code, i.e. connect()?
How to do it right? After all, if I do it through ui, this is not displayed in the code.
Or am I misunderstanding?
Answer the question
In order to leave comments, you need to log in
If you do this through ui, then moc will generate code where there will still be the same connect that you would have done yourself.
So there is no difference.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question