|
a/src/qtgui/searchclause_w.cpp |
|
b/src/qtgui/searchclause_w.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: searchclause_w.cpp,v 1.3 2006-11-30 13:38:44 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: searchclause_w.cpp,v 1.4 2006-12-04 06:19:11 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
31 |
|
31 |
|
32 |
/*
|
32 |
/*
|
33 |
* Constructs a SearchClauseW as a child of 'parent', with the
|
33 |
* Constructs a SearchClauseW as a child of 'parent', with the
|
34 |
* name 'name' and widget flags set to 'f'.
|
34 |
* name 'name' and widget flags set to 'f'.
|
35 |
*/
|
35 |
*/
|
36 |
SearchClauseW::SearchClauseW(QWidget* parent, const char* name, WFlags fl)
|
36 |
SearchClauseW::SearchClauseW(QWidget* parent)
|
37 |
: QWidget(parent, name, fl)
|
37 |
: QWidget(parent)
|
38 |
{
|
38 |
{
|
39 |
if (!name)
|
|
|
40 |
setName("SearchClauseW");
|
|
|
41 |
searchClauseLayout = new QVBoxLayout(this);
|
39 |
searchClauseLayout = new QVBoxLayout(this);
|
42 |
|
40 |
|
43 |
hLayout = new QHBoxLayout(0, 0, 3, "hLayout");
|
41 |
hLayout = new QHBoxLayout(0, 0, 3, "hLayout");
|
44 |
|
42 |
|
45 |
sTpCMB = new QComboBox(FALSE, this, "sTpCMB");
|
43 |
sTpCMB = new QComboBox(FALSE, this, "sTpCMB");
|
|
... |
|
... |
52 |
wordsLE->setMinimumSize(QSize(250, 0));
|
50 |
wordsLE->setMinimumSize(QSize(250, 0));
|
53 |
hLayout->addWidget(wordsLE);
|
51 |
hLayout->addWidget(wordsLE);
|
54 |
searchClauseLayout->addLayout(hLayout);
|
52 |
searchClauseLayout->addLayout(hLayout);
|
55 |
languageChange();
|
53 |
languageChange();
|
56 |
resize(QSize(0, 0).expandedTo(minimumSizeHint()));
|
54 |
resize(QSize(0, 0).expandedTo(minimumSizeHint()));
|
57 |
clearWState(WState_Polished);
|
|
|
58 |
|
55 |
|
59 |
connect(sTpCMB, SIGNAL(activated(int)), this, SLOT(tpChange(int)));
|
56 |
connect(sTpCMB, SIGNAL(activated(int)), this, SLOT(tpChange(int)));
|
60 |
}
|
57 |
}
|
61 |
|
58 |
|
62 |
/*
|
59 |
/*
|