|
a/src/qtgui/confgui/confgui.cpp |
|
b/src/qtgui/confgui/confgui.cpp |
|
... |
|
... |
172 |
: ConfParamW(parent, cflink)
|
172 |
: ConfParamW(parent, cflink)
|
173 |
{
|
173 |
{
|
174 |
if (!createCommon(lbltxt, tltptxt))
|
174 |
if (!createCommon(lbltxt, tltptxt))
|
175 |
return;
|
175 |
return;
|
176 |
m_cmb = new QComboBox(this);
|
176 |
m_cmb = new QComboBox(this);
|
177 |
m_cmb->setEditable(FALSE);
|
177 |
m_cmb->setEditable(false);
|
178 |
m_cmb->insertItems(0, sl);
|
178 |
m_cmb->insertItems(0, sl);
|
179 |
|
179 |
|
180 |
setSzPol(m_cmb, QSizePolicy::Preferred, QSizePolicy::Fixed, 1, 0);
|
180 |
setSzPol(m_cmb, QSizePolicy::Preferred, QSizePolicy::Fixed, 1, 0);
|
181 |
|
181 |
|
182 |
m_hl->addWidget(m_cmb);
|
182 |
m_hl->addWidget(m_cmb);
|
|
... |
|
... |
447 |
QString s = QInputDialog::getItem (this, // parent
|
447 |
QString s = QInputDialog::getItem (this, // parent
|
448 |
"", // title
|
448 |
"", // title
|
449 |
"", // label,
|
449 |
"", // label,
|
450 |
m_sl, // items,
|
450 |
m_sl, // items,
|
451 |
0, // current = 0
|
451 |
0, // current = 0
|
452 |
FALSE, // editable = true,
|
452 |
false, // editable = true,
|
453 |
&ok);
|
453 |
&ok);
|
454 |
|
454 |
|
455 |
if (ok && !s.isEmpty()) {
|
455 |
if (ok && !s.isEmpty()) {
|
456 |
QList<QListWidgetItem *>items =
|
456 |
QList<QListWidgetItem *>items =
|
457 |
m_lb->findItems(s, Qt::MatchFixedString|Qt::MatchCaseSensitive);
|
457 |
m_lb->findItems(s, Qt::MatchFixedString|Qt::MatchCaseSensitive);
|