Logo Search packages:      
Sourcecode: kconfigure version File versions  Download package

ExtractDlg::ExtractDlg ( QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0 
)

Parameters:
parent 
name 
Returns:

Definition at line 44 of file extractdlg.cpp.

References languageChange(), MyDialogLayout, slotExtractCheck(), and slotOK().

                                                                                 : QDialog( parent, name, modal, fl )
{
      if ( !name )
            setName( i18n("Extract options") );
      setSizeGripEnabled( TRUE );
      MyDialogLayout = new QGridLayout( this, 1, 1, 11, 6, "MyDialogLayout"); 
      
      layout6 = new QGridLayout( 0, 1, 1, 0, 6, "layout6"); 
      
      textLabel3 = new QLabel( this, "textLabel3" );
      
      layout6->addWidget( textLabel3, 0, 0 );
      
      textLabel4 = new QLabel( this, "textLabel4" );
      
      layout6->addWidget( textLabel4, 1, 0 );
      
      DirName_label = new QLabel( this, "DirName_label" );
      
      layout6->addWidget( DirName_label, 1, 1 );
      
      FileName_label = new QLabel( this, "FileName_label" );
      
      layout6->addWidget( FileName_label, 0, 1 );
      
      MyDialogLayout->addLayout( layout6, 0, 0 );
      spacer29 = new QSpacerItem( 100, 41, QSizePolicy::Expanding, QSizePolicy::Minimum );
      MyDialogLayout->addItem( spacer29, 0, 1 );
      
      buttonGroup1 = new QButtonGroup( this, "buttonGroup1" );
      
      kurlrequest = new KURLRequester( buttonGroup1, "kurlrequest" );
      kurlrequest->setGeometry( QRect( 50, 70, 270, 32 ) );
      
      extractDir_radio = new QRadioButton( buttonGroup1, "extractDir_radio" );
      extractDir_radio->setGeometry( QRect( 20, 40, 270, 22 ) );
      
      extractCurrent_radio = new QRadioButton( buttonGroup1, "extractCurrent_radio" );
      extractCurrent_radio->setGeometry( QRect( 20, 20, 270, 22 ) );
      extractCurrent_radio->setChecked(true);
      slotExtractCheck();
      
      MyDialogLayout->addMultiCellWidget( buttonGroup1, 2, 2, 0, 1 );
      
      layout5 = new QGridLayout( 0, 1, 1, 0, 6, "layout5"); 
      
      buttonCancel = new QPushButton( this, "buttonCancel" );
      buttonCancel->setAutoDefault( TRUE );
      
      layout5->addWidget( buttonCancel, 0, 2 );
      
      buttonOk = new QPushButton( this, "buttonOk" );
      buttonOk->setAutoDefault( TRUE );
      buttonOk->setDefault( TRUE );
      
      layout5->addWidget( buttonOk, 0, 1 );
      Horizontal_Spacing2 = new QSpacerItem( 230, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
      layout5->addItem( Horizontal_Spacing2, 0, 0 );
      
      MyDialogLayout->addMultiCellLayout( layout5, 3, 3, 0, 1 );
      
      view_extractfiles = new QTextEdit( this, "view_extractfiles" );
      
      MyDialogLayout->addMultiCellWidget( view_extractfiles, 1, 1, 0, 1 );
      languageChange();
      resize( QSize(386, 439).expandedTo(minimumSizeHint()) );
      clearWState( WState_Polished );
      
      // signals and slots connections
      connect( buttonOk, SIGNAL( clicked() ), this, SLOT( slotOK() ) );
      connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
      connect( extractCurrent_radio, SIGNAL( clicked() ), this, SLOT( slotExtractCheck() ) );
      connect( extractDir_radio, SIGNAL( clicked() ), this, SLOT( slotExtractCheck() ) );
      
}


Generated by  Doxygen 1.6.0   Back to index