Hi, I've done this thing; I wonder if could arise a problem...can I avoid _myw with a simple parent() ??? thanks
	
	- #include "mymainform.h" 
- myLightDialog ::myLightDialog( QWidget*-  parent,  const char*-  name,  bool-  modal, WFlags fl  )
- 	:lightDialog (parent, name, modal, fl)  { 
- 		_myw = (myMainForm*) parent; 
        #include "mymainform.h"
myLightDialog::myLightDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
	:lightDialog (parent, name, modal, fl)  {
		_myw = (myMainForm*) parent;
To copy to clipboard, switch view to plain text mode 
  
	
	- #include <myLightDialog.h> 
- myMainForm ::myMainForm( QWidget*-  parent,  const char*-  name, WFlags fl  )
-     : MainForm( parent, name, fl ) 
- { 
-    lightd = new myLightDialog(this); 
        #include <myLightDialog.h>
myMainForm::myMainForm( QWidget* parent, const char* name, WFlags fl )
    : MainForm( parent, name, fl )
{
   lightd = new myLightDialog(this);
To copy to clipboard, switch view to plain text mode 
  
				
			
Bookmarks