Hello,

Is there a virtual method or a signal that a widget receives when a new widget is created or displayed that uses the first as its parent?

For example, I have widget foo, then create a new QWidget bar(foo), so foo is bar's parent. I want foo to do something to bar when bar is created or shown.

Actually, I'm specifically interested in QDialogs as children of a parent widget.

Does this make sense? Does anyone have any ideas?

Thanks

Reed