umbrello: umbrello/umllistview.h Source File

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

umllistview.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 UMLLISTVIEW_H
12 #define UMLLISTVIEW_H
13
14 #include "basictypes.h"
15 #include "umllistviewitem.h"
16 #include "umllistviewitemlist.h"
17 #include "icon_utils.h"
18 #include "umlobject.h"
19
20 #include <QDomDocument>
21 #include <QDomElement>
22 #include <QTreeWidget>
23 #include <QTreeWidgetItem>
24
25 class QEvent;
26 class QMouseEvent;
27 class QFocusEvent;
28 class QKeyEvent;
29 class QDropEvent;
30 class UMLClassifier;
31 class UMLDoc;
32 class UMLView;
33 class UMLClassifierListItem;
34 class UMLDragData;
35
46 class UMLListView : public QTreeWidget
47 {
48 Q_OBJECT
49 public:
50 explicit UMLListView(QWidget *parent = 0);
51 ~UMLListView();
52
53 void setDocument(UMLDoc * doc);
54 UMLDoc * document() const;
55
56 void init();
57 void clean();
58
59 void setView(UMLView* view);
60
61 void setTitle(int column, const QString &text);
62
63 UMLListViewItemList selectedItems();
64 UMLListViewItemList selectedItemsRoot();
65 int selectedItemsCount();
66
67 UMLListViewItem* createDiagramItem(UMLView *view);
68
69 bool createItem(UMLListViewItem *item);
70
71 UMLListViewItem* findFolderForDiagram(Uml::DiagramType::Enum dt);
72
73 UMLListViewItem* determineParentItem(UMLObject* object) const;
74 UMLListViewItem* determineParentItem(UMLListViewItem::ListViewType lvt) const;
75
76 static bool mayHaveChildItems(UMLObject::ObjectType type);
77
78 void addNewItem(UMLListViewItem * parent, UMLListViewItem::ListViewType type);
79
80 UMLListViewItem * findUMLObject(const UMLObject *p) const;
81 UMLListViewItem * findView(UMLView *v);
82 UMLListViewItem * findItem(Uml::ID::Type id);
83
84 UMLListViewItem *rootView(UMLListViewItem::ListViewType type);
85
86 void changeIconOf(UMLObject *o, Icon_Utils::IconType to);
87
88 bool isUnique(UMLListViewItem * item, const QString &name);
89
90 void setStartedCut(bool startedCut);
91 void setStartedCopy(bool startedCopy);
92 bool startedCopy() const;
93
94 UMLListViewItem * moveObject(Uml::ID::Type srcId, UMLListViewItem::ListViewType srcType,
95 UMLListViewItem *newParent);
96
97 void closeDatatypesFolder();
98
99 UMLListViewItem *theRootView() { return m_rv; }
100 UMLListViewItem *theLogicalView() { return m_lv[Uml::ModelType::Logical]; }
101 UMLListViewItem *theUseCaseView() { return m_lv[Uml::ModelType::UseCase]; }
102 UMLListViewItem *theComponentView() { return m_lv[Uml::ModelType::Component]; }
103 UMLListViewItem *theDeploymentView() { return m_lv[Uml::ModelType::Deployment]; }
104 UMLListViewItem *theDatatypeFolder() { return m_datatypeFolder; }
105
106 UMLListViewItem::ListViewType rootViewType(UMLListViewItem *item);
107
108 void saveToXMI1(QDomDocument & qDoc, QDomElement & qElement);
109 bool loadFromXMI1(QDomElement & element);
110 bool loadChildrenFromXMI(UMLListViewItem * parent, QDomElement & element);
111
112 friend QDebug operator<<(QDebug out, const UMLListView& view);
113
114 protected:
115 bool event(QEvent *e);
116 void mouseReleaseEvent(QMouseEvent *me);
117 void mousePressEvent(QMouseEvent *me);
118 void mouseMoveEvent(QMouseEvent *me);
119 void mouseDoubleClickEvent(QMouseEvent *me);
120 void focusOutEvent (QFocusEvent *fe);
121 void contextMenuEvent(QContextMenuEvent *event);
122 UMLDragData* getDragData();
123
124 bool acceptDrag(QDropEvent* event) const;
125 void keyPressEvent(QKeyEvent* ke);
126 void dragEnterEvent(QDragEnterEvent* event);
127 void dragMoveEvent(QDragMoveEvent* event);
128 void dropEvent(QDropEvent* event);
129 void commitData(QWidget *editor);
130
131 UMLListViewItem * findUMLObjectInFolder(UMLListViewItem *folder, UMLObject *obj);
132
133 static bool isExpandable(UMLListViewItem::ListViewType lvt);
134
135 void deleteChildrenOf(UMLListViewItem *parent);
136
137 bool deleteItem(UMLListViewItem *temp);
138
139 void childObjectAdded(UMLClassifierListItem* child, UMLClassifier* parent);
140
141 void addAtContainer(UMLListViewItem *item, UMLListViewItem *parent);
142
143 public slots:
144 void slotDiagramCreated(Uml::ID::Type id);
145 void slotDiagramRenamed(Uml::ID::Type id);
146 void slotDiagramRemoved(Uml::ID::Type id);
147 void slotObjectCreated(UMLObject* object);
148 void slotObjectRemoved(UMLObject* object);
149
150 void connectNewObjectsSlots(UMLObject* object);
151
152 void childObjectAdded(UMLClassifierListItem* obj);
153 void childObjectRemoved(UMLClassifierListItem* obj);
154
155 void slotObjectChanged();
156
157 void slotMenuSelection(QAction* action, const QPoint &position = QPoint());
158
159 void slotDropped(QDropEvent* de, UMLListViewItem* target);
160
161 void expandAll(UMLListViewItem *item);
162 void collapseAll(UMLListViewItem *item);
163
164 void slotCutSuccessful();
165 void slotDeleteSelectedItems();
166
167 protected slots:
168 void slotItemSelectionChanged();
169 void slotExpanded(QTreeWidgetItem* item);
170 void slotCollapsed(QTreeWidgetItem* item);
171
172 private:
173 UMLListViewItem* recursiveSearchForView(UMLListViewItem* folder,
174 UMLListViewItem::ListViewType type, Uml::ID::Type id);
175
176 void setBackgroundColor(const QColor & color);
177
178 UMLListViewItem* m_rv;
179 UMLListViewItem* m_lv[Uml::ModelType::N_MODELTYPES];
180 UMLListViewItem* m_datatypeFolder;
181 UMLListViewItem* m_settingsFolder;
182 UMLDoc* m_doc;
183 bool m_bStartedCut;
184 bool m_bStartedCopy;
185 bool m_bCreatingChildObject;
186 QPoint m_dragStartPosition;
187 QMimeData* m_dragCopyData;
188 QList<QTreeWidgetItem*> m_findItems;
189 };
190
191 #endif
Model_Utils::convert_LVT_DT
Uml::DiagramType::Enum convert_LVT_DT(UMLListViewItem::ListViewType lvt)
Definition: model_utils.cpp:2021
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
umllistviewpopupmenu.h
UMLEntity
Non-graphical Information for an Entity.
Definition: entity.h:35
UMLApp::currentView
UMLView * currentView() const
Definition: uml.cpp:3144
Model_Utils::typeIsDiagram
bool typeIsDiagram(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1394
UMLListView::m_settingsFolder
UMLListViewItem * m_settingsFolder
settings root
Definition: umllistview.h:181
UMLCategory::ct_Disjoint_Specialisation
@ ct_Disjoint_Specialisation
Definition: category.h:51
UMLListViewItem::lvt_UseCase_Folder
@ lvt_UseCase_Folder
Definition: umllistviewitem.h:51
category.h
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:99
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1308
Uml::ModelType::Enum
Enum
Definition: basictypes.h:75
template.h
UMLListViewItem::lvt_CheckConstraint
@ lvt_CheckConstraint
Definition: umllistviewitem.h:90
instance.h
UMLOperation::addParm
void addParm(UMLAttribute *parameter, int position=-1)
Definition: operation.cpp:276
UMLListView::setDocument
void setDocument(UMLDoc *doc)
Definition: umllistview.cpp:1201
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:131
umllistviewitemlist.h
ListPopupMenu::mt_Expand_All
@ mt_Expand_All
Definition: listpopupmenu.h:225
UMLListViewItem::lvt_Logical_View
@ lvt_Logical_View
Definition: umllistviewitem.h:48
ListPopupMenu::mt_CheckConstraint
@ mt_CheckConstraint
Definition: listpopupmenu.h:71
UMLListView::m_lv
UMLListViewItem * m_lv[Uml::ModelType::N_MODELTYPES]
predefined list view roots
Definition: umllistview.h:179
UMLDoc::setName
void setName(const QString &name)
Definition: umldoc.cpp:1997
LayoutGenerator
Definition: layoutgenerator.h:39
UMLDoc::url
const KUrl & url() const
Definition: umldoc.cpp:330
ListPopupMenu::mt_Show
@ mt_Show
Definition: listpopupmenu.h:185
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3084
UMLListView::mousePressEvent
void mousePressEvent(QMouseEvent *me)
Definition: umllistview.cpp:208
UMLClassifier::takeItem
int takeItem(UMLClassifierListItem *item)
Definition: classifier.cpp:1168
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:80
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:104
UMLListView::acceptDrag
bool acceptDrag(QDropEvent *event) const
Definition: umllistview.cpp:1532
UMLListView::addAtContainer
void addAtContainer(UMLListViewItem *item, UMLListViewItem *parent)
Definition: umllistview.cpp:1601
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:1843
ListPopupMenu::mt_EntityRelationship_Folder
@ mt_EntityRelationship_Folder
Definition: listpopupmenu.h:60
UMLListView::mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent *me)
Definition: umllistview.cpp:1496
UMLListView::slotDeleteSelectedItems
void slotDeleteSelectedItems()
Definition: umllistview.cpp:2202
UMLListView::m_bStartedCopy
bool m_bStartedCopy
Definition: umllistview.h:184
checkconstraint.h
umluniqueconstraintdialog.h
ListPopupMenu::mt_EntityAttribute
@ mt_EntityAttribute
Definition: listpopupmenu.h:83
UMLDoc::datatypeFolder
UMLFolder * datatypeFolder() const
Definition: umldoc.cpp:2979
ListPopupMenu::mt_Internalize_Folder
@ mt_Internalize_Folder
Definition: listpopupmenu.h:232
UMLClipboard::paste
bool paste(const QMimeData *data)
Definition: umlclipboard.cpp:194
UMLListView::mayHaveChildItems
static bool mayHaveChildItems(UMLObject::ObjectType type)
Definition: umllistview.cpp:937
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
instanceattribute.h
UMLListViewItem::deepCopy
UMLListViewItem * deepCopy(UMLListViewItem *newParent)
Definition: umllistviewitem.cpp:815
ListPopupMenu::mt_Subsystem
@ mt_Subsystem
Definition: listpopupmenu.h:128
UMLListView::rootViewType
UMLListViewItem::ListViewType rootViewType(UMLListViewItem *item)
Definition: umllistview.cpp:2120
UMLInstance
Non-graphical Information for an Instance.
Definition: instance.h:27
UMLObject::ot_CheckConstraint
@ ot_CheckConstraint
Definition: umlobject.h:107
ListPopupMenu::mt_Export_Image
@ mt_Export_Image
Definition: listpopupmenu.h:187
UMLApp::slotImportProject
void slotImportProject()
Definition: uml.cpp:2743
UMLArtifact
Non-graphical information for a Artifact.
Definition: artifact.h:28
docwindow.h
UMLObject::ot_Port
@ ot_Port
Definition: umlobject.h:109
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1323
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:1569
umlview.h
Uml::CmdCreateDiagram
Definition: cmdcreatediagram.h:25
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
UMLListView::loadChildrenFromXMI
bool loadChildrenFromXMI(UMLListViewItem *parent, QDomElement &element)
Definition: umllistview.cpp:2436
IDChangeLog::findNewID
Uml::ID::Type findNewID(Uml::ID::Type OldID)
Definition: idchangelog.cpp:62
UMLCanvasObject
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:34
ListPopupMenu::mt_Deployment_Diagram
@ mt_Deployment_Diagram
Definition: listpopupmenu.h:51
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
UMLCanvasObject::uniqChildName
virtual QString uniqChildName(const UMLObject::ObjectType type, const QString &prefix=QString())
Definition: umlcanvasobject.cpp:180
UMLApp::slotEditCopy
void slotEditCopy()
Definition: uml.cpp:1668
UMLListView::m_doc
UMLDoc * m_doc
Definition: umllistview.h:182
umlattributedialog.h
WidgetBase::name
QString name() const
Definition: widgetbase.cpp:309
UMLObject::ot_Artifact
@ ot_Artifact
Definition: umlobject.h:97
UMLObject::ot_Association
@ ot_Association
Definition: umlobject.h:91
ListPopupMenu::mt_Datatype
@ mt_Datatype
Definition: listpopupmenu.h:76
entity.h
UMLListView::createDiagramItem
UMLListViewItem * createDiagramItem(UMLView *view)
Definition: umllistview.cpp:1998
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:43
UMLListViewItem::lvt_EntityRelationship_Folder
@ lvt_EntityRelationship_Folder
Definition: umllistviewitem.h:82
UMLAttribute::setParmKind
void setParmKind(Uml::ParameterDirection::Enum pk)
Definition: attribute.cpp:117
UMLFolder::folderFile
QString folderFile() const
Definition: folder.cpp:259
component.h
UMLScene::activeView
UMLView * activeView() const
Definition: umlscene.cpp:348
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:1304
UMLListViewItem::lvt_Collaboration_Diagram
@ lvt_Collaboration_Diagram
Definition: umllistviewitem.h:53
UMLObject::ot_ForeignKeyConstraint
@ ot_ForeignKeyConstraint
Definition: umlobject.h:106
Object_Factory::createUMLObject
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Definition: object_factory.cpp:211
WidgetBase::umlScene
UMLScene * umlScene() const
Definition: widgetbase.cpp:162
UMLListView::slotMenuSelection
void slotMenuSelection(QAction *action, const QPoint &position=QPoint())
Definition: umllistview.cpp:329
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:89
ListPopupMenu::mt_Enum
@ mt_Enum
Definition: listpopupmenu.h:84
operation.h
UMLClassifierListItem::getType
UMLClassifier * getType() const
Definition: classifierlistitem.cpp:102
UMLObject::ot_Entity
@ ot_Entity
Definition: umlobject.h:101
UMLAttribute::getInitialValue
QString getInitialValue() const
Definition: attribute.cpp:99
umlclipboard.h
foreignkeyconstraint.h
UMLClassifier::createOperation
UMLOperation * createOperation(const QString &name=QString(), bool *isExistingOp=0, Model_Utils::NameAndType_List *params=0)
Definition: classifier.cpp:236
UMLListViewItem::ID
Uml::ID::Type ID() const
Definition: umllistviewitem.cpp:271
UMLListView::UMLListView
UMLListView(QWidget *parent=0)
Definition: umllistview.cpp:100
UMLListViewItem::lvt_Datatype
@ lvt_Datatype
Definition: umllistviewitem.h:76
Uml::DiagramType::State
@ State
Definition: basictypes.h:102
UMLObject::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent=0)
Definition: umlobject.cpp:145
UMLObject::asUMLInstance
UMLInstance * asUMLInstance()
Definition: umlobject.cpp:1319
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:370
UMLDoc::removeDiagram
void removeDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1801
UMLListViewItem::lvt_Subsystem
@ lvt_Subsystem
Definition: umllistviewitem.h:84
UMLDragData::LvTypeAndID
Definition: umldragdata.h:65
UMLListViewItem::lvt_Attribute
@ lvt_Attribute
Definition: umllistviewitem.h:61
ListPopupMenu::mt_ChangeToClass
@ mt_ChangeToClass
Definition: listpopupmenu.h:176
UMLScene::updateContainment
void updateContainment(UMLCanvasObject *self)
Definition: umlscene.cpp:2345
UMLListViewItem::type
ListViewType type() const
Definition: umllistviewitem.cpp:234
ListPopupMenu::mt_Collapse_All
@ mt_Collapse_All
Definition: listpopupmenu.h:226
UMLListView::childObjectRemoved
void childObjectRemoved(UMLClassifierListItem *obj)
Definition: umllistview.cpp:1169
UMLListViewItem::lvt_Actor
@ lvt_Actor
Definition: umllistviewitem.h:58
Uml::ModelType::Logical
@ Logical
Definition: basictypes.h:93
umloperationdialog.h
UMLListViewItem::lvt_EntityRelationship_Model
@ lvt_EntityRelationship_Model
Definition: umllistviewitem.h:83
UMLObject::ot_Attribute
@ ot_Attribute
Definition: umlobject.h:92
UMLListView::m_datatypeFolder
UMLListViewItem * m_datatypeFolder
Definition: umllistview.h:180
UMLApp::slotOpenFileInEditor
bool slotOpenFileInEditor(const QUrl &file, int startCursor=0, int endCursor=0)
Definition: uml.cpp:3328
UMLDoc::rootFolder
UMLFolder * rootFolder(Uml::ModelType::Enum mt)
Definition: umldoc.cpp:3194
artifact.h
ListPopupMenu::mt_Artifact
@ mt_Artifact
Definition: listpopupmenu.h:67
Uml::ModelType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:122
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:94
ListPopupMenu::mt_DisjointSpecialisation
@ mt_DisjointSpecialisation
Definition: listpopupmenu.h:78
UMLListViewItemIterator
QTreeWidgetItemIterator UMLListViewItemIterator
Definition: umllistviewitem.h:26
object_factory.h
UMLListView::theDatatypeFolder
UMLListViewItem * theDatatypeFolder()
Definition: umllistview.h:104
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:101
UMLObject::ot_Interface
@ ot_Interface
Definition: umlobject.h:86
UMLListViewItem::lvt_UseCase_Diagram
@ lvt_UseCase_Diagram
Definition: umllistviewitem.h:52
UMLListView::event
bool event(QEvent *e)
Definition: umllistview.cpp:188
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition: basictypes.h:182
ListPopupMenu::mt_UniqueConstraint
@ mt_UniqueConstraint
Definition: listpopupmenu.h:131
UMLListView::clean
void clean()
Definition: umllistview.cpp:1471
UMLListViewItem::lvt_Properties_CodeGeneration
@ lvt_Properties_CodeGeneration
Definition: umllistviewitem.h:96
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1280
ListPopupMenu::mt_Undefined
@ mt_Undefined
Definition: listpopupmenu.h:262
UMLListViewItem::setID
void setID(Uml::ID::Type id)
Definition: umllistviewitem.cpp:285
UMLCanvasObject::removeAllChildObjects
virtual void removeAllChildObjects()
Definition: umlcanvasobject.cpp:161
UMLListView::slotObjectRemoved
void slotObjectRemoved(UMLObject *object)
Definition: umllistview.cpp:1219
Model_Utils::typeIsAllowedInType
bool typeIsAllowedInType(UMLListViewItem::ListViewType childType, UMLListViewItem::ListViewType parentType)
Definition: model_utils.cpp:1307
Model_Utils::convert_MT_LVT
UMLListViewItem::ListViewType convert_MT_LVT(Uml::ModelType::Enum mt)
Definition: model_utils.cpp:1450
umlentityattributedialog.h
UMLListView::selectedItemsRoot
UMLListViewItemList selectedItemsRoot()
Definition: umllistview.cpp:1972
DiagramsModel::emitDataChanged
void emitDataChanged(const QModelIndex &index)
Definition: diagramsmodel.cpp:120
ListPopupMenu::mt_Sequence_Diagram
@ mt_Sequence_Diagram
Definition: listpopupmenu.h:53
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:670
cmds.h
UMLListViewItem::lvt_Deployment_View
@ lvt_Deployment_View
Definition: umllistviewitem.h:74
ListPopupMenu::mt_Node
@ mt_Node
Definition: listpopupmenu.h:108
DocWindow::updateDocumentation
void updateDocumentation(bool clear=false, bool startup=false)
Definition: docwindow.cpp:273
UMLListView::findFolderForDiagram
UMLListViewItem * findFolderForDiagram(Uml::DiagramType::Enum dt)
Definition: umllistview.cpp:820
UMLObject::asUMLCategory
UMLCategory * asUMLCategory()
Definition: umlobject.cpp:1306
ListPopupMenu::mt_Category
@ mt_Category
Definition: listpopupmenu.h:70
UMLListView::focusOutEvent
void focusOutEvent(QFocusEvent *fe)
Definition: umllistview.cpp:2085
UMLObject::umlPackage
UMLPackage * umlPackage() const
Definition: umlobject.cpp:645
UMLListView::m_bCreatingChildObject
bool m_bCreatingChildObject
when creating an attribute or an operation to stop it adding a second listViewItem
Definition: umllistview.h:185
ListPopupMenu::mt_Port
@ mt_Port
Definition: listpopupmenu.h:117
UMLListViewItem::updateObject
void updateObject()
Definition: umllistviewitem.cpp:339
UMLListViewItem::lvt_Activity_Diagram
@ lvt_Activity_Diagram
Definition: umllistviewitem.h:56
ListPopupMenu::mt_Class
@ mt_Class
Definition: listpopupmenu.h:73
UMLListViewItem::lvt_Sequence_Diagram
@ lvt_Sequence_Diagram
Definition: umllistviewitem.h:57
UMLListView::deleteChildrenOf
void deleteChildrenOf(UMLListViewItem *parent)
Definition: umllistview.cpp:2719
ListPopupMenu::mt_Cut
@ mt_Cut
Definition: listpopupmenu.h:190
UMLObject::ot_Actor
@ ot_Actor
Definition: umlobject.h:83
UMLListView::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event)
Definition: umllistview.cpp:2807
UMLDragData
Definition: umldragdata.h:38
Dialog_Utils::askName
bool askName(const QString &title, const QString &prompt, QString &name)
Definition: dialog_utils.cpp:96
UMLFolder::addView
void addView(UMLView *view)
Definition: folder.cpp:87
UMLListView::addNewItem
void addNewItem(UMLListViewItem *parent, UMLListViewItem::ListViewType type)
Definition: umllistview.cpp:2215
UMLPackage::containedObjects
UMLObjectList & containedObjects()
Definition: package.cpp:228
UMLObject::ot_Package
@ ot_Package
Definition: umlobject.h:85
UMLListView::~UMLListView
~UMLListView()
Definition: umllistview.cpp:145
Uml::ID::Type
std::string Type
Definition: basictypes.h:368
UMLListView::dropEvent
void dropEvent(QDropEvent *event)
Definition: umllistview.cpp:2829
Object_Factory::createChildObject
UMLClassifierListItem * createChildObject(UMLClassifier *parent, UMLObject::ObjectType type, const QString &name)
Definition: object_factory.cpp:308
Model_Utils::typeIsContainer
bool typeIsContainer(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1233
UMLDragData::getClip3TypeAndID
static bool getClip3TypeAndID(const QMimeData *mimeData, LvTypeAndID_List &typeAndIdList)
Definition: umldragdata.cpp:351
ListPopupMenu::mt_Deployment_Folder
@ mt_Deployment_Folder
Definition: listpopupmenu.h:59
UMLListView::findUMLObjectInFolder
UMLListViewItem * findUMLObjectInFolder(UMLListViewItem *folder, UMLObject *obj)
Definition: umllistview.cpp:1269
UMLScene::clearSelected
void clearSelected()
Definition: umlscene.cpp:1441
UMLListViewItem::lvt_Component_Folder
@ lvt_Component_Folder
Definition: umllistviewitem.h:67
UMLListView::document
UMLDoc * document() const
Definition: umllistview.cpp:2076
UMLListViewItem::lvt_Class
@ lvt_Class
Definition: umllistviewitem.h:60
UMLListViewItem::lvt_Deployment_Folder
@ lvt_Deployment_Folder
Definition: umllistviewitem.h:73
UMLListView::slotDiagramRenamed
void slotDiagramRenamed(Uml::ID::Type id)
Definition: umllistview.cpp:1184
UMLObject::ot_UMLObject
@ ot_UMLObject
Definition: umlobject.h:82
ListPopupMenu::mt_Logical_Folder
@ mt_Logical_Folder
Definition: listpopupmenu.h:56
model_utils.h
ListPopupMenu::mt_Entity
@ mt_Entity
Definition: listpopupmenu.h:82
UMLListView::slotCollapsed
void slotCollapsed(QTreeWidgetItem *item)
Definition: umllistview.cpp:2175
UMLListViewItem::lvt_ForeignKeyConstraint
@ lvt_ForeignKeyConstraint
Definition: umllistviewitem.h:89
UMLListViewItem::lvt_InstanteAttribute
@ lvt_InstanteAttribute
Definition: umllistviewitem.h:105
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:106
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLListView::startedCopy
bool startedCopy() const
Definition: umllistview.cpp:2675
UMLListViewItem::setIcon
void setIcon(Icon_Utils::IconType iconType)
Definition: umllistviewitem.cpp:468
UMLListViewItem::lvt_EntityAttribute
@ lvt_EntityAttribute
Definition: umllistviewitem.h:80
Model_Utils::NameAndType_List
QLinkedList< NameAndType > NameAndType_List
Auxiliary type for OpDescriptor.
Definition: model_utils.h:126
UMLListView::createItem
bool createItem(UMLListViewItem *item)
UMLObject::ot_InstanceAttribute
@ ot_InstanceAttribute
Definition: umlobject.h:110
UMLDoc::loading
bool loading() const
Definition: umldoc.cpp:1570
UMLListView::theUseCaseView
UMLListViewItem * theUseCaseView()
Definition: umllistview.h:101
UMLObject::asUMLEnum
UMLEnum * asUMLEnum()
Definition: umlobject.cpp:1315
UMLListViewItem::lvt_Component_Diagram
@ lvt_Component_Diagram
Definition: umllistviewitem.h:66
UMLDoc::createDiagramName
QString createDiagramName(Uml::DiagramType::Enum type, bool askForName=true)
Definition: umldoc.cpp:1617
UMLListView::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event)
Definition: umllistview.cpp:2097
UMLListViewItem::lvt_Properties_CodeImport
@ lvt_Properties_CodeImport
Definition: umllistviewitem.h:97
ListPopupMenu::mt_Clone
@ mt_Clone
Definition: listpopupmenu.h:230
UMLDragData::LvTypeAndID_It
QListIterator< LvTypeAndID * > LvTypeAndID_It
Definition: umldragdata.h:70
UMLObject::baseType
ObjectType baseType() const
Definition: umlobject.cpp:397
UMLListViewItem::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistviewitem.cpp:891
UMLListView::setStartedCopy
void setStartedCopy(bool startedCopy)
Definition: umllistview.cpp:2667
UMLListViewPopupMenu
Definition: umllistviewpopupmenu.h:17
umltemplatedialog.h
optionstate.h
UMLDragData::LvTypeAndID::id
Uml::ID::Type id
Definition: umldragdata.h:67
UMLListView::theLogicalView
UMLListViewItem * theLogicalView()
Definition: umllistview.h:100
UMLListView::expandAll
void expandAll(UMLListViewItem *item)
Definition: umllistview.cpp:2631
ListPopupMenu::mt_Collaboration_Diagram
@ mt_Collaboration_Diagram
Definition: listpopupmenu.h:49
UMLObject::asUMLArtifact
UMLArtifact * asUMLArtifact()
Definition: umlobject.cpp:1302
Uml::ModelType::Deployment
@ Deployment
Definition: basictypes.h:96
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:370
UMLObject::asUMLFolder
UMLFolder * asUMLFolder()
Definition: umlobject.cpp:1317
UMLObject::ot_EnumLiteral
@ ot_EnumLiteral
Definition: umlobject.h:94
UMLListView::rootView
UMLListViewItem * rootView(UMLListViewItem::ListViewType type)
Definition: umllistview.cpp:2684
UMLObject::asUMLEntity
UMLEntity * asUMLEntity()
Definition: umlobject.cpp:1312
UMLDragData::LvTypeAndID::type
UMLListViewItem::ListViewType type
Definition: umldragdata.h:66
ListPopupMenu::mt_Component_Diagram
@ mt_Component_Diagram
Definition: listpopupmenu.h:50
UMLListView::slotCutSuccessful
void slotCutSuccessful()
Definition: umllistview.cpp:2189
UMLScene::getImageExporter
UMLViewImageExporter * getImageExporter()
Definition: umlscene.cpp:1921
ListPopupMenu::mt_Model
@ mt_Model
Definition: listpopupmenu.h:45
UMLListViewItem::lvt_Properties_CodeViewer
@ lvt_Properties_CodeViewer
Definition: umllistviewitem.h:98
ListPopupMenu::mt_Operation
@ mt_Operation
Definition: listpopupmenu.h:112
UMLObject::setStereotypeCmd
void setStereotypeCmd(const QString &_name)
Definition: umlobject.cpp:534
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1285
ListPopupMenu::mt_UseCase
@ mt_UseCase
Definition: listpopupmenu.h:132
UMLAttribute::getParmKind
Uml::ParameterDirection::Enum getParmKind() const
Definition: attribute.cpp:122
umldragdata.h
WidgetBase::umlObject
UMLObject * umlObject() const
Definition: widgetbase.cpp:182
UMLView::setZoom
void setZoom(qreal zoom)
Definition: umlview.cpp:72
Model_Utils::typeIsRootView
bool typeIsRootView(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1161
UMLListView::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistview.cpp:1404
node.h
UMLListViewItem::setVisible
void setVisible(bool state)
Definition: umllistviewitem.cpp:261
UMLObject::ot_Stereotype
@ ot_Stereotype
Definition: umlobject.h:99
UMLListView::init
void init()
Definition: umllistview.cpp:1419
IDChangeLog
Definition: idchangelog.h:27
UMLDoc::changeCurrentView
void changeCurrentView(Uml::ID::Type id)
Definition: umldoc.cpp:1774
UMLListView::recursiveSearchForView
UMLListViewItem * recursiveSearchForView(UMLListViewItem *folder, UMLListViewItem::ListViewType type, Uml::ID::Type id)
Definition: umllistview.cpp:1378
entityattribute.h
UMLListViewItem::findUMLObject
UMLListViewItem * findUMLObject(const UMLObject *o)
Definition: umllistviewitem.cpp:837
UMLView
Definition: umlview.h:35
Model_Utils::convert_LVT_OT
UMLObject::ObjectType convert_LVT_OT(UMLListViewItem::ListViewType lvt)
Definition: model_utils.cpp:1727
Uml::ModelType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:97
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:466
uniqueid.h
UMLWidget::setSelected
virtual void setSelected(bool _select)
Definition: umlwidget.cpp:1573
UMLListViewItem::toolTip
QString toolTip()
Definition: umllistviewitem.cpp:203
UMLApp
Definition: uml.h:100
UMLObject::asUMLCanvasObject
UMLCanvasObject * asUMLCanvasObject()
Definition: umlobject.cpp:1305
UMLListViewItem::lvt_Object_Diagram
@ lvt_Object_Diagram
Definition: umllistviewitem.h:103
UMLDoc::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1036
UMLListViewItem::lvt_View
@ lvt_View
Definition: umllistviewitem.h:47
UMLApp::slotEditPaste
void slotEditPaste()
Definition: uml.cpp:1680
UMLApp::docWindow
DocWindow * docWindow() const
Definition: uml.cpp:1886
ListPopupMenu::mt_Interface
@ mt_Interface
Definition: listpopupmenu.h:97
attribute.h
UMLObject::ot_Role
@ ot_Role
Definition: umlobject.h:100
UMLClassifier::findChildObjectById
virtual UMLObject * findChildObjectById(Uml::ID::Type id, bool considerAncestors=false)
Definition: classifier.cpp:546
Model_Utils::uniqObjectName
QString uniqObjectName(UMLObject::ObjectType type, UMLPackage *parentPkg, QString prefix)
Definition: model_utils.cpp:527
ListPopupMenu::mt_Externalize_Folder
@ mt_Externalize_Folder
Definition: listpopupmenu.h:231
UMLListViewItem::childItem
UMLListViewItem * childItem(int i)
Definition: umllistviewitem.cpp:959
ListPopupMenu::mt_Attribute
@ mt_Attribute
Definition: listpopupmenu.h:68
UMLListView::connectNewObjectsSlots
void connectNewObjectsSlots(UMLObject *object)
Definition: umllistview.cpp:1022
UMLListViewItem::lvt_PrimaryKeyConstraint
@ lvt_PrimaryKeyConstraint
Definition: umllistviewitem.h:88
UMLDoc::diagramsModel
DiagramsModel * diagramsModel()
Definition: umldoc.cpp:2587
UMLListViewItem::lvt_Properties_Font
@ lvt_Properties_Font
Definition: umllistviewitem.h:99
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
Uml::ModelType::Component
@ Component
Definition: basictypes.h:95
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
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
UMLListViewItem::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistviewitem.cpp:873
UMLCategory::setType
void setType(Category_Type type)
Definition: category.cpp:96
ListPopupMenu::mt_Activity_Diagram
@ mt_Activity_Diagram
Definition: listpopupmenu.h:47
UMLClassifier::setBaseType
void setBaseType(UMLObject::ObjectType ot)
Definition: classifier.cpp:83
UMLListView::slotDiagramRemoved
void slotDiagramRemoved(Uml::ID::Type id)
Definition: umllistview.cpp:1234
folder.h
UMLObject::ot_Node
@ ot_Node
Definition: umlobject.h:98
i18n
#define i18n
Definition: main.cpp:39
UMLListView::closeDatatypesFolder
void closeDatatypesFolder()
Definition: umllistview.cpp:2735
UMLPackage::removeObject
void removeObject(UMLObject *pObject)
Definition: package.cpp:190
UMLListViewItem::lvt_Properties_General
@ lvt_Properties_General
Definition: umllistviewitem.h:100
UMLListView::slotObjectChanged
void slotObjectChanged()
Definition: umllistview.cpp:1108
UMLListViewItem::setOpen
void setOpen(bool state)
Definition: umllistviewitem.cpp:434
UMLListViewItem::deleteChildItem
void deleteChildItem(UMLClassifierListItem *child)
Definition: umllistviewitem.cpp:250
UMLListView::selectedItems
UMLListViewItemList selectedItems()
Definition: umllistview.cpp:1952
UMLListViewItem::lvt_Deployment_Diagram
@ lvt_Deployment_Diagram
Definition: umllistviewitem.h:72
UMLListView::theComponentView
UMLListViewItem * theComponentView()
Definition: umllistview.h:102
UMLObject::ot_Datatype
@ ot_Datatype
Definition: umlobject.h:87
UMLEntity::setAsPrimaryKey
bool setAsPrimaryKey(UMLUniqueConstraint *uconstr)
Definition: entity.cpp:512
ListPopupMenu::mt_State_Diagram
@ mt_State_Diagram
Definition: listpopupmenu.h:54
UMLFolder::localName
QString localName() const
Definition: folder.cpp:79
UMLDoc::writeToStatusBar
void writeToStatusBar(const QString &text)
Definition: umldoc.cpp:1206
UMLListViewItem::lvt_Interface
@ lvt_Interface
Definition: umllistviewitem.h:64
UMLObject::ot_EntityAttribute
@ ot_EntityAttribute
Definition: umlobject.h:102
umlviewimageexporter.h
ListPopupMenu::mt_OverlappingSpecialisation
@ mt_OverlappingSpecialisation
Definition: listpopupmenu.h:113
Model_Utils::convert_LVT_MT
Uml::ModelType::Enum convert_LVT_MT(UMLListViewItem::ListViewType lvt)
Definition: model_utils.cpp:1480
basictypes.h
diagramsmodel.h
uDebug
#define uDebug()
Definition: debug_utils.h:122
UMLListView::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Definition: umllistview.cpp:2409
UMLListView::isUnique
bool isUnique(UMLListViewItem *item, const QString &name)
Definition: umllistview.cpp:2290
UMLScene::widgetList
const UMLWidgetList widgetList() const
Definition: umlscene.cpp:603
UMLListViewItem::lvt_Artifact
@ lvt_Artifact
Definition: umllistviewitem.h:71
ListPopupMenu::mt_Import_Project
@ mt_Import_Project
Definition: listpopupmenu.h:189
UMLListView::isExpandable
static bool isExpandable(UMLListViewItem::ListViewType lvt)
Definition: umllistview.cpp:2143
UMLListViewItem::lvt_UniqueConstraint
@ lvt_UniqueConstraint
Definition: umllistviewitem.h:87
v
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
Model_Utils::typeIsCanvasWidget
bool typeIsCanvasWidget(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1181
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
UMLListView::operator<<
friend QDebug operator<<(QDebug out, const UMLListView &view)
Definition: umllistview.cpp:2887
ListPopupMenu::mt_Template
@ mt_Template
Definition: listpopupmenu.h:129
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
Uml::CmdRemoveUMLObject
Definition: cmdremoveumlobject.h:28
umllistview.h
UMLObject::ot_Instance
@ ot_Instance
Definition: umlobject.h:90
UMLListViewItem::lvt_Entity
@ lvt_Entity
Definition: umllistviewitem.h:79
UMLListView::getDragData
UMLDragData * getDragData()
Definition: umllistview.cpp:1244
UMLListViewItem::lvt_Template
@ lvt_Template
Definition: umllistviewitem.h:63
ListPopupMenu::mt_EnumLiteral
@ mt_EnumLiteral
Definition: listpopupmenu.h:85
UMLPackage::findObject
UMLObject * findObject(const QString &name)
Definition: package.cpp:239
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
UMLObject::ot_Component
@ ot_Component
Definition: umlobject.h:96
UMLDoc::name
QString name() const
Definition: umldoc.cpp:2005
UMLDoc
Definition: umldoc.h:75
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLListViewItem::lvt_Properties_UserInterface
@ lvt_Properties_UserInterface
Definition: umllistviewitem.h:101
ListPopupMenu::mt_Actor
@ mt_Actor
Definition: listpopupmenu.h:66
UMLListViewItem::lvt_Component
@ lvt_Component
Definition: umllistviewitem.h:69
UMLListView::slotDiagramCreated
void slotDiagramCreated(Uml::ID::Type id)
Definition: umllistview.cpp:851
UMLListView::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *me)
Definition: umllistview.cpp:251
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:35
UMLListView::m_findItems
QList< QTreeWidgetItem * > m_findItems
Definition: umllistview.h:188
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:100
UMLListView::setBackgroundColor
void setBackgroundColor(const QColor &color)
Definition: umllistview.cpp:2877
UMLListViewItem::lvt_Datatype_Folder
@ lvt_Datatype_Folder
Definition: umllistviewitem.h:77
UMLListViewItem::slotEditFinished
void slotEditFinished(const QString &newText)
Definition: umllistviewitem.cpp:479
UMLListView::m_dragStartPosition
QPoint m_dragStartPosition
Definition: umllistview.h:186
UMLListView::setTitle
void setTitle(int column, const QString &text)
Definition: umllistview.cpp:158
umllistviewitem.h
UMLListView::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *me)
Definition: umllistview.cpp:285
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
UMLListView::collapseAll
void collapseAll(UMLListViewItem *item)
Definition: umllistview.cpp:2643
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:27
ListPopupMenu::mt_Class_Diagram
@ mt_Class_Diagram
Definition: listpopupmenu.h:48
Uml::ModelType::N_MODELTYPES
@ N_MODELTYPES
Definition: basictypes.h:98
UMLApp::slotImportClass
void slotImportClass()
Definition: uml.cpp:2707
DocWindow::showDocumentation
void showDocumentation(UMLObject *object, bool overwrite=false)
Definition: docwindow.cpp:130
UMLFolder::removeView
void removeView(UMLView *view)
Definition: folder.cpp:95
UMLScene::setIsOpen
void setIsOpen(bool isOpen)
Definition: umlscene.cpp:661
UMLListViewItem::findChildObject
UMLListViewItem * findChildObject(UMLClassifierListItem *cli)
Definition: umllistviewitem.cpp:856
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:98
UMLListViewItem::lvt_Component_View
@ lvt_Component_View
Definition: umllistviewitem.h:68
UMLDoc::findUMLObject
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Definition: umldoc.cpp:1065
UMLPackage::addObject
bool addObject(UMLObject *pObject)
Definition: package.cpp:128
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
UMLListViewItem::lvt_Category
@ lvt_Category
Definition: umllistviewitem.h:91
UMLApp::slotPrefs
void slotPrefs(MultiPageDialogBase::PageType page=MultiPageDialogBase::GeneralPage)
Definition: uml.cpp:2014
UMLListView::slotObjectCreated
void slotObjectCreated(UMLObject *object)
Definition: umllistview.cpp:958
classifier.h
Model_Utils::convert_DT_LVT
UMLListViewItem::ListViewType convert_DT_LVT(Uml::DiagramType::Enum dt)
Definition: model_utils.cpp:1508
uError
#define uError()
Definition: debug_utils.h:123
UMLObject::asUMLUniqueConstraint
UMLUniqueConstraint * asUMLUniqueConstraint()
Definition: umlobject.cpp:1329
ListPopupMenu::mt_Copy
@ mt_Copy
Definition: listpopupmenu.h:191
UMLOperation
Definition: operation.h:25
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:107
uniqueconstraint.h
UMLObject::ot_Enum
@ ot_Enum
Definition: umlobject.h:88
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
UMLListView::slotDropped
void slotDropped(QDropEvent *de, UMLListViewItem *target)
Definition: umllistview.cpp:1918
UMLListViewItem::lvt_Properties_Class
@ lvt_Properties_Class
Definition: umllistviewitem.h:95
UMLListView::deleteItem
bool deleteItem(UMLListViewItem *temp)
Definition: umllistview.cpp:2745
uml.h
ListPopupMenu::mt_PrimaryKeyConstraint
@ mt_PrimaryKeyConstraint
Definition: listpopupmenu.h:119
UMLDoc::changeLog
virtual IDChangeLog * changeLog()
Definition: umldoc.cpp:3225
Model_Utils::typeIsProperties
bool typeIsProperties(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1283
UMLView::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent=0)
Definition: umlview.cpp:91
enumliteral.h
UMLListView::m_bStartedCut
bool m_bStartedCut
Definition: umllistview.h:183
UMLObject::setUMLPackage
bool setUMLPackage(UMLPackage *pPkg)
Definition: umlobject.cpp:615
UMLListView::moveObject
UMLListViewItem * moveObject(Uml::ID::Type srcId, UMLListViewItem::ListViewType srcType, UMLListViewItem *newParent)
Definition: umllistview.cpp:1630
UMLObject::ot_UseCase
@ ot_UseCase
Definition: umlobject.h:84
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
UMLViewImageExporter::exportView
void exportView()
Definition: umlviewimageexporter.cpp:76
Uml::ModelType::UseCase
@ UseCase
Definition: basictypes.h:94
icon_utils.h
UMLListView::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistview.cpp:2399
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
UMLCategory::ct_Overlapping_Specialisation
@ ct_Overlapping_Specialisation
Definition: category.h:52
Model_Utils::convert_LVT_PT
MultiPageDialogBase::PageType convert_LVT_PT(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:2067
usecase.h
UMLListView::changeIconOf
void changeIconOf(UMLObject *o, Icon_Utils::IconType to)
Definition: umllistview.cpp:1326
UMLScene
Definition: umlscene.h:69
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
UMLScene::folder
UMLFolder * folder() const
Definition: umlscene.cpp:332
ListPopupMenu::mt_Component
@ mt_Component
Definition: listpopupmenu.h:75
UMLListViewItem::lvt_Logical_Folder
@ lvt_Logical_Folder
Definition: umllistviewitem.h:50
actor.h
Model_Utils::newText
QString newText(UMLObject::ObjectType type)
Definition: model_utils.cpp:621
umlobject.h
ListPopupMenu::mt_Open_File
@ mt_Open_File
Definition: listpopupmenu.h:179
UMLListView::setView
void setView(UMLView *view)
Definition: umllistview.cpp:1484
UMLListViewItem::lvt_Class_Diagram
@ lvt_Class_Diagram
Definition: umllistviewitem.h:54
UMLObject::setVisibility
void setVisibility(Uml::Visibility::Enum visibility)
Definition: umlobject.cpp:476
UMLListViewItem::lvt_Package
@ lvt_Package
Definition: umllistviewitem.h:65
UMLObject::ot_Template
@ ot_Template
Definition: umlobject.h:95
UMLListViewItem::updateFolder
void updateFolder()
Definition: umllistviewitem.cpp:418
UMLListView::slotExpanded
void slotExpanded(QTreeWidgetItem *item)
Definition: umllistview.cpp:2162
ListPopupMenu::mt_UseCase_Folder
@ mt_UseCase_Folder
Definition: listpopupmenu.h:57
UMLListViewItem::lvt_Node
@ lvt_Node
Definition: umllistviewitem.h:75
Model_Utils::guessContainer
Uml::ModelType::Enum guessContainer(UMLObject *o)
Definition: model_utils.cpp:832
ListPopupMenu::mt_Rename
@ mt_Rename
Definition: listpopupmenu.h:183
classpropertiesdialog.h
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
UMLApp::slotEditCut
void slotEditCut()
Definition: uml.cpp:1645
UMLListViewItem::lvt_Operation
@ lvt_Operation
Definition: umllistviewitem.h:62
UMLListView::selectedItemsCount
int selectedItemsCount()
Definition: umllistview.cpp:2067
UMLListViewItem::setUMLObject
void setUMLObject(UMLObject *obj)
Definition: umllistviewitem.cpp:302
LayoutGenerator::generate
bool generate(UMLScene *scene, const QString &variant=QString())
Definition: layoutgenerator.cpp:109
UMLListView::commitData
void commitData(QWidget *editor)
Definition: umllistview.cpp:2845
UMLListViewItem::lvt_EnumLiteral
@ lvt_EnumLiteral
Definition: umllistviewitem.h:86
UMLDoc::importing
bool importing() const
Definition: umldoc.cpp:1588
idchangelog.h
UMLObject::asUMLPackage
UMLPackage * asUMLPackage()
Definition: umlobject.cpp:1324
UMLListView
Displays the list view for the program.
Definition: umllistview.h:47
UMLListView::findUMLObject
UMLListViewItem * findUMLObject(const UMLObject *p) const
Definition: umllistview.cpp:1314
UMLListView::keyPressEvent
void keyPressEvent(QKeyEvent *ke)
Definition: umllistview.cpp:309
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:103
UMLCategory
Information for a non-graphical UML Category.
Definition: category.h:28
UMLObject::ot_Operation
@ ot_Operation
Definition: umlobject.h:93
UMLClipboard
Clipboard management class.
Definition: umlclipboard.h:33
UMLListViewItem::lvt_State_Diagram
@ lvt_State_Diagram
Definition: umllistviewitem.h:55
UMLListView::slotItemSelectionChanged
void slotItemSelectionChanged()
Definition: umllistview.cpp:166
dialog_utils.h
UMLListView::m_rv
UMLListViewItem * m_rv
root view (home)
Definition: umllistview.h:178
LayoutGenerator::apply
bool apply(UMLScene *scene)
Definition: layoutgenerator.cpp:195
ListPopupMenu::mt_ChangeToPackage
@ mt_ChangeToPackage
Definition: listpopupmenu.h:178
UMLListView::m_dragCopyData
QMimeData * m_dragCopyData
Definition: umllistview.h:187
UMLListView::setStartedCut
void setStartedCut(bool startedCut)
Definition: umllistview.cpp:2657
package.h
UMLOperation::setType
void setType(UMLObject *type)
Definition: operation.cpp:94
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:442
ListPopupMenu::mt_Component_Folder
@ mt_Component_Folder
Definition: listpopupmenu.h:58
UMLDoc::viewIterator
UMLViewList viewIterator()
Definition: umldoc.cpp:3094
UMLListView::findView
UMLListViewItem * findView(UMLView *v)
Definition: umllistview.cpp:1338
ListPopupMenu::mt_Import_Class
@ mt_Import_Class
Definition: listpopupmenu.h:188
UMLArtifact::fullPath
QString fullPath() const
Definition: artifact.cpp:97
umlcheckconstraintdialog.h
UMLListView::dragMoveEvent
void dragMoveEvent(QDragMoveEvent *event)
Definition: umllistview.cpp:2815
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3416
UMLObject::ot_Folder
@ ot_Folder
Definition: umlobject.h:103
umlforeignkeyconstraintdialog.h
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:105
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:26
Model_Utils::typeIsFolder
bool typeIsFolder(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1214
UMLDragData::LvTypeAndID_List
QList< LvTypeAndID * > LvTypeAndID_List
Definition: umldragdata.h:69
UMLObjectList
Definition: umlobjectlist.h:29
UMLClipboard::copy
QMimeData * copy(bool fromView=false)
Definition: umlclipboard.cpp:69
UMLListViewItem::lvt_Port
@ lvt_Port
Definition: umllistviewitem.h:92
UMLClassifier::createAttribute
virtual UMLAttribute * createAttribute(const QString &name=QString(), UMLObject *type=0, Uml::Visibility::Enum vis=Uml::Visibility::Private, const QString &init=QString())
Definition: classifier.cpp:756
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:30
ListPopupMenu::mt_UseCase_Diagram
@ mt_UseCase_Diagram
Definition: listpopupmenu.h:55
ListPopupMenu::mt_Paste
@ mt_Paste
Definition: listpopupmenu.h:192
UMLEnum
Non-graphical Information for an Enum.
Definition: enum.h:29
UMLListViewItem::setText
void setText(int column, const QString &text)
Definition: umllistviewitem.cpp:451
UMLListView::theDeploymentView
UMLListViewItem * theDeploymentView()
Definition: umllistview.h:103
UMLFolder::setFolderFile
void setFolderFile(const QString &fileName)
Definition: folder.cpp:251
UMLListView::childObjectAdded
void childObjectAdded(UMLClassifierListItem *child, UMLClassifier *parent)
Definition: umllistview.cpp:1136
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1003
UMLListView::determineParentItem
UMLListViewItem * determineParentItem(UMLObject *object) const
Definition: umllistview.cpp:879
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
ListPopupMenu::mt_InstanceAttribute
@ mt_InstanceAttribute
Definition: listpopupmenu.h:96
ListPopupMenu::mt_Union
@ mt_Union
Definition: listpopupmenu.h:130
umldoc.h
Model_Utils::typeIsClassifierList
bool typeIsClassifierList(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1247
ListPopupMenu::mt_Package
@ mt_Package
Definition: listpopupmenu.h:114
UMLListViewItemList
QList< UMLListViewItem * > UMLListViewItemList
Definition: umllistviewitemlist.h:24
ListPopupMenu::mt_ForeignKeyConstraint
@ mt_ForeignKeyConstraint
Definition: listpopupmenu.h:89
UMLUniqueConstraint
Sets up Unique entity constraint information.
Definition: uniqueconstraint.h:29
UMLListViewItem::toString
static QString toString(ListViewType type)
Definition: umllistviewitem.cpp:964
UMLListView::theRootView
UMLListViewItem * theRootView()
Definition: umllistview.h:99
UMLListViewItem::lvt_UseCase_View
@ lvt_UseCase_View
Definition: umllistviewitem.h:49
Import_Rose::diagramType
Uml::DiagramType::Enum diagramType(QString objType)
Definition: petaltree2uml.cpp:551
UMLObject::ot_Category
@ ot_Category
Definition: umlobject.h:108
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33
layoutgenerator.h
UMLCategory::ct_Union
@ ct_Union
Definition: category.h:53
ListPopupMenu::mt_EntityRelationship_Diagram
@ mt_EntityRelationship_Diagram
Definition: listpopupmenu.h:52
enum.h