void ScreeningDialog::createGui( )
{
QLabel *outputDirLabel
= new QLabel( tr
( "Output Directory:" ), mainWidget
);
mpOutputDirLnEd
= new QLineEdit( mainWidget
);
connect( outputButton, SIGNAL( clicked( ) ), this, SLOT( openDirPressed( ) ) );
QLabel *confFileLabel
= new QLabel( tr
( "Configuration File:" ), mainWidget
);
mpConfFileLnEd
= new QLineEdit( mainWidget
);
connect( confButton, SIGNAL( clicked( ) ), this, SLOT( openFilePressed( ) ) );
methodGroup->setExclusive( true );
mpWidthCB
= new QCheckBox( tr
( "Width" ), methodBox
);
mpAutoCB
= new QCheckBox( tr
( "Auto" ), methodBox
);
methodGroup->insert( mpWidthCB );
methodGroup->insert( mpAutoCB );
methodLayout->addWidget( mpWidthCB );
methodLayout->addWidget( mpAutoCB );
connect( executeButton, SIGNAL( clicked( ) ), this, SLOT( executePressed( ) ) );
connect( cancelButton, SIGNAL( clicked( ) ), this, SLOT( cancelPressed( ) ) );
mainLayout->addWidget( outputDirLabel, 0, 0 );
mainLayout->addWidget( mpOutputDirLnEd, 0, 1 );
mainLayout->addWidget( outputButton, 0, 2 );
mainLayout->addWidget( confFileLabel, 1, 0 );
mainLayout->addWidget( mpConfFileLnEd, 1, 1 );
mainLayout->addWidget( confButton, 1, 2 );
mainLayout->addWidget( methodBox, 2, 0 );
mainLayout->addWidget( executeButton, 3, 1 );
mainLayout->addWidget( cancelButton, 3, 2 );
}