suppressed unused layout in searchClause

This commit is contained in:
dockes 2009-01-12 15:55:31 +00:00
parent f57d4a91f9
commit 3ed934daf6
3 changed files with 17 additions and 9 deletions

View File

@ -165,7 +165,7 @@
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing"> <property name="spacing">
<number>0</number> <number>1</number>
</property> </property>
<widget class="Line"> <widget class="Line">
<property name="name"> <property name="name">
@ -185,6 +185,20 @@
</widget> </widget>
</hbox> </hbox>
</widget> </widget>
<widget class="Line">
<property name="name">
<cstring>line3</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QLayoutWidget"> <widget class="QLayoutWidget">
<property name="name"> <property name="name">
<cstring>layout9</cstring> <cstring>layout9</cstring>

View File

@ -36,10 +36,7 @@ static char rcsid[] = "@(#$Id: searchclause_w.cpp,v 1.4 2006-12-04 06:19:11 dock
SearchClauseW::SearchClauseW(QWidget* parent) SearchClauseW::SearchClauseW(QWidget* parent)
: QWidget(parent) : QWidget(parent)
{ {
searchClauseLayout = new QVBoxLayout(this); QHBoxLayout* hLayout = new QHBoxLayout(this, 0, 3);
hLayout = new QHBoxLayout(0, 0, 3, "hLayout");
sTpCMB = new QComboBox(FALSE, this, "sTpCMB"); sTpCMB = new QComboBox(FALSE, this, "sTpCMB");
hLayout->addWidget(sTpCMB); hLayout->addWidget(sTpCMB);
@ -49,7 +46,7 @@ SearchClauseW::SearchClauseW(QWidget* parent)
wordsLE = new QLineEdit(this, "wordsLE"); wordsLE = new QLineEdit(this, "wordsLE");
wordsLE->setMinimumSize(QSize(250, 0)); wordsLE->setMinimumSize(QSize(250, 0));
hLayout->addWidget(wordsLE); hLayout->addWidget(wordsLE);
searchClauseLayout->addLayout(hLayout);
languageChange(); languageChange();
resize(QSize(0, 0).expandedTo(minimumSizeHint())); resize(QSize(0, 0).expandedTo(minimumSizeHint()));

View File

@ -42,9 +42,6 @@ public:
QSpinBox* proxSlackSB; QSpinBox* proxSlackSB;
QLineEdit* wordsLE; QLineEdit* wordsLE;
protected:
QVBoxLayout* searchClauseLayout;
QHBoxLayout* hLayout;
public slots: public slots:
virtual void tpChange(int); virtual void tpChange(int);
protected slots: protected slots: