Quote Originally Posted by mickey
Qt Code:
  1. myMainForm::myMainForm( QWidget* parent, const char* name, WFlags fl )
  2. : MainForm( parent, name, fl )
  3. {
  4. popup = new FancyPopup(this);
To copy to clipboard, switch view to plain text mode 
mmmm sorry but here above I created an instance of FancyPopup with argument 'this'; then how its parent is null? thanks