diff -r 97f5d07bf47d -r 18f824bd3070 findwindow.cpp --- a/findwindow.cpp Tue Sep 05 11:53:54 2006 +0000 +++ b/findwindow.cpp Mon Oct 16 12:42:54 2006 +0000 @@ -11,8 +11,6 @@ { setWindowTitle(__VYM " - " +tr("Find Text")); - //resize (180,130); - //move (130,130); QVBoxLayout* mainLayout = new QVBoxLayout; @@ -32,7 +30,6 @@ this, SLOT( findPressed() ) ); connect ( findcombo, SIGNAL( textChanged(const QString &) ), this, SLOT( findTextChanged(const QString&) ) ); - //findcombo->insertItem( "Normal", -1 ); row2Layout->addWidget(findcombo); @@ -43,21 +40,11 @@ connect ( clearbutton, SIGNAL( clicked() ), this, SLOT( clearLineEdit() ) ); row3Layout->addWidget (clearbutton); - /* - QSpacerItem *si1= new QSpacerItem (10,0,QSizePolicy::Minimum, QSizePolicy::Expanding ); - row3Layout->addItem(si1); - */ - cancelbutton = new QPushButton; cancelbutton->setText(tr("Cancel")); cancelbutton->setShortcut (Qt::Key_Escape); connect ( cancelbutton, SIGNAL( clicked() ), this, SLOT( cancelPressed() ) ); row3Layout->addWidget (cancelbutton); - -/* - QSpacerItem *si2= new QSpacerItem (10,0,QSizePolicy::Fixed, QSizePolicy::Fixed); - row3Layout->addItem(si2); - */ findbutton = new QPushButton; findbutton->setText (tr("Find")); @@ -65,6 +52,7 @@ findbutton->setShortcut (Qt::Key_Return); connect ( findbutton, SIGNAL( clicked() ), this, SLOT( findPressed() ) ); + row3Layout->addStretch(2); row3Layout->addWidget(findbutton); mainLayout->addLayout (row1Layout);