Originally Posted by
wysota
Keep a pointer to this widget as a member of the dialog class and initialise it in the constructor of a dialog.
yes, I made this.
myMainForm* _myw;
myLightDialog
::myLightDialog( QWidget* parent,
const char* name,
bool modal, WFlags fl
) :lightDialog (parent, name, modal, fl), _myw ( ????)( {
}
myMainForm* _myw;
myLightDialog::myLightDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
:lightDialog (parent, name, modal, fl), _myw ( ????)( {
}
To copy to clipboard, switch view to plain text mode
Actually mymainForm isn't parent of myLightDialog...
Bookmarks