hi, how do i use the parent variable to pass methods to an answer form
-
@milhao Please learn to ask understandable questions!
If you want to call something from child widget to parent: this would be bad design! Child widgets should not know anything about parent widget. Better is to emit a signal from child widget. This signal can be connected to a slot in parent. -
@milhao Please learn to ask understandable questions!
If you want to call something from child widget to parent: this would be bad design! Child widgets should not know anything about parent widget. Better is to emit a signal from child widget. This signal can be connected to a slot in parent. -
Hi,
Add proper APIs to your child widgets and let the parent set the values.
-
@milhao Please learn to ask understandable questions!
If you want to call something from child widget to parent: this would be bad design! Child widgets should not know anything about parent widget. Better is to emit a signal from child widget. This signal can be connected to a slot in parent.