Categories
How to bind 2 actions to 1 slot in QT?
Answer the question
In order to leave comments, you need to log in
In Qt, signals and slots can be bound in any combination as long as their signatures are compatible. In this case, you just need to do 2 QObject::Connect() to connect these QActions to the slot.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question