umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umllistviewitem.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLLISTVIEWITEM_H
12 #define UMLLISTVIEWITEM_H
13
14 #include "basictypes.h"
15 #include "icon_utils.h"
16
17 #include <QDomDocument>
18 #include <QDomElement>
19 #include <QMap>
20 #include <QPointer>
21 #include <QTreeWidget>
22
23 // forward declarations
24 class UMLListView;
25 class UMLObject;
26 class UMLClassifierListItem;
27
28 typedef QTreeWidgetItemIterator UMLListViewItemIterator;
29
39 class UMLListViewItem : public QTreeWidgetItem
40 {
41 public:
42 enum ListViewType
43 {
44 //the values in this enum are saved out to the file
45 //for file compatibility, only add new values to the end
46 lvt_Min = 799,
47 lvt_View = 800,
48 lvt_Logical_View,
49 lvt_UseCase_View,
50 lvt_Logical_Folder,
51 lvt_UseCase_Folder,
52 lvt_UseCase_Diagram,
53 lvt_Collaboration_Diagram,
54 lvt_Class_Diagram,
55 lvt_State_Diagram,
56 lvt_Activity_Diagram,
57 lvt_Sequence_Diagram,
58 lvt_Actor,
59 lvt_UseCase,
60 lvt_Class,
61 lvt_Attribute,
62 lvt_Operation,
63 lvt_Template,
64 lvt_Interface,
65 lvt_Package,
66 lvt_Component_Diagram,
67 lvt_Component_Folder,
68 lvt_Component_View,
69 lvt_Component,
70 lvt_Diagrams, // currently unused
71 lvt_Artifact,
72 lvt_Deployment_Diagram,
73 lvt_Deployment_Folder,
74 lvt_Deployment_View,
75 lvt_Node,
76 lvt_Datatype,
77 lvt_Datatype_Folder,
78 lvt_Enum,
79 lvt_Entity,
80 lvt_EntityAttribute,
81 lvt_EntityRelationship_Diagram,
82 lvt_EntityRelationship_Folder,
83 lvt_EntityRelationship_Model,
84 lvt_Subsystem,
85 lvt_Model,
86 lvt_EnumLiteral,
87 lvt_UniqueConstraint,
88 lvt_PrimaryKeyConstraint,
89 lvt_ForeignKeyConstraint,
90 lvt_CheckConstraint,
91 lvt_Category,
92 lvt_Port,
93 lvt_Properties,
94 lvt_Properties_AutoLayout,
95 lvt_Properties_Class,
96 lvt_Properties_CodeGeneration,
97 lvt_Properties_CodeImport,
98 lvt_Properties_CodeViewer,
99 lvt_Properties_Font,
100 lvt_Properties_General,
101 lvt_Properties_UserInterface,
102 lvt_Association,
103 lvt_Object_Diagram,
104 lvt_Instance,
105 lvt_InstanteAttribute,
106 // enter new values above
107 lvt_Max,
108 lvt_Unknown = -1
109 };
110
111 static QString toString(ListViewType type);
112
113 UMLListViewItem(UMLListView * parent, const QString &name, ListViewType t, UMLObject* o = 0);
114 explicit UMLListViewItem(UMLListView * parent);
115 explicit UMLListViewItem(UMLListViewItem * parent);
116 UMLListViewItem(UMLListViewItem * parent, const QString &name, ListViewType t, UMLObject* o = 0);
117 UMLListViewItem(UMLListViewItem * parent, const QString &name, ListViewType t, Uml::ID::Type id);
118 ~UMLListViewItem();
119
120 ListViewType type() const;
121
122 void setID(Uml::ID::Type id);
123 Uml::ID::Type ID() const;
124
125 void setUMLObject(UMLObject * obj);
126 UMLObject * umlObject() const;
127
128 bool isOwnParent(Uml::ID::Type listViewItemID);
129
130 void updateObject();
131 void updateFolder();
132
133 void setText(int column, const QString &text);
134 void setText(const QString &text);
135 QString getSavedText() const;
136 void setVisible(bool state);
137
138 QString toolTip();
139
140 void setIcon(Icon_Utils::IconType iconType);
141
142 void addClassifierListItem(UMLClassifierListItem *child, UMLListViewItem *childItem);
143
144 void deleteChildItem(UMLClassifierListItem *child);
145
146 //virtual int compare(UMLListViewItem *other, int col, bool ascending) const;
147
148 UMLListViewItem* deepCopy(UMLListViewItem *newParent);
149
150 UMLListViewItem* findUMLObject(const UMLObject *o);
151 UMLListViewItem* findChildObject(UMLClassifierListItem *cli);
152 UMLListViewItem* findItem(Uml::ID::Type id);
153
154 UMLListViewItem* childItem(int i);
155
156 void saveToXMI1(QDomDocument& qDoc, QDomElement& qElement);
157 bool loadFromXMI1(QDomElement& qElement);
158
159 bool isOpen() { return isExpanded(); }
160 void setOpen(bool state);
161
162 public slots:
163 void slotEditFinished(const QString &newText);
164
165 protected:
166 void init();
167
168 void cancelRenameWithMsg();
169
176 typedef QMap<UMLClassifierListItem*, UMLListViewItem*> ChildObjectMap;
177
178 ListViewType m_type;
179 Uml::ID::Type m_id;
180 QPointer<UMLObject> m_object;
181 QString m_label;
182 ChildObjectMap m_comap;
183
184 };
185
186 QDebug operator<<(QDebug dbg, const UMLListViewItem& item);
187
188 #endif
UMLAttribute::setVisibility
void setVisibility(Uml::Visibility::Enum s)
Definition: attribute.cpp:87
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
UMLEntity
Non-graphical Information for an Entity.
Definition: entity.h:35
Model_Utils::typeIsDiagram
bool typeIsDiagram(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1393
UMLListViewItem::lvt_UseCase_Folder
@ lvt_UseCase_Folder
Definition: umllistviewitem.h:51
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
template.h
UMLListViewItem::lvt_CheckConstraint
@ lvt_CheckConstraint
Definition: umllistviewitem.h:90
UMLOperation::addParm
void addParm(UMLAttribute *parameter, int position=-1)
Definition: operation.cpp:276
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:131
UMLListViewItem::lvt_Logical_View
@ lvt_Logical_View
Definition: umllistviewitem.h:48
Uml::CmdRenameUMLObject
Definition: cmdrenameumlobject.h:21
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:80
UMLListViewItem::lvt_Enum
@ lvt_Enum
Definition: umllistviewitem.h:78
Model_Utils::convert_LVT_IT
Icon_Utils::IconType convert_LVT_IT(UMLListViewItem::ListViewType lvt, UMLObject *o)
Definition: model_utils.cpp:1842
Model_Utils::Parse_Status
Parse_Status
Definition: model_utils.h:108
Model_Utils::isClassifierListitem
bool isClassifierListitem(UMLObject::ObjectType type)
Definition: model_utils.cpp:808
Uml::Visibility::Implementation
@ Implementation
Definition: basictypes.h:63
UMLListViewItem::isOwnParent
bool isOwnParent(Uml::ID::Type listViewItemID)
Definition: umllistviewitem.cpp:321
UMLListViewItem::deepCopy
UMLListViewItem * deepCopy(UMLListViewItem *newParent)
Definition: umllistviewitem.cpp:815
UMLListViewItem::lvt_Diagrams
@ lvt_Diagrams
Definition: umllistviewitem.h:70
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1324
UMLAttributeList
Definition: umlattributelist.h:27
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
Model_Utils::convert_OT_LVT
UMLListViewItem::ListViewType convert_OT_LVT(UMLObject *o)
Definition: model_utils.cpp:1568
UMLObject::asUMLClassifierListItem
UMLClassifierListItem * asUMLClassifierListItem()
Definition: umlobject.cpp:1310
umlview.h
Model_Utils::parseConstraint
Parse_Status parseConstraint(QString m, QString &name, UMLEntity *owningScope)
Definition: model_utils.cpp:1125
UMLListViewItem::cancelRenameWithMsg
void cancelRenameWithMsg()
Definition: umllistviewitem.cpp:707
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
Icon_Utils::it_Diagram_Collaboration
@ it_Diagram_Collaboration
Definition: icon_utils.h:126
UMLObject::ot_Association
@ ot_Association
Definition: umlobject.h:91
Icon_Utils::it_Protected_Method
@ it_Protected_Method
Definition: icon_utils.h:114
entity.h
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:43
UMLListViewItem::lvt_EntityRelationship_Folder
@ lvt_EntityRelationship_Folder
Definition: umllistviewitem.h:82
UMLFolder::folderFile
QString folderFile() const
Definition: folder.cpp:260
UMLAttribute::setParmKind
void setParmKind(Uml::ParameterDirection::Enum pk)
Definition: attribute.cpp:117
UMLListViewItem::lvt_EntityRelationship_Diagram
@ lvt_EntityRelationship_Diagram
Definition: umllistviewitem.h:81
UMLListViewItem::lvt_Properties
@ lvt_Properties
Definition: umllistviewitem.h:93
UMLListViewItem::umlObject
UMLObject * umlObject() const
Definition: umllistviewitem.cpp:312
UMLClassifier::getFilteredList
virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const
Definition: classifier.cpp:998
UMLObject::asUMLAttribute
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1305
UMLListViewItem::lvt_Collaboration_Diagram
@ lvt_Collaboration_Diagram
Definition: umllistviewitem.h:53
UMLOperation::removeParm
void removeParm(UMLAttribute *a, bool emitModifiedSignal=true)
Definition: operation.cpp:158
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:89
operation.h
UMLListViewItem::ChildObjectMap
QMap< UMLClassifierListItem *, UMLListViewItem * > ChildObjectMap
Definition: umllistviewitem.h:176
Model_Utils::OpDescriptor
Definition: model_utils.h:129
UMLListViewItem::ID
Uml::ID::Type ID() const
Definition: umllistviewitem.cpp:271
UMLListViewItem::lvt_Datatype
@ lvt_Datatype
Definition: umllistviewitem.h:76
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
UMLListViewItem::lvt_Subsystem
@ lvt_Subsystem
Definition: umllistviewitem.h:84
UMLListViewItem::lvt_Attribute
@ lvt_Attribute
Definition: umllistviewitem.h:61
UMLListViewItem::type
ListViewType type() const
Definition: umllistviewitem.cpp:234
Model_Utils::NameAndType::m_initialValue
QString m_initialValue
Definition: model_utils.h:117
UMLListViewItem::lvt_Actor
@ lvt_Actor
Definition: umllistviewitem.h:58
UMLListViewItem::lvt_EntityRelationship_Model
@ lvt_EntityRelationship_Model
Definition: umllistviewitem.h:83
UMLObject::ot_Attribute
@ ot_Attribute
Definition: umlobject.h:92
UniqueID::init
void init()
Definition: uniqueid.cpp:37
UMLListViewItemIterator
QTreeWidgetItemIterator UMLListViewItemIterator
Definition: umllistviewitem.h:26
Icon_Utils::it_Diagram_Activity
@ it_Diagram_Activity
Definition: icon_utils.h:124
UMLListViewItem::m_object
QPointer< UMLObject > m_object
Definition: umllistviewitem.h:180
UMLListViewItem::lvt_UseCase_Diagram
@ lvt_UseCase_Diagram
Definition: umllistviewitem.h:52
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition: basictypes.h:165
Model_Utils::NameAndType::m_type
UMLObject * m_type
Definition: model_utils.h:115
Icon_Utils::it_Diagram_State
@ it_Diagram_State
Definition: icon_utils.h:131
UMLListViewItem::lvt_Properties_CodeGeneration
@ lvt_Properties_CodeGeneration
Definition: umllistviewitem.h:96
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1263
UMLListViewItem::setID
void setID(Uml::ID::Type id)
Definition: umllistviewitem.cpp:285
UMLListViewItem::lvt_Model
@ lvt_Model
Definition: umllistviewitem.h:85
Icon_Utils::it_Protected_Attribute
@ it_Protected_Attribute
Definition: icon_utils.h:118
Icon_Utils::it_Diagram
@ it_Diagram
Definition: icon_utils.h:84
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:671
cmds.h
UMLListViewItem::lvt_Deployment_View
@ lvt_Deployment_View
Definition: umllistviewitem.h:74
UMLOperation::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false)
Definition: operation.cpp:205
UMLEntityConstraint
Sets up entity constraint information.
Definition: entityconstraint.h:27
Icon_Utils::it_Diagram_Object
@ it_Diagram_Object
Definition: icon_utils.h:133
UMLListViewItem::updateObject
void updateObject()
Definition: umllistviewitem.cpp:339
UMLListViewItem::lvt_Activity_Diagram
@ lvt_Activity_Diagram
Definition: umllistviewitem.h:56
UMLListViewItem::lvt_Sequence_Diagram
@ lvt_Sequence_Diagram
Definition: umllistviewitem.h:57
Icon_Utils::it_Diagram_Class
@ it_Diagram_Class
Definition: icon_utils.h:125
UMLObject::ot_Package
@ ot_Package
Definition: umlobject.h:85
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
UMLListViewItem::isOpen
bool isOpen()
Definition: umllistviewitem.h:159
UMLListViewItem::lvt_Component_Folder
@ lvt_Component_Folder
Definition: umllistviewitem.h:67
UMLListView::document
UMLDoc * document() const
Definition: umllistview.cpp:2084
UMLListViewItem::lvt_Class
@ lvt_Class
Definition: umllistviewitem.h:60
UMLListViewItem::lvt_Deployment_Folder
@ lvt_Deployment_Folder
Definition: umllistviewitem.h:73
UMLListViewItem::lvt_Min
@ lvt_Min
Definition: umllistviewitem.h:46
Icon_Utils::it_Private_Attribute
@ it_Private_Attribute
Definition: icon_utils.h:117
UMLListViewItem::m_label
QString m_label
Definition: umllistviewitem.h:181
UMLListViewItem::~UMLListViewItem
~UMLListViewItem()
Definition: umllistviewitem.cpp:185
model_utils.h
UMLListViewItem::lvt_ForeignKeyConstraint
@ lvt_ForeignKeyConstraint
Definition: umllistviewitem.h:89
operator<<
QDebug operator<<(QDebug dbg, const UMLListViewItem &item)
Definition: umllistviewitem.cpp:1079
UMLListViewItem::lvt_InstanteAttribute
@ lvt_InstanteAttribute
Definition: umllistviewitem.h:105
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLListViewItem::setIcon
void setIcon(Icon_Utils::IconType iconType)
Definition: umllistviewitem.cpp:468
UMLListViewItem::lvt_EntityAttribute
@ lvt_EntityAttribute
Definition: umllistviewitem.h:80
UMLObject::ot_InstanceAttribute
@ ot_InstanceAttribute
Definition: umlobject.h:110
UMLListViewItem::lvt_Component_Diagram
@ lvt_Component_Diagram
Definition: umllistviewitem.h:66
UMLDoc::isUnique
bool isUnique(const QString &name)
Definition: umldoc.cpp:1234
UMLListViewItem::lvt_Properties_CodeImport
@ lvt_Properties_CodeImport
Definition: umllistviewitem.h:97
UMLObject::baseType
ObjectType baseType() const
Definition: umlobject.cpp:397
UMLListViewItem::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistviewitem.cpp:891
entityconstraint.h
operator<<
QDebug operator<<(QDebug dbg, const UMLListViewItem &item)
Definition: umllistviewitem.cpp:1079
UMLListViewItem::init
void init()
Definition: umllistviewitem.cpp:192
UMLListViewItem::lvt_Properties_CodeViewer
@ lvt_Properties_CodeViewer
Definition: umllistviewitem.h:98
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
UMLAttribute::setInitialValue
void setInitialValue(const QString &iv)
Definition: attribute.cpp:109
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1268
UMLListViewItem::m_comap
ChildObjectMap m_comap
Definition: umllistviewitem.h:182
Icon_Utils::it_Home
@ it_Home
Definition: icon_utils.h:48
Model_Utils::typeIsRootView
bool typeIsRootView(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1160
UMLListView::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistview.cpp:1412
UMLListViewItem::setVisible
void setVisible(bool state)
Definition: umllistviewitem.cpp:261
Icon_Utils::it_Diagram_Sequence
@ it_Diagram_Sequence
Definition: icon_utils.h:130
Model_Utils::parseOperation
Parse_Status parseOperation(QString m, OpDescriptor &desc, UMLClassifier *owningScope)
Definition: model_utils.cpp:1055
UMLListViewItem::findUMLObject
UMLListViewItem * findUMLObject(const UMLObject *o)
Definition: umllistviewitem.cpp:837
UMLView
Definition: umlview.h:35
uniqueid.h
UMLListViewItem::toolTip
QString toolTip()
Definition: umllistviewitem.cpp:203
UMLListViewItem::lvt_Object_Diagram
@ lvt_Object_Diagram
Definition: umllistviewitem.h:103
UMLDoc::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1038
UMLListViewItem::lvt_View
@ lvt_View
Definition: umllistviewitem.h:47
attribute.h
UMLListViewItem::childItem
UMLListViewItem * childItem(int i)
Definition: umllistviewitem.cpp:959
UMLListViewItem::lvt_PrimaryKeyConstraint
@ lvt_PrimaryKeyConstraint
Definition: umllistviewitem.h:88
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1074
a
QString a
Definition: petalnode.cpp:18
UMLListViewItem::lvt_Properties_Font
@ lvt_Properties_Font
Definition: umllistviewitem.h:99
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
UMLListViewItem::lvt_Unknown
@ lvt_Unknown
Definition: umllistviewitem.h:108
UMLListViewItem::lvt_Instance
@ lvt_Instance
Definition: umllistviewitem.h:104
UMLListViewItem::addClassifierListItem
void addClassifierListItem(UMLClassifierListItem *child, UMLListViewItem *childItem)
Definition: umllistviewitem.cpp:242
Model_Utils::parseAttribute
Parse_Status parseAttribute(QString a, NameAndType &nmTp, UMLClassifier *owningScope, Uml::Visibility::Enum *vis)
Definition: model_utils.cpp:980
UMLListViewItem::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistviewitem.cpp:873
folder.h
i18n
#define i18n
Definition: main.cpp:39
UMLListViewItem::lvt_Properties_General
@ lvt_Properties_General
Definition: umllistviewitem.h:100
UMLListViewItem::setOpen
void setOpen(bool state)
Definition: umllistviewitem.cpp:434
UMLClassifierListItem::setType
virtual void setType(UMLObject *type)
Definition: classifierlistitem.cpp:127
UMLListViewItem::deleteChildItem
void deleteChildItem(UMLClassifierListItem *child)
Definition: umllistviewitem.cpp:250
UMLListViewItem::lvt_Deployment_Diagram
@ lvt_Deployment_Diagram
Definition: umllistviewitem.h:72
UMLListViewItem::m_id
Uml::ID::Type m_id
Definition: umllistviewitem.h:179
Model_Utils::OpDescriptor::m_name
QString m_name
< Data structure filled by parseOperation().
Definition: model_utils.h:130
UMLListViewItem::lvt_Interface
@ lvt_Interface
Definition: umllistviewitem.h:64
DBG_LVI
#define DBG_LVI
Definition: umllistviewitem.cpp:46
UMLObject::ot_EntityAttribute
@ ot_EntityAttribute
Definition: umlobject.h:102
Model_Utils::NameAndType_ListIt
QLinkedList< NameAndType >::iterator NameAndType_ListIt
Auxiliary type for OpDescriptor.
Definition: model_utils.h:127
basictypes.h
UMLListViewItem::UMLListViewItem
UMLListViewItem(UMLListView *parent, const QString &name, ListViewType t, UMLObject *o=0)
Definition: umllistviewitem.cpp:58
int
int int y int
Definition: cxx11-lambda-functions-and-expressions.h:4
UMLListViewItem::lvt_Artifact
@ lvt_Artifact
Definition: umllistviewitem.h:71
UMLListViewItem::lvt_UniqueConstraint
@ lvt_UniqueConstraint
Definition: umllistviewitem.h:87
UMLClassifierListItem::toString
virtual QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false)
Definition: classifierlistitem.cpp:90
UMLObject::ot_UniqueConstraint
@ ot_UniqueConstraint
Definition: umlobject.h:105
Icon_Utils::SmallIcon
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:41
umllistview.h
UMLListViewItem::lvt_Entity
@ lvt_Entity
Definition: umllistviewitem.h:79
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
UMLListViewItem::lvt_Template
@ lvt_Template
Definition: umllistviewitem.h:63
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLDoc
Definition: umldoc.h:75
Model_Utils::NameAndType
Definition: model_utils.h:113
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLListViewItem::lvt_Properties_UserInterface
@ lvt_Properties_UserInterface
Definition: umllistviewitem.h:101
Icon_Utils::it_Diagram_Usecase
@ it_Diagram_Usecase
Definition: icon_utils.h:132
UMLListViewItem::loadFromXMI1
bool loadFromXMI1(QDomElement &qElement)
Definition: umllistviewitem.cpp:934
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3136
UMLListViewItem::lvt_Component
@ lvt_Component
Definition: umllistviewitem.h:69
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:35
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
UMLListViewItem::lvt_Datatype_Folder
@ lvt_Datatype_Folder
Definition: umllistviewitem.h:77
UMLListViewItem::slotEditFinished
void slotEditFinished(const QString &newText)
Definition: umllistviewitem.cpp:479
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
UMLListViewItem::getSavedText
QString getSavedText() const
Definition: umllistviewitem.cpp:460
umllistviewitem.h
Uml::Visibility::Enum
Enum
Definition: basictypes.h:59
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:27
UMLListViewItem::findChildObject
UMLListViewItem * findChildObject(UMLClassifierListItem *cli)
Definition: umllistviewitem.cpp:856
UMLListViewItem::lvt_Component_View
@ lvt_Component_View
Definition: umllistviewitem.h:68
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
UMLListViewItem::lvt_Category
@ lvt_Category
Definition: umllistviewitem.h:91
classifier.h
UMLScene::setName
void setName(const QString &name)
Definition: umlscene.cpp:418
uError
#define uError()
Definition: debug_utils.h:123
UMLOperation
Definition: operation.h:25
Icon_Utils::it_Public_Method
@ it_Public_Method
Definition: icon_utils.h:112
umlscene.h
UMLListViewItem::lvt_Properties_AutoLayout
@ lvt_Properties_AutoLayout
Definition: umllistviewitem.h:94
UMLListViewItem::lvt_UseCase
@ lvt_UseCase
Definition: umllistviewitem.h:59
Icon_Utils::IconType
IconType
Definition: icon_utils.h:47
UMLListViewItem::lvt_Properties_Class
@ lvt_Properties_Class
Definition: umllistviewitem.h:95
Icon_Utils::it_Subsystem
@ it_Subsystem
Definition: icon_utils.h:91
uml.h
Uml::SignatureType::ShowSig
@ ShowSig
Definition: basictypes.h:164
Model_Utils::OpDescriptor::m_pReturnType
UMLObject * m_pReturnType
Definition: model_utils.h:132
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
Model_Utils::psText
QString psText(Parse_Status value)
Definition: model_utils.cpp:1145
icon_utils.h
Model_Utils::OpDescriptor::m_args
NameAndType_List m_args
Definition: model_utils.h:131
UMLListViewItem::lvt_Logical_Folder
@ lvt_Logical_Folder
Definition: umllistviewitem.h:50
Model_Utils::newText
QString newText(UMLObject::ObjectType type)
Definition: model_utils.cpp:620
Icon_Utils::it_Package
@ it_Package
Definition: icon_utils.h:90
Icon_Utils::it_Diagram_Deployment
@ it_Diagram_Deployment
Definition: icon_utils.h:128
UMLListViewItem::lvt_Class_Diagram
@ lvt_Class_Diagram
Definition: umllistviewitem.h:54
Icon_Utils::it_Public_Attribute
@ it_Public_Attribute
Definition: icon_utils.h:116
UMLListViewItem::lvt_Package
@ lvt_Package
Definition: umllistviewitem.h:65
UMLListViewItem::updateFolder
void updateFolder()
Definition: umllistviewitem.cpp:418
UMLListViewItem::lvt_Node
@ lvt_Node
Definition: umllistviewitem.h:75
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
UMLListViewItem::lvt_Operation
@ lvt_Operation
Definition: umllistviewitem.h:62
UMLAttribute::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false)
Definition: attribute.cpp:133
UMLListViewItem::setUMLObject
void setUMLObject(UMLObject *obj)
Definition: umllistviewitem.cpp:302
UMLListViewItem::lvt_EnumLiteral
@ lvt_EnumLiteral
Definition: umllistviewitem.h:86
UMLListViewItem::m_type
ListViewType m_type
Definition: umllistviewitem.h:178
UMLListView
Displays the list view for the program.
Definition: umllistview.h:47
UMLTemplate
Sets up template information.
Definition: template.h:27
UMLListView::findUMLObject
UMLListViewItem * findUMLObject(const UMLObject *p) const
Definition: umllistview.cpp:1322
UMLObject::ot_Operation
@ ot_Operation
Definition: umlobject.h:93
UMLListViewItem::lvt_State_Diagram
@ lvt_State_Diagram
Definition: umllistviewitem.h:55
Uml::Visibility::Private
@ Private
Definition: basictypes.h:61
Model_Utils::parseTemplate
Parse_Status parseTemplate(QString t, NameAndType &nmTp, UMLClassifier *owningScope)
Definition: model_utils.cpp:940
umlobjectlist.h
Model_Utils::NameAndType::m_direction
Uml::ParameterDirection::Enum m_direction
Definition: model_utils.h:116
Model_Utils::PS_OK
@ PS_OK
Return type of parseOperation().
Definition: model_utils.h:109
UMLOperation::setType
void setType(UMLObject *type)
Definition: operation.cpp:94
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:442
Icon_Utils::it_Diagram_Component
@ it_Diagram_Component
Definition: icon_utils.h:127
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3438
UMLObject::ot_Folder
@ ot_Folder
Definition: umlobject.h:103
UMLListViewItem::lvt_Max
@ lvt_Max
Definition: umllistviewitem.h:107
Model_Utils::typeIsFolder
bool typeIsFolder(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1213
UMLTemplate::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false)
Definition: template.cpp:54
UMLListViewItem::lvt_Port
@ lvt_Port
Definition: umllistviewitem.h:92
UMLDoc::signalDiagramRenamed
void signalDiagramRenamed(UMLView *view)
Definition: umldoc.cpp:3453
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:30
UMLListViewItem::setText
void setText(int column, const QString &text)
Definition: umllistviewitem.cpp:451
Icon_Utils::it_Private_Method
@ it_Private_Method
Definition: icon_utils.h:113
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1005
Model_Utils::NameAndType::m_name
QString m_name
< Data structure filled by parseAttribute().
Definition: model_utils.h:114
umldoc.h
Model_Utils::typeIsClassifierList
bool typeIsClassifierList(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1246
UMLListViewItem::lvt_Association
@ lvt_Association
Definition: umllistviewitem.h:102
UMLListViewItem::toString
static QString toString(ListViewType type)
Definition: umllistviewitem.cpp:964
UMLListViewItem::lvt_UseCase_View
@ lvt_UseCase_View
Definition: umllistviewitem.h:49