Does a parent QState emit entered() when a child is entered?
-
Title. I have distinct child states that all should connect to the same slot on
entered()
. I could just connect each child state specifically to the slot but I was wondering if a child state being entered will cause the parent state to emitentered()
also. -
Hi,
AFAIK, no, but you can achieve that by grouping your child states inside a common state. Then use the signal from that one.
Hope it helps