+ QFrame* aFrame = new QFrame( this );
+ setWidget( aFrame );
+ QVBoxLayout* aLayout = new QVBoxLayout( aFrame );
+
+ myMainFrame = new QFrame( aFrame );
+ QBoxLayout* aMainLayout = new QVBoxLayout( myMainFrame );
+ aMainLayout->setMargin( 0 );
+ aMainLayout->setSpacing( 5 );
+ if( isSplitter )
+ {
+ mySplitter = new QSplitter( myMainFrame );
+ mySplitter->setOrientation( Qt::Vertical );
+ aMainLayout->addWidget( mySplitter, 1 );
+ }
+ else
+ mySplitter = 0;