I have some confusing questions on Qt signals.
(1) Assume A is B's parent. B emits a signal. Does the signal go to A? Use some code to explain my questions.
connect(B, SIGNAL(B_signal()), C, SLOT(C_slot()));
connect(A, SIGNAL(B_signal()), C, SLOT(C_slot()));
Is the second line valid?
(2) If A is derived from B, does A have B's signals?
Thanks.