Home
last modified time | relevance | path

Searched refs:ModelItem (Results 1 – 25 of 118) sorted by relevance

12345

/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/dialogs/
H A DTrackedChangeModel.cpp43 ModelItem::ModelItem(ModelItem *parent) in ModelItem() function in ModelItem
49 ModelItem::~ModelItem() in ~ModelItem()
74 void ModelItem::appendChild(ModelItem *child) in appendChild()
79 ModelItem *ModelItem::child(int row) in child()
84 QList< ModelItem * > ModelItem::children() in children()
94 ModelItem *ModelItem::parent() in parent()
99 int ModelItem::row() const in row()
144 ModelItem *parentItem; in index()
175 ModelItem *childItem = static_cast<ModelItem *>(index.internalPointer()); in parent()
217 ModelItem *item = static_cast<ModelItem *>(index.internalPointer()); in changeItemData()
[all …]
H A DTrackedChangeModel.h47 class ModelItem in Q_DECLARE_METATYPE()
50 explicit ModelItem(ModelItem *parent = 0); in Q_DECLARE_METATYPE()
51 ~ModelItem(); in Q_DECLARE_METATYPE()
58 void appendChild(ModelItem *child); in Q_DECLARE_METATYPE()
60 ModelItem *child(int row); in Q_DECLARE_METATYPE()
61 QList<ModelItem *> children(); in Q_DECLARE_METATYPE()
64 ModelItem *parent(); in Q_DECLARE_METATYPE()
73 QList<ModelItem *> m_childItems; in Q_DECLARE_METATYPE()
74 ModelItem *m_parentItem; in Q_DECLARE_METATYPE()
104 ModelItem *m_rootItem;
[all …]
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/dialogs/
H A DTrackedChangeModel.cpp43 ModelItem::ModelItem(ModelItem* parent) in ModelItem() function in ModelItem
49 ModelItem::~ModelItem() in ~ModelItem()
74 void ModelItem::appendChild(ModelItem* child) in appendChild()
79 ModelItem* ModelItem::child(int row) in child()
84 QList< ModelItem* > ModelItem::children() in children()
94 ModelItem* ModelItem::parent() in parent()
99 int ModelItem::row() const in row()
143 ModelItem *parentItem; in index()
170 ModelItem *childItem = static_cast<ModelItem*>(index.internalPointer()); in parent()
207 ModelItem *item = static_cast<ModelItem*>(index.internalPointer()); in changeItemData()
[all …]
H A DTrackedChangeModel.h48 class ModelItem in Q_DECLARE_METATYPE()
51 explicit ModelItem(ModelItem *parent = 0); in Q_DECLARE_METATYPE()
52 ~ModelItem(); in Q_DECLARE_METATYPE()
59 void appendChild(ModelItem *child); in Q_DECLARE_METATYPE()
61 ModelItem *child(int row); in Q_DECLARE_METATYPE()
62 QList<ModelItem*> children(); in Q_DECLARE_METATYPE()
65 ModelItem *parent(); in Q_DECLARE_METATYPE()
74 QList<ModelItem*> m_childItems; in Q_DECLARE_METATYPE()
75 ModelItem *m_parentItem; in Q_DECLARE_METATYPE()
105 ModelItem *m_rootItem;
[all …]
/dports/games/openmw/openmw-openmw-0.47.0/components/contentselector/model/
H A Dmodelitem.cpp3 ContentSelectorModel::ModelItem::ModelItem(ModelItem *parent) in ModelItem() function in ContentSelectorModel::ModelItem
14 ContentSelectorModel::ModelItem::~ModelItem() in ~ModelItem()
20 ContentSelectorModel::ModelItem *ContentSelectorModel::ModelItem::parent() const in parent()
25 bool ContentSelectorModel::ModelItem::hasFormat(const QString &mimetype) const in hasFormat()
32 int ContentSelectorModel::ModelItem::row() const in row()
43 int ContentSelectorModel::ModelItem::childCount() const in childCount()
48 int ContentSelectorModel::ModelItem::childRow(ModelItem *child) const in childRow()
55 ContentSelectorModel::ModelItem *ContentSelectorModel::ModelItem::child(int row) in child()
61 void ContentSelectorModel::ModelItem::appendChild(ModelItem *item) in appendChild()
66 void ContentSelectorModel::ModelItem::removeChild(int row) in removeChild()
H A Dmodelitem.hpp9 class ModelItem : public QMimeData class
14 ModelItem(ModelItem *parent = nullptr);
17 ~ModelItem();
19 ModelItem *parent() const;
23 int childRow(ModelItem *child) const;
24 ModelItem *child(int row);
26 void appendChild(ModelItem *child);
34 ModelItem *mParentItem;
35 QList<ModelItem*> mChildItems;
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/Activities/Core/Presentation/
H A DFlowchartDesigner.ModelChangeReactions.cs28 ModelItem flowStart;
36 this.flowStart = start.ModelItem; in CreateStartSymbol()
93 if (e.ParentModelItem == this.ModelItem) in OnViewStateChanged()
188 link.ModelItem = linkModelItem; in RefreshFlowSwitchLinkModelItem()
380 Queue<ModelItem> flowElementsToProcess = new Queue<ModelItem>(); in AddFlowElementsToDesigner()
397 ModelItem startNodeModelItem = null; in AddFlowElementsToDesigner()
524 ModelItem startNodeModelItem, in AddConnectorsToPanel()
583ModelItem shapeModelItem = ((VirtualizedContainerService.VirtualizingContainer)deleteShape).ModelI… in DeleteShapeVisual()
612 … Connector CreatePropertyLink(ModelItem srcModelItem, ModelItem propertyValue, string propertyName) in CreatePropertyLink()
651 link.ModelItem = linkModelItem; in CreatePropertyLink()
[all …]
H A DStateContainerEditor.CompositeView.cs41 public void OnItemMoved(ModelItem modelItem) in OnItemMoved()
54 ModelItem item = itemsToCopy.First(); in OnItemsCopied()
74 foreach (ModelItem modelItem in itemsToCopy) in OnItemsCopied()
112 List<ModelItem> allStateModelItemsToDelete = new List<ModelItem>(); in DoDeleteItems()
223 …internal bool CanPasteTransition(ModelItem destinationStateItem, out string errorMessage, params M… in CanPasteTransition()
251 private ModelItem FindState(string guid) in FindState()
267 if (this.ModelItem.ItemType == typeof(State)) in OnItemsPasted()
339 List<ModelItem> modelItemsPasted = new List<ModelItem>(); in OnItemsPasted()
372 ModelItem stateModelItem = in OnItemsPasted()
420 public List<ModelItem> SortSelectedItems(List<ModelItem> selectedItems) in SortSelectedItems()
[all …]
H A DStateContainerEditor.ModelChanges.cs73 this.ModelItem.ItemType == typeof(StateMachine) && in DeleteState()
89 ModelItem srcModelItem = srcDesigner.ModelItem; in CreateTransition()
90 ModelItem destModelItem = destDesigner.ModelItem; in CreateTransition()
91 ModelItem transitionModelItem = null; in CreateTransition()
158 ModelItem refTransitionModelItem = null; in CreateConnectorGesture()
180ModelItem stateModelItem = ((VirtualizedContainerService.VirtualizingContainer)destConnectionPoint… in CreateConnectorGesture()
242 ModelItem storageModelItem = null; in StoreShapeLocationViewState()
245 storageModelItem = this.ModelItem; in StoreShapeLocationViewState()
290 ModelItem InsertState(Object droppedObject) in InsertState()
292 ModelItem droppedModelItem = null; in InsertState()
[all …]
H A DTransitionDesigner.xaml.cs41 private ModelItem parentStateModelItem = null;
129 Item = this.ModelItem, in UpdateTransitionsSharingTrigger()
132 ModelItem triggerModelItem = this.ModelItem.Properties[TriggerPropertyName].Value; in UpdateTransitionsSharingTrigger()
215 …rivate static void SwapItems(ModelItemCollection collection, ModelItem modelItem1, ModelItem model… in SwapItems()
237 if (wrapper.Item != this.ModelItem) in OnModelItemPropertyChanged()
285 ModelItem destinationState = button.Tag as ModelItem; in OnDestinationStateClicked()
294ModelItem sourceState = StateContainerEditor.GetParentStateModelItemForTransition(this.ModelItem); in OnSourceStateClicked()
431 ModelItem toStateModelItem = null; in AddNewTransition()
450 ModelItem triggerModelItem = this.ModelItem.Properties[TriggerPropertyName].Value; in AddNewTransition()
490 List<ModelItem> availableStates = new List<ModelItem>(); in GetAvailableStates()
[all …]
H A DStateContainerEditor.xaml.cs38 …private static Dictionary<ModelItem, string> modelItemToGuid = new Dictionary<ModelItem, string>();
160 typeof(ModelItem),
172 typeof(ModelItem),
206 this.ModelItem = parent.ModelItem; in StateContainerEditor()
320 public ModelItem ModelItem property in System.Activities.Core.Presentation.StateContainerEditor
731 List<ModelItem> transitions = new List<ModelItem>(); in AddChildTransitionVisualsToStateMachineEditor()
1315 ModelItem storageModelItem = view.ModelItem; in OnChildElementSizeChanged()
1794 HashSet<ModelItem> containedTransitions = new HashSet<ModelItem>(); in OffsetConnectorViewState()
1846 HashSet<ModelItem> nonSelfTransitions = new HashSet<ModelItem>(); in OffsetConnectorViewState()
1884 List<ModelItem> modelItemsToSelect = new List<ModelItem>(); in DoStateContainerGridDrop()
[all …]
H A DFlowchartDesigner.Container.cs35 public void OnItemMoved(ModelItem modelItem) in OnItemMoved()
51 foreach (ModelItem modelItem in itemsToCopy) in OnItemsCopied()
69 public List<ModelItem> SortSelectedItems(List<ModelItem> selectedItems) in SortSelectedItems()
89 HashSet<ModelItem> updatedItems = new HashSet<ModelItem>(); in OnItemsMoved()
90 foreach (ModelItem modelItem in movedItems) in OnItemsMoved()
114 public void OnItemsDelete(List<ModelItem> itemsToDelete, HashSet<ModelItem> updatedItems) in OnItemsDelete()
271 List<ModelItem> modelItemsToSelect = new List<ModelItem>(); in OnItemsPasted()
279 List<ModelItem> modelItemsPerMetaData = new List<ModelItem>(); in OnItemsPasted()
300ModelItem item = this.ModelItem.Properties["Nodes"].Collection.Add(element); in OnItemsPasted()
328 …if (pastePointReference.ModelItem != null && this.modelElement.ContainsKey(pastePointReference.Mod… in OnItemsPasted()
[all …]
H A DFlowchartDesigner.xaml.cs405 ModelItem GetFlowElementMI(ModelItem shapeModelItem) in GetFlowElementMI()
420 ModelItem GetCorrespondingElementOnCanvas(ModelItem model) in GetCorrespondingElementOnCanvas()
651 ModelItem storageModelItem = this.ModelItem; in ChildSizeChanged()
1427 ModelItem GetConnectorViewStateStorageModelItem(ModelItem linkModelItem) in GetConnectorViewStateStorageModelItem()
1807 ModelItem modelItem = obj as ModelItem; in PrepareForDrop()
1866 ModelItem flownodeMI, in PostDropUpdateViewState()
2260 private ModelItem GetParentFlowStepModelItem(ModelItem activityModelItem) in GetParentFlowStepModelItem()
2262 foreach (ModelItem flowNodeModelItem in this.ModelItem.Properties["Nodes"].Collection) in GetParentFlowStepModelItem()
2608 this.ModelItem, in StoreCurrentSizeViewStateWithUndo()
2613 this.ModelItem, in StoreCurrentSizeViewStateWithUndo()
[all …]
H A DSwitchDesigner.xaml.cs43 typeof(ModelItem),
78 ModelItem SelectedCase
187 …foreach (ModelItem modelItem in this.ModelItem.Properties["Cases"].Dictionary.Properties["ItemsCol… in OnLoaded()
213 …foreach (ModelItem caseObject in this.ModelItem.Properties["Cases"].Dictionary.Properties["ItemsCo… in OnSelectionChanged()
224 static bool IsAncestorOf(ModelItem ancester, ModelItem descendant) in IsAncestorOf()
231 ModelItem itr = descendant; in IsAncestorOf()
251 ModelItem defaultValue = this.ModelItem.Properties["Default"].Value; in IsDescendantOfDefault()
256 internal static bool IsDescendantOfCase(ModelItem caseObject, ModelItem descendant) in IsDescendantOfCase()
270 void UpdateSelection(ModelItem newSelectedCase) in UpdateSelection()
413 ModelItem cases = casesProp.Value; in AddNewCase()
[all …]
H A DFlowchartDesigner.ModelChanges.cs32 HashSet<ModelItem> referenceUpdatedModelItems = null) in DeleteLink()
45 HashSet<ModelItem> referenceUpdatedModelItems = null) in DeleteLinkImpl()
81ModelItem realFlowSwitchMI = (this.ModelItem as IModelTreeItem).ModelTreeManager.WrapAsModelItem(f… in DeleteLinkImpl()
113 void DeleteShape(ModelItem shapeModelItem, HashSet<ModelItem> updatedItems = null) in DeleteShape()
133 ModelItem linkSource; in UpdateFlowChartObject()
134 ModelItem linkDest = destDesigner.ModelItem; in UpdateFlowChartObject()
135 ModelItem destFlowElementMI = GetFlowElementMI(linkDest); in UpdateFlowChartObject()
141 linkSource = this.ModelItem; in UpdateFlowChartObject()
154 linkSource = srcDesigner.ModelItem; in UpdateFlowChartObject()
219 link.ModelItem = linkModelItem; in CreateFlowSwitchLink()
[all …]
H A DStateContainerEditor.Utilities.cs83ModelItem triggerModelItem = connectorModelItem.Properties[TransitionDesigner.TriggerPropertyName]… in SetConnectorStartDotToolTip()
260 internal static ModelItem GetStateMachineModelItem(ModelItem modelItem) in GetStateMachineModelItem()
262 ModelItem currentModelItem = modelItem; in GetStateMachineModelItem()
270 static bool AreInSameStateMachine(ModelItem modelItem1, ModelItem modelItem2) in AreInSameStateMachine()
275 … internal static ModelItem GetParentStateModelItemForTransition(ModelItem transitionModelItem) in GetParentStateModelItemForTransition()
277 ModelItem parent = transitionModelItem; in GetParentStateModelItemForTransition()
297 ModelItem modelItem = null; in GetModelItemFromView()
300 modelItem = ((StartSymbol)element).ModelItem; in GetModelItemFromView()
430 …l IsTransitionModelItemContainedByStateModelItems(ModelItem transitionModelItem, IEnumerable<Model… in IsTransitionModelItemContainedByStateModelItems()
472 static List<ModelItem> GetTransitionModelItems(IEnumerable<ModelItem> stateModelItems) in GetTransitionModelItems()
[all …]
H A DTryCatchDesigner.xaml.cs63 typeof(ModelItem),
123 ModelItem SelectedCatch
169 foreach (ModelItem modelItem in this.ModelItem.Properties["Catches"].Collection) in OnLoaded()
224 foreach (ModelItem catchObject in this.ModelItem.Properties["Catches"].Collection) in OnSelectionChanged()
235 bool IsDescendantOfTry(ModelItem descendant) in IsDescendantOfTry()
240 bool IsDescendantOfFinally(ModelItem descendant) in IsDescendantOfFinally()
245 static bool IsAncestorOf(ModelItem ancester, ModelItem descendant) in IsAncestorOf()
252 ModelItem itr = descendant; in IsAncestorOf()
272 ModelItem propertyValue = this.ModelItem.Properties[property].Value; in IsDescendantOf()
277 internal static bool IsDescendantOfCatch(ModelItem catchObject, ModelItem descendant) in IsDescendantOfCatch()
[all …]
H A DStateContainerEditor.ModelChangeReactions.cs31 foreach (ModelItem deleted in e.OldItems) in OnStateCollectionChanged()
56 foreach (ModelItem added in e.NewItems) in OnStateCollectionChanged()
67 this.AddStateVisuals(new List<ModelItem> { added }); in OnStateCollectionChanged()
80 foreach (ModelItem deleted in e.OldItems) in OnTransitionCollectionChanged()
97 foreach (ModelItem item in e.NewItems) in OnTransitionCollectionChanged()
135 foreach (ModelItem item in e.EditingScope.ItemsRemoved) in OnEditingScopeCompleted()
193 foreach (ModelItem transition in this.transitionModelItemsAdded) in OnEditingScopeCompleted()
207 foreach (ModelItem transition in this.transitionModelItemsRemoved) in OnEditingScopeCompleted()
230ModelItem initialStateModelItem = this.ModelItem.Properties[StateMachineDesigner.InitialStatePrope… in OnEditingScopeCompleted()
252 if (e.ParentModelItem == this.ModelItem) in OnViewStateChanged()
[all …]
/dports/audio/mumble/mumble-1.3.3/src/mumble/
H A DUserModel.cpp25 QHash <Channel *, ModelItem *> ModelItem::c_qhChannels;
29 ModelItem::ModelItem(Channel *c) { in ModelItem() function in ModelItem
38 ModelItem::ModelItem(ClientUser *p) { in ModelItem() function in ModelItem
47 ModelItem::ModelItem(ModelItem *i) { in ModelItem() function in ModelItem
62 ModelItem::~ModelItem() { in ~ModelItem()
80 ModelItem *ModelItem::child(int idx) const { in child()
684 ModelItem *mi = new ModelItem(o); in recursiveClone()
701 ModelItem *UserModel::moveItem(ModelItem *oldparent, ModelItem *newparent, ModelItem *item) { in moveItem()
718 ModelItem *t = new ModelItem(item); in moveItem()
854 ModelItem *item = new ModelItem(p); in addUser()
[all …]
H A DUserModel.h19 struct ModelItem Q_DECL_FINAL {
23 Q_DISABLE_COPY(ModelItem)
30 ModelItem *parent;
31 QList<ModelItem *> qlChildren;
40 ModelItem(Channel *c);
41 ModelItem(ClientUser *p);
42 ModelItem(ModelItem *);
43 ~ModelItem();
61 friend struct ModelItem;
75 ModelItem *miRoot;
[all …]
/dports/audio/murmur/mumble-1.3.3/src/mumble/
H A DUserModel.cpp25 QHash <Channel *, ModelItem *> ModelItem::c_qhChannels;
29 ModelItem::ModelItem(Channel *c) { in ModelItem() function in ModelItem
38 ModelItem::ModelItem(ClientUser *p) { in ModelItem() function in ModelItem
47 ModelItem::ModelItem(ModelItem *i) { in ModelItem() function in ModelItem
62 ModelItem::~ModelItem() { in ~ModelItem()
80 ModelItem *ModelItem::child(int idx) const { in child()
684 ModelItem *mi = new ModelItem(o); in recursiveClone()
701 ModelItem *UserModel::moveItem(ModelItem *oldparent, ModelItem *newparent, ModelItem *item) { in moveItem()
718 ModelItem *t = new ModelItem(item); in moveItem()
854 ModelItem *item = new ModelItem(p); in addUser()
[all …]
H A DUserModel.h19 struct ModelItem Q_DECL_FINAL {
23 Q_DISABLE_COPY(ModelItem)
30 ModelItem *parent;
31 QList<ModelItem *> qlChildren;
40 ModelItem(Channel *c);
41 ModelItem(ClientUser *p);
42 ModelItem(ModelItem *);
43 ~ModelItem();
61 friend struct ModelItem;
75 ModelItem *miRoot;
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/Activities/Presentation/
H A DActivityDesignerHelper.cs29 public static bool IsItemInSequence(this ModelItem item, out ModelItem sequence) in IsItemInSequence()
39 Func<ModelItem, bool> isInSequencePredicate = (p) => in IsItemInSequence()
57 ModelItem container = item.GetParentEnumerator(isInSequencePredicate).LastOrDefault(); in IsItemInSequence()
64 …public static bool IsItemInFlowchart(this ModelItem item, out ModelItem flowchart, out ModelItem f… in IsItemInFlowchart()
73 ModelItem flowStepContainer = null; in IsItemInFlowchart()
78 Func<ModelItem, bool> isInFlowchartPredicate = (p) => in IsItemInFlowchart()
101 ModelItem container = item.GetParentEnumerator(isInFlowchartPredicate).LastOrDefault(); in IsItemInFlowchart()
112 public static bool IsMessagingActivity(this ModelItem item) in IsMessagingActivity()
143 … var scope = VariableHelper.FindCommonVariableScope(viewElement.ModelItem, viewElement.ModelItem); in GenerateUniqueVariableNameForContext()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/ServiceModel/Activities/Presentation/
H A DReceiveDesigner.xaml.cs120 if (null != this.ModelItem) in OnModelItemChanged()
122 this.ModelItem.PropertyChanged += OnModelItemPropertyChanged; in OnModelItemChanged()
142 ModelItem container; in OnCreateSendReplyExecute()
143 ModelItem flowStepContainer; in OnCreateSendReplyExecute()
148 if (this.ModelItem.IsItemInSequence(out container)) in OnCreateSendReplyExecute()
153 int index = activities.IndexOf(this.ModelItem) + 1; in OnCreateSendReplyExecute()
170 Func<ModelItem, object, object> callback = CreateSendReply; in OnCreateSendReplyExecute()
175 static SendReply CreateSendReply(ModelItem target, object context) in CreateSendReply()
178 ModelItem receive = (ModelItem)context; in CreateSendReply()
193 foreach (ModelItem item in correlations) in CreateSendReply()
[all …]
H A DContentDialogViewModel.cs18 ModelItem messageExpression;
21 public ContentDialogViewModel(ModelItem modelItem) in ContentDialogViewModel()
23 this.ModelItem = modelItem; in ContentDialogViewModel()
69 public ModelItem ModelItem property in System.ServiceModel.Activities.Presentation.ContentDialogViewModel
79 return this.ModelItem.GetEditingContext();
83 public ModelItem MessageExpression
135 ModelProperty contentProperty = this.ModelItem.Properties["Content"]; in OnOk()
162 ModelItem parameterModelItem; in InitializeMessageAndParameterData()
163 ModelTreeManager modelTreeManager = (this.ModelItem as IModelTreeItem).ModelTreeManager; in InitializeMessageAndParameterData()
165 ModelItem contentModelItem = this.ModelItem.Properties["Content"].Value; in InitializeMessageAndParameterData()

12345