E
E
Egorithm2020-07-01 16:21:29
Qt
Egorithm, 2020-07-01 16:21:29

Transitive signal passing in Qt?

It is necessary that the signal from the button, which is in class-1, gets into the slot of class-2, which contains an instance of class-1. You can, of course, just create a signal, and call emit there (in the class-1 slot), but it seems to me a little crutch. Is there a way to pass the signal transitively, just through connect, or something else?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2020-07-01
@EgoRusMarch

You can connect a signal to a signal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question