Switch to unified view

a/src/qtgui/searchclause_w.cpp b/src/qtgui/searchclause_w.cpp
...
...
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)
36
SearchClauseW::SearchClauseW(QWidget* parent)
37
    : QWidget(parent)
37
    : QWidget(parent)
38
{
38
{
39
    searchClauseLayout = new QVBoxLayout(this);
39
    QHBoxLayout* hLayout = new QHBoxLayout(this, 0, 3); 
40
41
    hLayout = new QHBoxLayout(0, 0, 3, "hLayout"); 
42
43
    sTpCMB = new QComboBox(FALSE, this, "sTpCMB");
40
    sTpCMB = new QComboBox(FALSE, this, "sTpCMB");
44
    hLayout->addWidget(sTpCMB);
41
    hLayout->addWidget(sTpCMB);
45
42
46
    proxSlackSB = new QSpinBox(this, "proxSlackSB");
43
    proxSlackSB = new QSpinBox(this, "proxSlackSB");
47
    hLayout->addWidget(proxSlackSB);
44
    hLayout->addWidget(proxSlackSB);
48
45
49
    wordsLE = new QLineEdit(this, "wordsLE");
46
    wordsLE = new QLineEdit(this, "wordsLE");
50
    wordsLE->setMinimumSize(QSize(250, 0));
47
    wordsLE->setMinimumSize(QSize(250, 0));
51
    hLayout->addWidget(wordsLE);
48
    hLayout->addWidget(wordsLE);
52
    searchClauseLayout->addLayout(hLayout);
49
53
    languageChange();
50
    languageChange();
54
    resize(QSize(0, 0).expandedTo(minimumSizeHint()));
51
    resize(QSize(0, 0).expandedTo(minimumSizeHint()));
55
52
56
    connect(sTpCMB, SIGNAL(activated(int)), this, SLOT(tpChange(int)));
53
    connect(sTpCMB, SIGNAL(activated(int)), this, SLOT(tpChange(int)));
57
}
54
}