Lines Matching refs:parent

246 QWidget *ConfigItemDelegate::createEditor(QWidget *parent,
261 return QStyledItemDelegate::createEditor(parent, option, index);
274 // If this is not a QLineEdit, use the parent's default.
277 goto parent;
281 goto parent;
285 goto parent;
297 parent:
301 ConfigList::ConfigList(QWidget *parent, const char *name)
302 : QTreeWidget(parent),
440 (mode == symbolMode && rootEntry->parent != &rootmenu))) {
574 setRootMenu(menu_get_parent_menu(rootEntry->parent));
591 * removes/adds the entries from the parent widget as necessary
593 * parent: either the menu list widget or a menu entry widget
596 void ConfigList::updateMenuList(ConfigItem *parent, struct menu* menu)
605 while (parent->childCount() > 0)
607 delete parent->takeChild(0);
613 last = parent->firstChild();
617 item = last ? last->nextSibling() : parent->firstChild();
638 item = new ConfigItem(parent, last, child, visible);
651 last = parent->firstChild();
933 ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name)
934 : Parent(parent), sym(0), _menu(0)
1226 ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow *parent)
1227 : Parent(parent), result(NULL)
1259 parent, &ConfigMainWindow::setMenuLink);
1268 width = configSettings->value("/window width", parent->width() / 2).toInt();
1269 height = configSettings->value("/window height", parent->height() / 2).toInt();
1610 struct menu *parent;
1620 parent = menu_get_parent_menu(menu);
1621 if (!parent)
1623 list->setRootMenu(parent);
1631 parent = menu_get_parent_menu(menu->parent);
1632 if (!parent)
1636 item = configList->findConfigItem(parent);
1642 menuList->setRootMenu(parent);