GUI: use shorter label for clause kind

This commit is contained in:
"Jean-Francois Dockes ext:(%22) 2012-03-13 16:32:36 +01:00
parent 8f61afe815
commit 6a81ca4bc9

View File

@ -49,7 +49,7 @@ SearchClauseW::SearchClauseW(QWidget* parent)
hLayout->addWidget(proxSlackSB); hLayout->addWidget(proxSlackSB);
wordsLE = new QLineEdit(this); wordsLE = new QLineEdit(this);
wordsLE->setMinimumSize(QSize(250, 0)); wordsLE->setMinimumSize(QSize(190, 0));
hLayout->addWidget(wordsLE); hLayout->addWidget(wordsLE);
languageChange(); languageChange();
@ -73,12 +73,12 @@ SearchClauseW::~SearchClauseW()
void SearchClauseW::languageChange() void SearchClauseW::languageChange()
{ {
sTpCMB->clear(); sTpCMB->clear();
sTpCMB->addItem(tr("Any of these")); // 0 sTpCMB->addItem(tr("Any")); // 0
sTpCMB->addItem(tr("All of these")); //1 sTpCMB->addItem(tr("All")); //1
sTpCMB->addItem(tr("None of these"));//2 sTpCMB->addItem(tr("None"));//2
sTpCMB->addItem(tr("This phrase"));//3 sTpCMB->addItem(tr("Phrase"));//3
sTpCMB->addItem(tr("Terms in proximity"));//4 sTpCMB->addItem(tr("Proximity"));//4
sTpCMB->addItem(tr("File name matching"));//5 sTpCMB->addItem(tr("File name"));//5
// sTpCMB->insertItem(tr("Complex clause"));//6 // sTpCMB->insertItem(tr("Complex clause"));//6
fldCMB->addItem(tr("No field")); fldCMB->addItem(tr("No field"));