Lines Matching defs:pParentItem
791 UIGChooserItem *pParentItem = pFocusItem->parentItem();
792 QList<UIGChooserItem*> siblings = pParentItem->items();
810 msgCenter().cannotResolveCollisionAutomatically(strItemName, pParentItem->name());
816 if (msgCenter().confirmAutomaticCollisionResolve(strItemName, pParentItem->name()))
833 UIGChooserItemGroup *pGroupItem = new UIGChooserItemGroup(pParentItem, pItem->toGroupItem());
835 pGroupItem->setName(uniqueGroupName(pParentItem));
840 new UIGChooserItemMachine(pParentItem, pItem->toMachineItem());
1722 UIGChooserItem* UIGChooserModel::getGroupItem(const QString &strName, UIGChooserItem *pParentItem, bool fAllGroupsOpened)
1725 if (pParentItem->name() == strName)
1726 return pParentItem;
1735 if (pParentItem->name() == strFirstSubName)
1740 foreach (UIGChooserItem *pGroupItem, pParentItem->items(UIGChooserItemType_Group))
1756 pParentItem, strSecondSubName,
1758 fAllGroupsOpened || shouldBeGroupOpened(pParentItem, strSecondSubName),
1760 getDesiredPosition(pParentItem, UIGChooserItemType_Group, strSecondSubName));
1764 bool UIGChooserModel::shouldBeGroupOpened(UIGChooserItem *pParentItem, const QString &strName)
1767 const QStringList definitions = gEDataManager->selectorWindowGroupsDefinitions(pParentItem->fullName());
1792 int UIGChooserModel::getDesiredPosition(UIGChooserItem *pParentItem, UIGChooserItemType type, const QString &strName)
1797 int iNewItemDefinitionPosition = positionFromDefinitions(pParentItem, type, strName);
1804 QList<UIGChooserItem*> items = pParentItem->items(type);
1814 int iItemDefinitionPosition = positionFromDefinitions(pParentItem, type, strDefinitionName);
1831 int UIGChooserModel::positionFromDefinitions(UIGChooserItem *pParentItem, UIGChooserItemType type, const QString &strName)
1834 const QStringList definitions = gEDataManager->selectorWindowGroupsDefinitions(pParentItem->fullName());
1875 void UIGChooserModel::createMachineItem(const CMachine &machine, UIGChooserItem *pParentItem)
1879 pParentItem, machine,
1881 getDesiredPosition(pParentItem, UIGChooserItemType_Machine, machine.GetId()));
1935 UIGChooserItem *pParentItem)
1938 const QString strExtraDataKey = pParentItem->fullName();
1940 foreach (UIGChooserItem *pItem, pParentItem->items(UIGChooserItemType_Group))
1947 foreach (UIGChooserItem *pItem, pParentItem->items(UIGChooserItemType_Machine))