|
a/src/qtgui/confgui/confgui.cpp |
|
b/src/qtgui/confgui/confgui.cpp |
|
... |
|
... |
276 |
1, // Horizontal stretch
|
276 |
1, // Horizontal stretch
|
277 |
0, // Vertical stretch
|
277 |
0, // Vertical stretch
|
278 |
m_le->sizePolicy().hasHeightForWidth()));
|
278 |
m_le->sizePolicy().hasHeightForWidth()));
|
279 |
m_hl->addWidget(m_le);
|
279 |
m_hl->addWidget(m_le);
|
280 |
|
280 |
|
281 |
QPushButton *pb = new QPushButton(this);
|
281 |
m_pb = new QPushButton(this);
|
282 |
pb->setText(tr("Browse"));
|
282 |
m_pb->setText(tr("Browse"));
|
283 |
pb->setSizePolicy(QSizePolicy(QSizePolicy::Fixed,
|
283 |
m_pb->setSizePolicy(QSizePolicy(QSizePolicy::Fixed,
|
284 |
QSizePolicy::Fixed,
|
284 |
QSizePolicy::Fixed,
|
285 |
0, // Horizontal stretch
|
285 |
0, // Horizontal stretch
|
286 |
0, // Vertical stretch
|
286 |
0, // Vertical stretch
|
287 |
pb->sizePolicy().hasHeightForWidth()));
|
287 |
m_pb->sizePolicy().hasHeightForWidth()));
|
288 |
m_hl->addWidget(pb);
|
288 |
m_hl->addWidget(m_pb);
|
289 |
|
289 |
|
290 |
loadValue();
|
290 |
loadValue();
|
291 |
QObject::connect(pb, SIGNAL(clicked()), this, SLOT(showBrowserDialog()));
|
291 |
QObject::connect(m_pb, SIGNAL(clicked()), this, SLOT(showBrowserDialog()));
|
292 |
QObject::connect(m_le, SIGNAL(textChanged(const QString&)),
|
292 |
QObject::connect(m_le, SIGNAL(textChanged(const QString&)),
|
293 |
this, SLOT(setValue(const QString&)));
|
293 |
this, SLOT(setValue(const QString&)));
|
294 |
}
|
294 |
}
|
295 |
|
295 |
|
296 |
void ConfParamFNW::loadValue()
|
296 |
void ConfParamFNW::loadValue()
|