|
|
@ -423,9 +423,9 @@ void KRenameImpl::setupPage2()
|
|
|
|
groupOptions = new TQButtonGroup( page_2 );
|
|
|
|
groupOptions = new TQButtonGroup( page_2 );
|
|
|
|
groupOptions->setTitle( i18n( "O&ptions" ) );
|
|
|
|
groupOptions->setTitle( i18n( "O&ptions" ) );
|
|
|
|
groupOptions->setColumnLayout(0, Qt::Vertical );
|
|
|
|
groupOptions->setColumnLayout(0, Qt::Vertical );
|
|
|
|
groupOptions->tqlayout()->setSpacing( 6 );
|
|
|
|
groupOptions->layout()->setSpacing( 6 );
|
|
|
|
groupOptions->tqlayout()->setMargin( 11 );
|
|
|
|
groupOptions->layout()->setMargin( 11 );
|
|
|
|
groupOptionsLayout = new TQVBoxLayout( groupOptions->tqlayout() );
|
|
|
|
groupOptionsLayout = new TQVBoxLayout( groupOptions->layout() );
|
|
|
|
groupOptionsLayout->setAlignment( TQt::AlignTop );
|
|
|
|
groupOptionsLayout->setAlignment( TQt::AlignTop );
|
|
|
|
|
|
|
|
|
|
|
|
optionRename = new TQRadioButton( groupOptions );
|
|
|
|
optionRename = new TQRadioButton( groupOptions );
|
|
|
@ -619,7 +619,7 @@ void KRenameImpl::setupFileTab1()
|
|
|
|
|
|
|
|
|
|
|
|
TQSpacerItem* spacer_9 = new TQSpacerItem( 200, 20, TQSizePolicy::Maximum, TQSizePolicy::Maximum );
|
|
|
|
TQSpacerItem* spacer_9 = new TQSpacerItem( 200, 20, TQSizePolicy::Maximum, TQSizePolicy::Maximum );
|
|
|
|
|
|
|
|
|
|
|
|
TQVBoxLayout* tqlayout = new TQVBoxLayout( tab );
|
|
|
|
TQVBoxLayout* layout = new TQVBoxLayout( tab );
|
|
|
|
TQHBoxLayout* Layout1 = new TQHBoxLayout( 0, 6, 6 );
|
|
|
|
TQHBoxLayout* Layout1 = new TQHBoxLayout( 0, 6, 6 );
|
|
|
|
TQHBoxLayout* Layout2 = new TQHBoxLayout( 0, 6, 6 );
|
|
|
|
TQHBoxLayout* Layout2 = new TQHBoxLayout( 0, 6, 6 );
|
|
|
|
TQHBoxLayout* ExtensionLayout = new TQHBoxLayout( 0, 6, 6 );
|
|
|
|
TQHBoxLayout* ExtensionLayout = new TQHBoxLayout( 0, 6, 6 );
|
|
|
@ -641,10 +641,10 @@ void KRenameImpl::setupFileTab1()
|
|
|
|
ExtensionLayout->addWidget( new TQLabel( i18n("File extension starts at:"), tab ) );
|
|
|
|
ExtensionLayout->addWidget( new TQLabel( i18n("File extension starts at:"), tab ) );
|
|
|
|
ExtensionLayout->addWidget( comboExtension );
|
|
|
|
ExtensionLayout->addWidget( comboExtension );
|
|
|
|
|
|
|
|
|
|
|
|
tqlayout->addLayout( Layout1 );
|
|
|
|
layout->addLayout( Layout1 );
|
|
|
|
tqlayout->addLayout( ExtensionLayout );
|
|
|
|
layout->addLayout( ExtensionLayout );
|
|
|
|
tqlayout->addLayout( Layout2 );
|
|
|
|
layout->addLayout( Layout2 );
|
|
|
|
tqlayout->addItem( spacer_9 );
|
|
|
|
layout->addItem( spacer_9 );
|
|
|
|
|
|
|
|
|
|
|
|
fileTab->addWidget( tab, ID_TAB );
|
|
|
|
fileTab->addWidget( tab, ID_TAB );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -653,7 +653,7 @@ void KRenameImpl::setupFileTab2()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQWidget* tab = new TQWidget( page_4 );
|
|
|
|
TQWidget* tab = new TQWidget( page_4 );
|
|
|
|
|
|
|
|
|
|
|
|
TQHBoxLayout* tqlayout = new TQHBoxLayout( tab, 6, 6 );
|
|
|
|
TQHBoxLayout* layout = new TQHBoxLayout( tab, 6, 6 );
|
|
|
|
|
|
|
|
|
|
|
|
TQVGroupBox* vgroup1 = new TQVGroupBox( i18n("&Filename"), tab );
|
|
|
|
TQVGroupBox* vgroup1 = new TQVGroupBox( i18n("&Filename"), tab );
|
|
|
|
TQGrid* grid = new TQGrid( 4, vgroup1 );
|
|
|
|
TQGrid* grid = new TQGrid( 4, vgroup1 );
|
|
|
@ -708,8 +708,8 @@ void KRenameImpl::setupFileTab2()
|
|
|
|
buttonEasyReplace = new KPushButton( i18n("&Find and Replace..."), rightBox );
|
|
|
|
buttonEasyReplace = new KPushButton( i18n("&Find and Replace..."), rightBox );
|
|
|
|
buttonEasyReplace->setIconSet( SmallIconSet("find") );
|
|
|
|
buttonEasyReplace->setIconSet( SmallIconSet("find") );
|
|
|
|
|
|
|
|
|
|
|
|
tqlayout->addWidget( vgroup1 );
|
|
|
|
layout->addWidget( vgroup1 );
|
|
|
|
tqlayout->addWidget( rightBox );
|
|
|
|
layout->addWidget( rightBox );
|
|
|
|
|
|
|
|
|
|
|
|
comboKRenamePrefix->insertItem( "" );
|
|
|
|
comboKRenamePrefix->insertItem( "" );
|
|
|
|
comboKRenamePrefix->insertItem( i18n("Number") );
|
|
|
|
comboKRenamePrefix->insertItem( i18n("Number") );
|
|
|
|