umbrello  2.35.0
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  SPDX-License-Identifier: GPL-2.0-or-later
3  SPDX-FileCopyrightText: 2002-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5 
6 #ifndef UMLLISTVIEWITEM_H
7 #define UMLLISTVIEWITEM_H
8 
9 #include "basictypes.h"
10 #include "icon_utils.h"
11 
12 #include <QDomDocument>
13 #include <QDomElement>
14 #include <QHash>
15 #include <QPointer>
16 #include <QTreeWidget>
17 #include <QXmlStreamWriter>
18 
19 // forward declarations
20 class UMLListView;
21 class UMLObject;
23 
24 typedef QTreeWidgetItemIterator UMLListViewItemIterator;
25 
35 class UMLListViewItem : public QTreeWidgetItem
36 {
37 public:
39  {
40  //the values in this enum are saved out to the file
41  //for file compatibility, only add new values to the end
42  lvt_Min = 799,
43  lvt_View = 800,
66  lvt_Diagrams, // currently unused
102  // enter new values above
105  };
106 
107  static QString toString(ListViewType type);
108 
109  UMLListViewItem(UMLListView * parent, const QString &name, ListViewType t, UMLObject* o = 0);
110  explicit UMLListViewItem(UMLListView * parent);
111  explicit UMLListViewItem(UMLListViewItem * parent);
112  UMLListViewItem(UMLListViewItem * parent, const QString &name, ListViewType t, UMLObject* o = 0);
113  UMLListViewItem(UMLListViewItem * parent, const QString &name, ListViewType t, Uml::ID::Type id);
114 
115  ListViewType type() const;
116 
117  void setID(Uml::ID::Type id);
118  Uml::ID::Type ID() const;
119 
120  void setUMLObject(UMLObject * obj);
121  UMLObject * umlObject() const;
122 
123  bool isOwnParent(Uml::ID::Type listViewItemID);
124 
125  void updateObject();
126  void updateFolder();
127 
128  void setText(int column, const QString &text);
129  void setText(const QString &text);
130  QString getSavedText() const;
131  void setVisible(bool state);
132 
133  QString toolTip() const;
134 
135  void setIcon(Icon_Utils::IconType iconType);
136 
138 
139  void deleteChildItem(UMLObject *child);
140  static void deleteItem(UMLListViewItem *childItem);
141 
142  //virtual int compare(UMLListViewItem *other, int col, bool ascending) const;
143 
145 
149 
150  UMLListViewItem* childItem(int i);
151 
152  void saveToXMI(QXmlStreamWriter& writer);
153  bool loadFromXMI(QDomElement& qElement);
154 
155  bool isOpen() const { return isExpanded(); }
156  void setOpen(bool state);
157 
158 public slots:
159  void slotEditFinished(const QString &newText);
160 
161 protected:
162  void init();
163 
164  void cancelRenameWithMsg();
165 
167 
174  typedef QHash<const UMLObject*, UMLListViewItem*> ChildObjectMap;
175 
178  QPointer<UMLObject> m_object;
179  QString m_label;
181 
182 };
183 
184 QDebug operator<<(QDebug dbg, const UMLListViewItem& item);
185 
186 #endif
UMLAttribute::setVisibility
void setVisibility(Uml::Visibility::Enum s)
Definition: attribute.cpp:88
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:421
UMLEntity
Non-graphical Information for an Entity.
Definition: entity.h:29
Model_Utils::typeIsDiagram
bool typeIsDiagram(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1452
UMLListViewItem::lvt_UseCase_Folder
@ lvt_UseCase_Folder
Definition: umllistviewitem.h:47
UMLAttribute::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false) const
Definition: attribute.cpp:135
template.h
UMLListViewItem::lvt_CheckConstraint
@ lvt_CheckConstraint
Definition: umllistviewitem.h:86
UMLOperation::addParm
void addParm(UMLAttribute *parameter, int position=-1)
Definition: operation.cpp:276
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:129
UMLListViewItem::lvt_Logical_View
@ lvt_Logical_View
Definition: umllistviewitem.h:44
Uml::CmdRenameUMLObject
Definition: cmdrenameumlobject.h:15
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:75
logDebug1
#define logDebug1(s, a)
Definition: uml.h:541
UMLListViewItem::lvt_Enum
@ lvt_Enum
Definition: umllistviewitem.h:74
Model_Utils::convert_LVT_IT
Icon_Utils::IconType convert_LVT_IT(UMLListViewItem::ListViewType lvt, UMLObject *o)
Definition: model_utils.cpp:1904
Model_Utils::Parse_Status
Parse_Status
Definition: model_utils.h:106
Model_Utils::isClassifierListitem
bool isClassifierListitem(UMLObject::ObjectType type)
Definition: model_utils.cpp:860
Uml::Visibility::Implementation
@ Implementation
Definition: basictypes.h:49
UMLListViewItem::isOwnParent
bool isOwnParent(Uml::ID::Type listViewItemID)
Definition: umllistviewitem.cpp:338
instanceattribute.h
UMLListViewItem::deepCopy
UMLListViewItem * deepCopy(UMLListViewItem *newParent)
Definition: umllistviewitem.cpp:838
UMLListViewItem::lvt_Diagrams
@ lvt_Diagrams
Definition: umllistviewitem.h:66
UMLAttributeList
Definition: umlattributelist.h:20
UMLObject::name
QString name() const
Definition: umlobject.cpp:207
Model_Utils::convert_OT_LVT
UMLListViewItem::ListViewType convert_OT_LVT(UMLObject *o)
Definition: model_utils.cpp:1627
umlview.h
Model_Utils::parseConstraint
Parse_Status parseConstraint(QString m, QString &name, UMLEntity *owningScope)
Definition: model_utils.cpp:1178
UMLListViewItem::cancelRenameWithMsg
void cancelRenameWithMsg()
Definition: umllistviewitem.cpp:729
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:177
Icon_Utils::it_Diagram_Collaboration
@ it_Diagram_Collaboration
Definition: icon_utils.h:109
UMLObject::ot_Association
@ ot_Association
Definition: umlobject.h:87
Icon_Utils::it_Protected_Method
@ it_Protected_Method
Definition: icon_utils.h:97
entity.h
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:38
UMLListViewItem::lvt_EntityRelationship_Folder
@ lvt_EntityRelationship_Folder
Definition: umllistviewitem.h:78
UMLFolder::folderFile
QString folderFile() const
Definition: folder.cpp:260
UMLAttribute::setParmKind
void setParmKind(Uml::ParameterDirection::Enum pk)
Definition: attribute.cpp:118
UMLListViewItem::lvt_EntityRelationship_Diagram
@ lvt_EntityRelationship_Diagram
Definition: umllistviewitem.h:77
UMLListViewItem::lvt_Properties
@ lvt_Properties
Definition: umllistviewitem.h:89
UMLListViewItem::umlObject
UMLObject * umlObject() const
Definition: umllistviewitem.cpp:329
UMLClassifier::getFilteredList
virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const
Definition: classifier.cpp:999
UMLListViewItem::lvt_Collaboration_Diagram
@ lvt_Collaboration_Diagram
Definition: umllistviewitem.h:49
UMLOperation::removeParm
void removeParm(UMLAttribute *a, bool emitModifiedSignal=true)
Definition: operation.cpp:157
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:35
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:85
operation.h
Model_Utils::OpDescriptor
Definition: model_utils.h:127
UMLListViewItem::ID
Uml::ID::Type ID() const
Definition: umllistviewitem.cpp:288
UMLListViewItem::lvt_Datatype
@ lvt_Datatype
Definition: umllistviewitem.h:72
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:373
UMLListViewItem::lvt_Subsystem
@ lvt_Subsystem
Definition: umllistviewitem.h:80
UMLListViewItem::lvt_Attribute
@ lvt_Attribute
Definition: umllistviewitem.h:57
UMLListViewItem::type
ListViewType type() const
Definition: umllistviewitem.cpp:227
Model_Utils::NameAndType::m_initialValue
QString m_initialValue
Definition: model_utils.h:115
UMLListViewItem::lvt_Actor
@ lvt_Actor
Definition: umllistviewitem.h:54
UMLListViewItem::lvt_EntityRelationship_Model
@ lvt_EntityRelationship_Model
Definition: umllistviewitem.h:79
UMLOperation::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false) const
Definition: operation.cpp:205
logError0
#define logError0(s)
Definition: uml.h:539
UMLObject::ot_Attribute
@ ot_Attribute
Definition: umlobject.h:88
UMLListViewItemIterator
QTreeWidgetItemIterator UMLListViewItemIterator
Definition: umllistviewitem.h:22
Icon_Utils::it_Diagram_Activity
@ it_Diagram_Activity
Definition: icon_utils.h:107
UMLListViewItem::m_object
QPointer< UMLObject > m_object
Definition: umllistviewitem.h:178
UMLListViewItem::lvt_UseCase_Diagram
@ lvt_UseCase_Diagram
Definition: umllistviewitem.h:48
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition: basictypes.h:163
Model_Utils::NameAndType::m_type
UMLObject * m_type
Definition: model_utils.h:113
Icon_Utils::it_Diagram_State
@ it_Diagram_State
Definition: icon_utils.h:114
UMLListViewItem::lvt_Properties_CodeGeneration
@ lvt_Properties_CodeGeneration
Definition: umllistviewitem.h:92
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1306
UMLListViewItem::setID
void setID(Uml::ID::Type id)
Definition: umllistviewitem.cpp:302
UMLListViewItem::lvt_Model
@ lvt_Model
Definition: umllistviewitem.h:81
logError1
#define logError1(s, a)
Definition: uml.h:545
Icon_Utils::it_Protected_Attribute
@ it_Protected_Attribute
Definition: icon_utils.h:101
Icon_Utils::it_Diagram
@ it_Diagram
Definition: icon_utils.h:67
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:676
cmds.h
UMLListViewItem::lvt_Deployment_View
@ lvt_Deployment_View
Definition: umllistviewitem.h:70
UMLEntityConstraint
Sets up entity constraint information.
Definition: entityconstraint.h:21
Icon_Utils::it_Diagram_Object
@ it_Diagram_Object
Definition: icon_utils.h:116
UMLListViewItem::updateObject
void updateObject()
Definition: umllistviewitem.cpp:357
UMLListViewItem::lvt_Activity_Diagram
@ lvt_Activity_Diagram
Definition: umllistviewitem.h:52
UMLListViewItem::lvt_Sequence_Diagram
@ lvt_Sequence_Diagram
Definition: umllistviewitem.h:53
UMLListViewItem::lvt_InstanceAttribute
@ lvt_InstanceAttribute
Definition: umllistviewitem.h:101
Icon_Utils::it_Diagram_Class
@ it_Diagram_Class
Definition: icon_utils.h:108
UMLObject::ot_Package
@ ot_Package
Definition: umlobject.h:81
UMLObject::asUMLAttribute
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1418
Uml::ID::Type
std::string Type
Definition: basictypes.h:371
UMLListViewItem::lvt_Component_Folder
@ lvt_Component_Folder
Definition: umllistviewitem.h:63
UMLListView::document
UMLDoc * document() const
Definition: umllistview.cpp:2124
UMLListViewItem::lvt_Class
@ lvt_Class
Definition: umllistviewitem.h:56
UMLListViewItem::lvt_Deployment_Folder
@ lvt_Deployment_Folder
Definition: umllistviewitem.h:69
UMLListViewItem::lvt_Min
@ lvt_Min
Definition: umllistviewitem.h:42
Icon_Utils::it_Private_Attribute
@ it_Private_Attribute
Definition: icon_utils.h:100
UMLListViewItem::ChildObjectMap
QHash< const UMLObject *, UMLListViewItem * > ChildObjectMap
Definition: umllistviewitem.h:174
UMLListViewItem::m_label
QString m_label
Definition: umllistviewitem.h:179
UMLListViewItem::toolTip
QString toolTip() const
Definition: umllistviewitem.cpp:196
model_utils.h
UMLListViewItem::lvt_ForeignKeyConstraint
@ lvt_ForeignKeyConstraint
Definition: umllistviewitem.h:85
operator<<
QDebug operator<<(QDebug dbg, const UMLListViewItem &item)
Definition: umllistviewitem.cpp:1127
UMLObject
The base class for UML objects.
Definition: umlobject.h:69
UMLListViewItem::setIcon
void setIcon(Icon_Utils::IconType iconType)
Definition: umllistviewitem.cpp:490
UMLListViewItem::lvt_EntityAttribute
@ lvt_EntityAttribute
Definition: umllistviewitem.h:76
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1437
UMLObject::ot_InstanceAttribute
@ ot_InstanceAttribute
Definition: umlobject.h:106
UMLListViewItem::lvt_Component_Diagram
@ lvt_Component_Diagram
Definition: umllistviewitem.h:62
UMLListViewItem::lvt_Properties_CodeImport
@ lvt_Properties_CodeImport
Definition: umllistviewitem.h:93
UMLInstanceAttribute::toString
QString toString() const
Definition: instanceattribute.cpp:97
UMLObject::baseType
ObjectType baseType() const
Definition: umlobject.cpp:393
entityconstraint.h
UMLObject::asUMLClassifierListItem
UMLClassifierListItem * asUMLClassifierListItem()
Definition: umlobject.cpp:1423
operator<<
QDebug operator<<(QDebug dbg, const UMLListViewItem &item)
Definition: umllistviewitem.cpp:1127
UMLListViewItem::s_comap
static ChildObjectMap * s_comap
Definition: umllistviewitem.h:180
UMLListViewItem::findChildObject
UMLListViewItem * findChildObject(const UMLObject *child)
Definition: umllistviewitem.cpp:905
UMLListViewItem::init
void init()
Definition: umllistviewitem.cpp:183
UMLListViewItem::lvt_Properties_CodeViewer
@ lvt_Properties_CodeViewer
Definition: umllistviewitem.h:94
Uml::Visibility::Public
@ Public
Definition: basictypes.h:46
UMLAttribute::setInitialValue
void setInitialValue(const QString &iv)
Definition: attribute.cpp:110
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1311
Icon_Utils::it_Home
@ it_Home
Definition: icon_utils.h:31
Model_Utils::typeIsRootView
bool typeIsRootView(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1213
UMLListView::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistview.cpp:1427
UMLListViewItem::setVisible
void setVisible(bool state)
Definition: umllistviewitem.cpp:278
Icon_Utils::it_Diagram_Sequence
@ it_Diagram_Sequence
Definition: icon_utils.h:113
Model_Utils::parseOperation
Parse_Status parseOperation(QString m, OpDescriptor &desc, UMLClassifier *owningScope)
Definition: model_utils.cpp:1108
UMLListViewItem::findUMLObject
UMLListViewItem * findUMLObject(const UMLObject *o)
Definition: umllistviewitem.cpp:862
UMLView
Definition: umlview.h:29
uniqueid.h
it
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Definition: GPL-2.0-only.txt:64
UMLListViewItem::lvt_Object_Diagram
@ lvt_Object_Diagram
Definition: umllistviewitem.h:99
UMLDoc::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1092
UMLListViewItem::lvt_View
@ lvt_View
Definition: umllistviewitem.h:43
attribute.h
UMLListViewItem::childItem
UMLListViewItem * childItem(int i)
Definition: umllistviewitem.cpp:1007
number
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Library General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: LGPL-2.0-only.txt:368
UMLListViewItem::lvt_PrimaryKeyConstraint
@ lvt_PrimaryKeyConstraint
Definition: umllistviewitem.h:84
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1149
a
QString a
Definition: petalnode.cpp:13
UMLListViewItem::lvt_Properties_Font
@ lvt_Properties_Font
Definition: umllistviewitem.h:95
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:432
UMLListViewItem::lvt_Unknown
@ lvt_Unknown
Definition: umllistviewitem.h:104
UMLListViewItem::lvt_Instance
@ lvt_Instance
Definition: umllistviewitem.h:100
Model_Utils::parseAttribute
Parse_Status parseAttribute(QString a, NameAndType &nmTp, UMLClassifier *owningScope, Uml::Visibility::Enum *vis)
Definition: model_utils.cpp:1033
UMLListViewItem::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistviewitem.cpp:922
UMLListViewItem::saveToXMI
void saveToXMI(QXmlStreamWriter &writer)
Definition: umllistviewitem.cpp:940
logDebug2
#define logDebug2(s, a, b)
Definition: uml.h:547
folder.h
i18n
#define i18n
Definition: main.cpp:35
UMLListViewItem::findUMLObject_r
UMLListViewItem * findUMLObject_r(const UMLObject *o)
Definition: umllistviewitem.cpp:882
UMLListViewItem::lvt_Properties_General
@ lvt_Properties_General
Definition: umllistviewitem.h:96
UMLListViewItem::setOpen
void setOpen(bool state)
Definition: umllistviewitem.cpp:456
UMLClassifierListItem::setType
virtual void setType(UMLObject *type)
Definition: classifierlistitem.cpp:123
UMLListViewItem::lvt_Deployment_Diagram
@ lvt_Deployment_Diagram
Definition: umllistviewitem.h:68
UMLListViewItem::m_id
Uml::ID::Type m_id
Definition: umllistviewitem.h:177
Model_Utils::OpDescriptor::m_name
QString m_name
< Data structure filled by parseOperation().
Definition: model_utils.h:128
UMLListViewItem::lvt_Interface
@ lvt_Interface
Definition: umllistviewitem.h:60
UMLObject::ot_EntityAttribute
@ ot_EntityAttribute
Definition: umlobject.h:98
Model_Utils::NameAndType_ListIt
QLinkedList< NameAndType >::iterator NameAndType_ListIt
Auxiliary type for OpDescriptor.
Definition: model_utils.h:125
basictypes.h
UMLListViewItem::UMLListViewItem
UMLListViewItem(UMLListView *parent, const QString &name, ListViewType t, UMLObject *o=0)
Definition: umllistviewitem.cpp:58
UMLListViewItem::deleteChildItem
void deleteChildItem(UMLObject *child)
Definition: umllistviewitem.cpp:249
int
int int y int
Definition: cxx11-lambda-functions-and-expressions.h:4
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1422
UMLListViewItem::lvt_Artifact
@ lvt_Artifact
Definition: umllistviewitem.h:67
UMLListViewItem::lvt_UniqueConstraint
@ lvt_UniqueConstraint
Definition: umllistviewitem.h:83
UMLDoc::isUnique
bool isUnique(const QString &name) const
Definition: umldoc.cpp:1289
UMLObject::ot_UniqueConstraint
@ ot_UniqueConstraint
Definition: umlobject.h:101
Icon_Utils::SmallIcon
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:34
umllistview.h
UMLListViewItem::lvt_Entity
@ lvt_Entity
Definition: umllistviewitem.h:75
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:431
UMLListViewItem::lvt_Template
@ lvt_Template
Definition: umllistviewitem.h:59
UMLListViewItem::addChildItem
void addChildItem(UMLObject *child, UMLListViewItem *childItem)
Definition: umllistviewitem.cpp:237
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:349
UMLListViewItem::isOpen
bool isOpen() const
Definition: umllistviewitem.h:155
UMLDoc
Definition: umldoc.h:69
Model_Utils::NameAndType
Definition: model_utils.h:111
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
UMLListViewItem::lvt_Properties_UserInterface
@ lvt_Properties_UserInterface
Definition: umllistviewitem.h:97
Icon_Utils::it_Diagram_Usecase
@ it_Diagram_Usecase
Definition: icon_utils.h:115
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3195
UMLListViewItem::lvt_Component
@ lvt_Component
Definition: umllistviewitem.h:65
UMLTemplate::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false) const
Definition: template.cpp:50
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:29
UMLListViewItem::lvt_Datatype_Folder
@ lvt_Datatype_Folder
Definition: umllistviewitem.h:73
UMLListViewItem::slotEditFinished
void slotEditFinished(const QString &newText)
Definition: umllistviewitem.cpp:501
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:21
UMLListViewItem::getSavedText
QString getSavedText() const
Definition: umllistviewitem.cpp:482
umllistviewitem.h
Uml::Visibility::Enum
Enum
Definition: basictypes.h:45
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:21
UMLListViewItem::lvt_Component_View
@ lvt_Component_View
Definition: umllistviewitem.h:64
UMLListViewItem::loadFromXMI
bool loadFromXMI(QDomElement &qElement)
Definition: umllistviewitem.cpp:982
UMLListViewItem::lvt_Category
@ lvt_Category
Definition: umllistviewitem.h:87
classifier.h
UMLClassifierListItem::toString
virtual QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false) const
Definition: classifierlistitem.cpp:87
UMLScene::setName
void setName(const QString &name)
Definition: umlscene.cpp:424
UMLOperation
Definition: operation.h:19
Icon_Utils::it_Public_Method
@ it_Public_Method
Definition: icon_utils.h:95
umlscene.h
UMLListViewItem::lvt_Properties_AutoLayout
@ lvt_Properties_AutoLayout
Definition: umllistviewitem.h:90
UMLListViewItem::lvt_UseCase
@ lvt_UseCase
Definition: umllistviewitem.h:55
Icon_Utils::IconType
IconType
Definition: icon_utils.h:29
UMLListViewItem::lvt_Properties_Class
@ lvt_Properties_Class
Definition: umllistviewitem.h:91
Icon_Utils::it_Subsystem
@ it_Subsystem
Definition: icon_utils.h:74
uml.h
Uml::SignatureType::ShowSig
@ ShowSig
Definition: basictypes.h:162
Model_Utils::OpDescriptor::m_pReturnType
UMLObject * m_pReturnType
Definition: model_utils.h:130
UMLInstanceAttribute
Sets up instanceattribute information.
Definition: instanceattribute.h:33
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
debug_utils.h
Model_Utils::psText
QString psText(Parse_Status value)
Definition: model_utils.cpp:1198
icon_utils.h
Model_Utils::OpDescriptor::m_args
NameAndType_List m_args
Definition: model_utils.h:129
UMLListViewItem::lvt_Logical_Folder
@ lvt_Logical_Folder
Definition: umllistviewitem.h:46
Model_Utils::newText
QString newText(UMLObject::ObjectType type)
Definition: model_utils.cpp:648
Icon_Utils::it_Package
@ it_Package
Definition: icon_utils.h:73
Icon_Utils::it_Diagram_Deployment
@ it_Diagram_Deployment
Definition: icon_utils.h:111
UMLListViewItem::lvt_Class_Diagram
@ lvt_Class_Diagram
Definition: umllistviewitem.h:50
Icon_Utils::it_Public_Attribute
@ it_Public_Attribute
Definition: icon_utils.h:99
UMLListViewItem::lvt_Package
@ lvt_Package
Definition: umllistviewitem.h:61
UMLListViewItem::updateFolder
void updateFolder()
Definition: umllistviewitem.cpp:440
UMLListViewItem::lvt_Node
@ lvt_Node
Definition: umllistviewitem.h:71
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:51
UMLListViewItem::lvt_Operation
@ lvt_Operation
Definition: umllistviewitem.h:58
UMLListViewItem::setUMLObject
void setUMLObject(UMLObject *obj)
Definition: umllistviewitem.cpp:319
UMLListViewItem::lvt_EnumLiteral
@ lvt_EnumLiteral
Definition: umllistviewitem.h:82
UMLListViewItem::m_type
ListViewType m_type
Definition: umllistviewitem.h:176
UMLListView
Displays the list view for the program.
Definition: umllistview.h:42
UMLTemplate
Sets up template information.
Definition: template.h:21
UMLListView::findUMLObject
UMLListViewItem * findUMLObject(const UMLObject *p) const
Definition: umllistview.cpp:1337
UMLObject::ot_Operation
@ ot_Operation
Definition: umlobject.h:89
UMLListViewItem::lvt_State_Diagram
@ lvt_State_Diagram
Definition: umllistviewitem.h:51
UMLListViewItem::deleteItem
static void deleteItem(UMLListViewItem *childItem)
Definition: umllistviewitem.cpp:268
Uml::Visibility::Private
@ Private
Definition: basictypes.h:47
Model_Utils::parseTemplate
Parse_Status parseTemplate(QString t, NameAndType &nmTp, UMLClassifier *owningScope)
Definition: model_utils.cpp:993
umlobjectlist.h
Model_Utils::NameAndType::m_direction
Uml::ParameterDirection::Enum m_direction
Definition: model_utils.h:114
Model_Utils::PS_OK
@ PS_OK
Return type of parseOperation().
Definition: model_utils.h:107
UMLOperation::setType
void setType(UMLObject *type)
Definition: operation.cpp:93
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:448
UMLDoc::findView
UMLView * findView(Uml::ID::Type id) const
Definition: umldoc.cpp:1055
Icon_Utils::it_Diagram_Component
@ it_Diagram_Component
Definition: icon_utils.h:110
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3623
UMLObject::ot_Folder
@ ot_Folder
Definition: umlobject.h:99
UMLListViewItem::lvt_Max
@ lvt_Max
Definition: umllistviewitem.h:103
Model_Utils::typeIsFolder
bool typeIsFolder(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1267
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject) const
Definition: umlcanvasobject.cpp:237
UMLListViewItem::lvt_Port
@ lvt_Port
Definition: umllistviewitem.h:88
UMLDoc::signalDiagramRenamed
void signalDiagramRenamed(UMLView *view)
Definition: umldoc.cpp:3512
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:24
UMLListViewItem::setText
void setText(int column, const QString &text)
Definition: umllistviewitem.cpp:473
Icon_Utils::it_Private_Method
@ it_Private_Method
Definition: icon_utils.h:96
Model_Utils::NameAndType::m_name
QString m_name
< Data structure filled by parseAttribute().
Definition: model_utils.h:112
umldoc.h
Model_Utils::typeIsClassifierList
bool typeIsClassifierList(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1300
UMLListViewItem::lvt_Association
@ lvt_Association
Definition: umllistviewitem.h:98
UMLListViewItem::toString
static QString toString(ListViewType type)
Definition: umllistviewitem.cpp:1012
UMLListViewItem::lvt_UseCase_View
@ lvt_UseCase_View
Definition: umllistviewitem.h:45
logError2
#define logError2(s, a, b)
Definition: uml.h:551
UMLPackage
Non-graphical information for a Package.
Definition: package.h:27
logDebug0
#define logDebug0(s)
Definition: uml.h:535