Lines Matching refs:parent

243 QWidget *ConfigItemDelegate::createEditor(QWidget *parent,
258 return QStyledItemDelegate::createEditor(parent, option, index);
271 // If this is not a QLineEdit, use the parent's default.
274 goto parent;
278 goto parent;
282 goto parent;
294 parent:
298 ConfigList::ConfigList(QWidget *parent, const char *name)
299 : QTreeWidget(parent),
436 (mode == symbolMode && rootEntry->parent != &rootmenu))) {
570 setRootMenu(menu_get_parent_menu(rootEntry->parent));
587 * removes/adds the entries from the parent widget as necessary
589 * parent: either the menu list widget or a menu entry widget
592 void ConfigList::updateMenuList(ConfigItem *parent, struct menu* menu)
601 while (parent->childCount() > 0)
603 delete parent->takeChild(0);
609 last = parent->firstChild();
613 item = last ? last->nextSibling() : parent->firstChild();
634 item = new ConfigItem(parent, last, child, visible);
647 last = parent->firstChild();
929 ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name)
930 : Parent(parent), sym(0), _menu(0)
1219 ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow *parent)
1220 : Parent(parent), result(NULL)
1250 parent, SLOT(setMenuLink(struct menu *)));
1259 width = configSettings->value("/window width", parent->width() / 2).toInt();
1260 height = configSettings->value("/window height", parent->height() / 2).toInt();
1587 struct menu *parent;
1597 parent = menu_get_parent_menu(menu);
1598 if (!parent)
1600 list->setRootMenu(parent);
1608 parent = menu_get_parent_menu(menu->parent);
1609 if (!parent)
1613 item = configList->findConfigItem(parent);
1619 menuList->setRootMenu(parent);