Definition at line 56 of file AODSystemController.cxx.
◆ updateComboBoxContents()
bool AODSystemController::Imp::updateComboBoxContents |
( |
QComboBox * |
cb, |
|
|
QStringList |
l, |
|
|
QString & |
restoredSelection |
|
) |
| |
Definition at line 205 of file AODSystemController.cxx.
208 QString
ct = cb->currentText();
212 bool save = cb->blockSignals(
true);
216 bool enabled =
false;
219 cb->setEnabled(
false);
223 int i = restoredSelection.isEmpty() ? -1 : cb->findText(restoredSelection);
225 i =
ct.isEmpty() ? -1 : cb->findText(
ct);
226 restoredSelection =
"";
229 cb->setCurrentIndex(
i);
233 int i_vp1(-1), i_atlas(-1);
234 for (
int j = 0; j <cb->count();++j) {
235 if (i_vp1==-1&&cb->itemText(j).contains(
"vp1",Qt::CaseInsensitive))
237 if (i_atlas==-1&&cb->itemText(j).contains(
"atlas",Qt::CaseInsensitive))
241 cb->setCurrentIndex(i_vp1);
243 cb->setCurrentIndex(i_atlas);
247 cb->setEnabled(
true);
251 cb->blockSignals(
false);
◆ collwidget
◆ common
◆ noneAvailString
const QString AODSystemController::Imp::noneAvailString = QString("None available") |
|
static |
◆ objBrowserWidget
QTreeWidget* AODSystemController::Imp::objBrowserWidget |
◆ theclass
◆ ui
Ui::VP1AODControllerForm AODSystemController::Imp::ui |
◆ ui_objBrowser
Ui::AODObjectBrowser AODSystemController::Imp::ui_objBrowser |
The documentation for this class was generated from the following file: