umbrello: umbrello/umldoc.h Source File

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

umldoc.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 UMLDOC_H
12 #define UMLDOC_H
13
14 // app includes
15 #include "basictypes.h"
16 #include "optionstate.h"
17 #include "umlobject.h"
18 #include "umlobjectlist.h"
19 #include "umlassociationlist.h"
20 #include "umlclassifierlist.h"
21 #include "umlentitylist.h"
22 #include "umlviewlist.h"
23 #include "umlstereotypelist.h"
24 #include "umlpackagelist.h"
25
26 // kde includes
27 #if QT_VERSION < 0x050000
28 #include <kurl.h>
29 #endif
30
31 // qt includes
32 #if QT_VERSION >= 0x050000
33 #include <QUrl>
34 #endif
35 #include <QMap>
36
37 // system includes
38 #include <typeinfo>
39
40 #define ENC_UNKNOWN 0
41 #define ENC_UNICODE 1
42 #define ENC_WINDOWS 2
43 #define ENC_OLD_ENC 3
44
45 // forward declarations
46 class QDomNode;
47 class QDomElement;
48 class QPrinter;
49
50 class IDChangeLog;
51 class DiagramsModel;
52 class ObjectsModel;
53 class StereotypesModel;
54 class UMLPackage;
55 class UMLFolder;
56 class DiagramPrintPage;
57
74 class UMLDoc : public QObject
75 {
76 Q_OBJECT
77 public:
78
79 UMLDoc();
80 ~UMLDoc();
81
82 void init();
83
84 void addView(UMLView *view);
85 void removeView(UMLView *view, bool enforceOneView = true);
86 void setMainViewID(Uml::ID::Type viewID);
87 void changeCurrentView(Uml::ID::Type id);
88 void activateAllViews();
89 void removeAllViews();
90 void removeAllObjects();
91
92 void setModified(bool modified = true);
93 bool isModified();
94 bool saveModified();
95
96 bool newDocument();
97 void closeDocument();
98 #if QT_VERSION >= 0x050000
99 bool openDocument(const QUrl& url, const char *format = 0);
100 bool saveDocument(const QUrl& url, const char *format = 0);
101 const QUrl& url() const;
102 void setUrl(const QUrl& url);
103 #else
104 bool openDocument(const KUrl& url, const char *format = 0);
105 bool saveDocument(const KUrl& url, const char *format = 0);
106 const KUrl& url() const;
107 void setUrl(const KUrl& url);
108 #endif
109 void setUrlUntitled();
110
111 void setupSignals();
112
113 bool isUnique(const QString &name);
114 bool isUnique(const QString &name, UMLPackage *package);
115
116 UMLAssociation* createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type);
117
118 void addAssociation(UMLAssociation *assoc);
119 void removeAssociation(UMLAssociation *assoc, bool doSetModified = true);
120 UMLAssociation * findAssociation(Uml::AssociationType::Enum assocType,
121 const UMLObject *roleAObj,
122 const UMLObject *roleBObj,
123 bool *swap = 0);
124
125 QString createDiagramName(Uml::DiagramType::Enum type, bool askForName = true);
126 UMLView* createDiagram(UMLFolder *folder,
127 Uml::DiagramType::Enum type,
128 const QString& name,
129 Uml::ID::Type id = Uml::ID::None);
130
131 void removeDiagram(Uml::ID::Type id);
132 void removeDiagramCmd(Uml::ID::Type id);
133 void renameDiagram(Uml::ID::Type id);
134
135 void removeUMLObject(UMLObject* umlobject, bool deleteObject = false);
136 void renameUMLObject(UMLObject *o);
137 void renameChildUMLObject(UMLObject *o);
138
139 UMLObject* findObjectById(Uml::ID::Type id);
140
141 UMLObject* findUMLObject(const QString &name,
142 UMLObject::ObjectType type = UMLObject::ot_UMLObject,
143 UMLObject *currentObj = 0);
144
145 UMLObject* findUMLObjectRaw(Uml::ModelType::Enum,
146 const QString &name,
147 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
148
149 UMLObject* findUMLObjectRaw(UMLFolder *folder,
150 const QString &name,
151 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
152
153 UMLObject* findUMLObjectRecursive(Uml::ModelType::Enum,
154 const QString &name,
155 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
156
157 UMLObject* findUMLObjectRecursive(UMLFolder *folder,
158 const QString &name,
159 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
160
161 UMLClassifier * findUMLClassifier(const QString &name);
162
163 UMLView * findView(Uml::ID::Type id);
164 UMLView * findView(Uml::DiagramType::Enum type, const QString &name,
165 bool searchAllScopes = false);
166
167 void setName(const QString& name);
168 QString name() const;
169
170 void setResolution(qreal resolution);
171 qreal resolution() const;
172 qreal dpiScale() const;
173
174 Uml::ID::Type modelID() const;
175
176 static bool tagEq (const QString& tag, const QString& pattern);
177
178 virtual void saveToXMI1(QIODevice& file);
179
180 short encoding(QIODevice & file);
181
182 virtual bool loadFromXMI1(QIODevice& file, short encode = ENC_UNKNOWN);
183
184 bool validateXMI1Header(QDomNode& headerNode);
185
186 bool loadUMLObjectsFromXMI1(QDomElement & element);
187 void loadExtensionsFromXMI1(QDomNode & node);
188 bool loadDiagramsFromXMI1(QDomNode & node);
189
190 void signalDiagramRenamed(UMLView * view);
191 void signalUMLObjectCreated(UMLObject * o);
192
193 UMLClassifierList concepts(bool includeNested = true);
194 UMLClassifierList classesAndInterfaces(bool includeNested = true);
195 UMLEntityList entities(bool includeNested = true);
196 UMLFolder * datatypeFolder() const;
197 UMLClassifierList datatypes();
198 UMLAssociationList associations();
199 UMLPackageList packages(bool includeNested = true, Uml::ModelType::Enum model = Uml::ModelType::Logical);
200
201 void print(QPrinter * pPrinter, DiagramPrintPage * selectPage);
202
203 UMLViewList viewIterator();
204 UMLViewList views(Uml::DiagramType::Enum type = Uml::DiagramType::Undefined);
205
206 bool assignNewIDs(UMLObject* obj);
207
208 bool addUMLObject(UMLObject * object);
209 bool addUMLView(UMLView * pView);
210
211 UMLFolder *rootFolder(Uml::ModelType::Enum mt);
212 Uml::ModelType::Enum rootFolderType(UMLObject *obj);
213
214 UMLFolder *currentRoot();
215 void setCurrentRoot(Uml::ModelType::Enum rootType);
216
217 virtual IDChangeLog* changeLog();
218
219 void beginPaste();
220 void endPaste();
221
222 Uml::ID::Type assignNewID(Uml::ID::Type oldID);
223
224 void setDocumentation(const QString &doc);
225 QString documentation() const;
226
227 void settingsChanged(Settings::OptionState &optionState);
228
229 QString uniqueViewName(const Uml::DiagramType::Enum type);
230
231 bool loading() const;
232 void setLoading(bool state = true);
233
234 bool importing() const;
235 void setImporting(bool state = true);
236
237 bool closing() const;
238
239 void addDefaultDatatypes();
240 void createDatatype(const QString &name);
241
242 UMLStereotype *createStereotype(const QString &name);
243 UMLStereotype *findStereotype(const QString &name);
244 UMLStereotype *findOrCreateStereotype(const QString &name);
245 UMLStereotype *findStereotypeById(Uml::ID::Type id);
246 void addStereotype(UMLStereotype *s);
247 void removeStereotype(UMLStereotype *s);
248 void addDefaultStereotypes();
249 const UMLStereotypeList& stereotypes() const;
250
251 void writeToStatusBar(const QString &text);
252
253 void resolveTypes();
254 bool loadDiagrams1();
255 void addDiagramToLoad(UMLFolder *folder, QDomNode node);
256
257 DiagramsModel *diagramsModel();
258 StereotypesModel *stereotypesModel();
259 ObjectsModel *objectsModel();
260
261 void setLoadingError(const QString &text);
262
263 private:
264 void initSaveTimer();
265 void createDatatypeFolder();
266
267 class Private;
268 Private *m_d;
269
273 UMLFolder *m_root[Uml::ModelType::N_MODELTYPES];
274
279 UMLFolder *m_datatypeRoot;
280
288 UMLStereotypeList m_stereoList;
289
290 QString m_Name;
291 Uml::ID::Type m_modelID;
292 int m_count;
293 bool m_modified;
294 #if QT_VERSION >= 0x050000
295 QUrl m_doc_url;
296 #else
297 KUrl m_doc_url;
298 #endif
299
302 IDChangeLog* m_pChangeLog;
303
307 bool m_bLoading;
308
312 bool m_importing;
313
317 QString m_Doc;
318
322 QTimer * m_pAutoSaveTimer;
323
327 Uml::ID::Type m_nViewID;
328
332 bool m_bTypesAreResolved;
333
339 UMLFolder * m_pCurrentRoot;
340
344 bool m_bClosing;
345
346 DiagramsModel *m_diagramsModel;
347 ObjectsModel *m_objectsModel;
348 StereotypesModel *m_stereotypesModel;
349
354 qreal m_resolution;
355
359 typedef QMap<UMLFolder*, QList<QDomNode>> DiagramsMap;
360 DiagramsMap m_diagramsToLoad;
361
362 public slots:
363 void slotRemoveUMLObject(UMLObject*o);
364 void slotAutoSave();
365 void slotDiagramPopupMenu(QWidget* umlview, const QPoint& point);
366
367 signals:
368 void sigDiagramCreated(Uml::ID::Type id);
369 void sigDiagramRemoved(Uml::ID::Type id);
370 void sigDiagramRenamed(Uml::ID::Type t);
371 void sigDiagramChanged(Uml::DiagramType::Enum);
372
373 void sigObjectCreated(UMLObject *);
374 void sigObjectRemoved(UMLObject *);
375
379 void sigResetStatusbarProgress();
380
386 void sigSetStatusbarProgressSteps(int totalSteps);
387
393 void sigSetStatusbarProgress(int stepPosition);
394
398 void sigWriteToStatusBar(const QString &text);
399
404 void sigCurrentViewChanged();
405
406 };
407
408 #endif // UMLDOC_H
UMLDoc::setImporting
void setImporting(bool state=true)
Definition: umldoc.cpp:1596
UMLPackage::removeAllObjects
virtual void removeAllObjects()
Definition: package.cpp:211
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
UMLDoc::objectsModel
ObjectsModel * objectsModel()
Definition: umldoc.cpp:2594
UMLDoc::m_diagramsToLoad
DiagramsMap m_diagramsToLoad
Definition: umldoc.h:360
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:82
DiagramsModel
Definition: diagramsmodel.h:26
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1308
Uml::ModelType::Enum
Enum
Definition: basictypes.h:41
template.h
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:131
UMLDoc::findUMLClassifier
UMLClassifier * findUMLClassifier(const QString &name)
Definition: umldoc.cpp:1164
UMLDoc::m_nViewID
Uml::ID::Type m_nViewID
Definition: umldoc.h:327
umlpackagelist.h
UMLDoc::setName
void setName(const QString &name)
Definition: umldoc.cpp:1997
stereotypesmodel.h
UMLObject::asUMLEnumLiteral
UMLEnumLiteral * asUMLEnumLiteral()
Definition: umlobject.cpp:1316
UMLDoc::url
const KUrl & url() const
Definition: umldoc.cpp:330
UMLDoc::UMLDoc
UMLDoc()
Definition: umldoc.cpp:108
UMLApp::setModified
void setModified(bool _m)
Definition: uml.cpp:1907
DiagramsModel::addDiagram
bool addDiagram(UMLView *view)
Definition: diagramsmodel.cpp:98
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3084
Uml::CmdRenameUMLObject
Definition: cmdrenameumlobject.h:21
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:80
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:87
UMLDoc::m_root
UMLFolder * m_root[Uml::ModelType::N_MODELTYPES]
Definition: umldoc.h:273
UMLApp::setDiagramMenuItemsState
void setDiagramMenuItemsState(bool bState)
Definition: uml.cpp:2632
UMLDoc::loadExtensionsFromXMI1
void loadExtensionsFromXMI1(QDomNode &node)
Definition: umldoc.cpp:2811
UMLDoc::datatypeFolder
UMLFolder * datatypeFolder() const
Definition: umldoc.cpp:2981
UMLDoc::addDefaultDatatypes
void addDefaultDatatypes()
Definition: umldoc.cpp:3461
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:271
UMLDoc::Private::parent
UMLDoc * parent
Definition: umldoc.cpp:99
Settings::GeneralState::tabdiagrams
bool tabdiagrams
Definition: optionstate.h:57
UMLObject::ot_CheckConstraint
@ ot_CheckConstraint
Definition: umlobject.h:107
UMLDoc::associations
UMLAssociationList associations()
Definition: umldoc.cpp:3051
UMLDoc::assignNewIDs
bool assignNewIDs(UMLObject *obj)
Definition: umldoc.cpp:3155
docwindow.h
Model_Utils::convert_DT_MT
Uml::ModelType::Enum convert_DT_MT(Uml::DiagramType::Enum dt)
Definition: model_utils.cpp:1414
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1323
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLObject::asUMLClassifierListItem
UMLClassifierListItem * asUMLClassifierListItem()
Definition: umlobject.cpp:1309
UMLObject::asUMLEntityConstraint
UMLEntityConstraint * asUMLEntityConstraint()
Definition: umlobject.cpp:1314
UMLDoc::findAssociation
UMLAssociation * findAssociation(Uml::AssociationType::Enum assocType, const UMLObject *roleAObj, const UMLObject *roleBObj, bool *swap=0)
Definition: umldoc.cpp:1427
UMLDoc::views
UMLViewList views(Uml::DiagramType::Enum type=Uml::DiagramType::Undefined)
Definition: umldoc.cpp:3111
UMLDoc::m_datatypeRoot
UMLFolder * m_datatypeRoot
Definition: umldoc.h:279
umlview.h
stereotype.h
UMLCanvasObject::getAssociations
UMLAssociationList getAssociations()
Definition: umlcanvasobject.cpp:329
UMLCanvasObject
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:34
UMLDoc::sigDiagramRemoved
void sigDiagramRemoved(Uml::ID::Type id)
UMLEntityList
QList< UMLEntity * > UMLEntityList
Definition: umlentitylist.h:17
UMLObject::ot_Association
@ ot_Association
Definition: umlobject.h:91
UMLApp::logWindow
QListWidget * logWindow() const
Definition: uml.cpp:1896
entity.h
UMLDoc::m_bClosing
bool m_bClosing
Definition: umldoc.h:344
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:43
objectsmodel.h
UMLDoc::~UMLDoc
~UMLDoc()
Definition: umldoc.cpp:193
UMLListViewItem::lvt_EntityRelationship_Diagram
@ lvt_EntityRelationship_Diagram
Definition: umllistviewitem.h:81
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
UMLEntity::removeConstraint
bool removeConstraint(UMLEntityConstraint *constr)
Definition: entity.cpp:599
Object_Factory::createUMLObject
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Definition: object_factory.cpp:203
UMLDoc::removeUMLObject
void removeUMLObject(UMLObject *umlobject, bool deleteObject=false)
Definition: umldoc.cpp:1881
UMLDoc::slotDiagramPopupMenu
void slotDiagramPopupMenu(QWidget *umlview, const QPoint &point)
Definition: umldoc.cpp:3494
UMLDoc::createUMLAssociation
UMLAssociation * createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type)
Definition: umldoc.cpp:1461
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:89
operation.h
UMLDoc::saveDocument
bool saveDocument(const KUrl &url, const char *format=0)
Definition: umldoc.cpp:775
UMLScene::endPartialWidgetPaste
void endPartialWidgetPaste()
Definition: umlscene.cpp:2199
UMLDoc::m_bTypesAreResolved
bool m_bTypesAreResolved
Definition: umldoc.h:332
UMLStereotype::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: stereotype.cpp:98
UMLDoc::stereotypesModel
StereotypesModel * stereotypesModel()
Definition: umldoc.cpp:2604
UMLDoc::validateXMI1Header
bool validateXMI1Header(QDomNode &headerNode)
Definition: umldoc.cpp:2615
Uml::DiagramType::State
@ State
Definition: basictypes.h:85
UMLFolder::setViewOptions
void setViewOptions(const Settings::OptionState &optionState)
Definition: folder.cpp:213
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
UMLDoc::removeDiagram
void removeDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1801
UMLDoc::setupSignals
void setupSignals()
Definition: umldoc.cpp:991
UMLListViewItem::type
ListViewType type() const
Definition: umllistviewitem.cpp:234
UMLDoc::loadDiagramsFromXMI1
bool loadDiagramsFromXMI1(QDomNode &node)
Definition: umldoc.cpp:2890
Uml::RoleType::A
@ A
Definition: basictypes.h:239
UMLObject::setID
virtual void setID(Uml::ID::Type NewID)
Definition: umlobject.cpp:183
Uml::ProgrammingLanguage::Reserved
@ Reserved
Definition: basictypes.h:292
UMLDoc::addUMLObject
bool addUMLObject(UMLObject *object)
Definition: umldoc.cpp:1178
UMLDoc::m_Name
QString m_Name
name of this model as stored in the <UML:Model> tag
Definition: umldoc.h:290
Uml::ModelType::Logical
@ Logical
Definition: basictypes.h:42
UMLDoc::sigSetStatusbarProgress
void sigSetStatusbarProgress(int stepPosition)
Model_Utils::findUMLObject
UMLObject * findUMLObject(const UMLObjectList &inList, const QString &inName, UMLObject::ObjectType type, UMLObject *currentObj)
Definition: model_utils.cpp:152
UMLObject::ot_Attribute
@ ot_Attribute
Definition: umlobject.h:92
UMLDoc::rootFolder
UMLFolder * rootFolder(Uml::ModelType::Enum mt)
Definition: umldoc.cpp:3196
Uml::ModelType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:88
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
UMLDoc::dpiScale
qreal dpiScale() const
Definition: umldoc.cpp:2036
UMLDoc::m_doc_url
KUrl m_doc_url
Definition: umldoc.h:297
object_factory.h
UMLDoc::newDocument
bool newDocument()
Definition: umldoc.cpp:454
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:84
UMLObject::ot_Interface
@ ot_Interface
Definition: umlobject.h:86
UMLListViewItem::lvt_UseCase_Diagram
@ lvt_UseCase_Diagram
Definition: umllistviewitem.h:52
UMLListView::clean
void clean()
Definition: umllistview.cpp:1471
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1263
UMLDoc::print
void print(QPrinter *pPrinter, DiagramPrintPage *selectPage)
Definition: umldoc.cpp:3070
association.h
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:670
cmds.h
DocWindow::updateDocumentation
void updateDocumentation(bool clear=false, bool startup=false)
Definition: docwindow.cpp:273
worktoolbar.h
UMLObject::umlPackage
UMLPackage * umlPackage() const
Definition: umlobject.cpp:645
UMLDoc::loadDiagrams1
bool loadDiagrams1()
Definition: umldoc.cpp:2559
UMLStereotypeList
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:17
UMLListViewItem::lvt_Activity_Diagram
@ lvt_Activity_Diagram
Definition: umllistviewitem.h:56
UMLListViewItem::lvt_Sequence_Diagram
@ lvt_Sequence_Diagram
Definition: umllistviewitem.h:57
UMLFolder::loadDiagramsFromXMI1
bool loadDiagramsFromXMI1(QDomNode &node)
Definition: folder.cpp:379
UMLClassifierList
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:17
UMLFolder::appendViews
void appendViews(UMLViewList &viewList, bool includeNested=true)
Definition: folder.cpp:106
UMLObject::asUMLAssociation
UMLAssociation * asUMLAssociation()
Definition: umlobject.cpp:1303
Dialog_Utils::askName
bool askName(const QString &title, const QString &prompt, QString &name)
Definition: dialog_utils.cpp:96
StereotypesModel
Definition: stereotypesmodel.h:25
UMLFolder::addView
void addView(UMLView *view)
Definition: folder.cpp:87
UMLDoc::stereotypes
const UMLStereotypeList & stereotypes() const
Definition: umldoc.cpp:1385
version.h
UMLDoc::Private
Definition: umldoc.cpp:97
UMLPackage::containedObjects
UMLObjectList & containedObjects()
Definition: package.cpp:228
UMLDoc::loadUMLObjectsFromXMI1
bool loadUMLObjectsFromXMI1(QDomElement &element)
Definition: umldoc.cpp:2638
UMLApp::slotFileSaveAs
bool slotFileSaveAs()
Definition: uml.cpp:1356
UMLStereotype::name
QString name(bool includeAdornments=false) const
Definition: stereotype.cpp:147
Settings::GeneralState::diagram
Uml::DiagramType::Enum diagram
Definition: optionstate.h:67
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
Model_Utils::typeIsContainer
bool typeIsContainer(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1232
UniqueID::set
void set(Uml::ID::Type id)
Definition: uniqueid.cpp:53
UMLApp::slotUpdateViews
void slotUpdateViews()
Definition: uml.cpp:2651
UMLScene::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: umlscene.cpp:2973
UMLPackage::appendClassifiers
void appendClassifiers(UMLClassifierList &classifiers, bool includeNested=true)
Definition: package.cpp:297
UMLDoc::renameChildUMLObject
void renameChildUMLObject(UMLObject *o)
Definition: umldoc.cpp:1738
Settings::OptionState::generalState
GeneralState generalState
Definition: optionstate.h:326
UMLDoc::init
void init()
Definition: umldoc.cpp:143
UMLDoc::Private::Private
Private(UMLDoc *p)
Definition: umldoc.cpp:102
UMLDoc::saveToXMI1
virtual void saveToXMI1(QIODevice &file)
Definition: umldoc.cpp:2062
Import_Argo::loadFromZArgoFile
static bool loadFromZArgoFile(QIODevice &file, UMLPackage *parentPkg=0)
Definition: import_argo.cpp:140
UMLScene::setFolder
void setFolder(UMLFolder *folder)
Definition: umlscene.cpp:340
UMLObject::ot_UMLObject
@ ot_UMLObject
Definition: umlobject.h:82
model_utils.h
UMLDoc::m_modelID
Uml::ID::Type m_modelID
xmi.id of this model in the <UML:Model>
Definition: umldoc.h:291
UMLDoc::createDatatype
void createDatatype(const QString &name)
Definition: umldoc.cpp:3480
UMLDoc::removeDiagramCmd
void removeDiagramCmd(Uml::ID::Type id)
Definition: umldoc.cpp:1825
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:89
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
Model_Utils::findUMLObjectRecursive
UMLObject * findUMLObjectRecursive(const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type)
Definition: model_utils.cpp:360
UMLDoc::activateAllViews
void activateAllViews()
Definition: umldoc.cpp:3338
UMLDoc::loading
bool loading() const
Definition: umldoc.cpp:1570
UMLDoc::sigDiagramCreated
void sigDiagramCreated(Uml::ID::Type id)
UMLObject::asUMLEnum
UMLEnum * asUMLEnum()
Definition: umlobject.cpp:1315
UMLListViewItem::lvt_Component_Diagram
@ lvt_Component_Diagram
Definition: umllistviewitem.h:66
UMLDoc::isUnique
bool isUnique(const QString &name)
Definition: umldoc.cpp:1232
UMLDoc::createDiagramName
QString createDiagramName(Uml::DiagramType::Enum type, bool askForName=true)
Definition: umldoc.cpp:1617
ObjectsModel
Definition: objectsmodel.h:21
UMLObject::baseType
ObjectType baseType() const
Definition: umlobject.cpp:397
entityconstraint.h
UMLDoc::settingsChanged
void settingsChanged(Settings::OptionState &optionState)
Definition: umldoc.cpp:3354
UMLListViewPopupMenu
Definition: umllistviewpopupmenu.h:17
optionstate.h
Uml::ModelType::toString
QString toString(Enum item)
Definition: basictypes.cpp:47
UMLDoc::setMainViewID
void setMainViewID(Uml::ID::Type viewID)
Definition: umldoc.cpp:2801
DiagramPrintPage
A print dialog page.
Definition: diagramprintpage.h:38
UMLClassifier::removeAttribute
int removeAttribute(UMLAttribute *att)
Definition: classifier.cpp:893
UMLEntity::removeEntityAttribute
int removeEntityAttribute(UMLClassifierListItem *att)
Definition: entity.cpp:373
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
CodeGenerator::loadFromXMI1
virtual void loadFromXMI1(QDomElement &element)
Definition: codegenerator.cpp:178
UMLObject::asUMLFolder
UMLFolder * asUMLFolder()
Definition: umlobject.cpp:1317
UMLPackage::appendPackages
void appendPackages(UMLPackageList &packages, bool includeNested=true)
Definition: package.cpp:274
UMLObject::ot_EnumLiteral
@ ot_EnumLiteral
Definition: umlobject.h:94
UMLDoc::signalUMLObjectCreated
void signalUMLObjectCreated(UMLObject *o)
Definition: umldoc.cpp:1983
UMLObject::asUMLEntity
UMLEntity * asUMLEntity()
Definition: umlobject.cpp:1312
UMLDoc::m_pCurrentRoot
UMLFolder * m_pCurrentRoot
Definition: umldoc.h:339
UMLDoc::closing
bool closing() const
Definition: umldoc.cpp:1605
UMLApp::enableUndoAction
void enableUndoAction(bool enable)
Definition: uml.cpp:2151
UMLDoc::findOrCreateStereotype
UMLStereotype * findOrCreateStereotype(const QString &name)
Definition: umldoc.cpp:1325
UMLPackage::appendEntities
void appendEntities(UMLEntityList &entities, bool includeNested=true)
Definition: package.cpp:321
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:41
UMLCanvasObject::hasAssociation
bool hasAssociation(UMLAssociation *assoc)
Definition: umlcanvasobject.cpp:101
UMLDoc::endPaste
void endPaste()
Definition: umldoc.cpp:3248
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1268
UMLDoc::removeAllViews
void removeAllViews()
Definition: umldoc.cpp:2941
UMLFolder::findView
UMLView * findView(Uml::ID::Type id)
Definition: folder.cpp:154
UMLDoc::removeAllObjects
void removeAllObjects()
Definition: umldoc.cpp:2955
umlentitylist.h
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
UMLObject::asUMLStereotype
UMLStereotype * asUMLStereotype()
Definition: umlobject.cpp:1327
UMLDoc::m_stereotypesModel
StereotypesModel * m_stereotypesModel
Definition: umldoc.h:348
classifierlistitem.h
Settings::GeneralState::autosave
bool autosave
Definition: optionstate.h:62
UMLView
Definition: umlview.h:35
UMLDoc::removeStereotype
void removeStereotype(UMLStereotype *s)
Definition: umldoc.cpp:1362
UMLDoc::documentation
QString documentation() const
Definition: umldoc.cpp:3277
StereotypesModel::removeStereotype
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:101
Uml::ModelType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:46
uniqueid.h
UMLApp
Definition: uml.h:100
UMLDoc::slotRemoveUMLObject
void slotRemoveUMLObject(UMLObject *o)
Definition: umldoc.cpp:1215
UMLObject::asUMLCanvasObject
UMLCanvasObject * asUMLCanvasObject()
Definition: umlobject.cpp:1305
UMLApp::setGenerator
void setGenerator(CodeGenerator *gen, bool giveWarning=true)
UMLDoc::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1036
UMLApp::docWindow
DocWindow * docWindow() const
Definition: uml.cpp:1886
umlviewlist.h
DiagramPrintPage::printUmlCount
int printUmlCount()
Definition: diagramprintpage.cpp:119
UMLView::show
void show()
Definition: umlview.cpp:117
attribute.h
UniqueID::get
Uml::ID::Type get()
Definition: uniqueid.cpp:45
UMLApp::tabWidget
KTabWidget * tabWidget()
Definition: uml.cpp:3339
UMLDoc::datatypes
UMLClassifierList datatypes()
Definition: umldoc.cpp:3033
Uml::ProgrammingLanguage::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:925
UMLScene::print
void print(QPrinter *pPrinter, QPainter &pPainter)
Definition: umlscene.cpp:669
UMLDoc::diagramsModel
DiagramsModel * diagramsModel()
Definition: umldoc.cpp:2589
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1065
a
QString a
Definition: petalnode.cpp:18
UMLFolder::setLocalName
void setLocalName(const QString &localName)
Definition: folder.cpp:70
umlstereotypelist.h
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLPackage::appendClassesAndInterfaces
void appendClassesAndInterfaces(UMLClassifierList &classifiers, bool includeNested=true)
Definition: package.cpp:345
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
UMLDoc::addAssociation
void addAssociation(UMLAssociation *assoc)
Definition: umldoc.cpp:1479
UMLListViewItem::lvt_Unknown
@ lvt_Unknown
Definition: umllistviewitem.h:108
UMLDoc::setLoading
void setLoading(bool state=true)
Definition: umldoc.cpp:1579
DocWindow
Definition: docwindow.h:30
UMLPackage::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: package.cpp:261
UMLDoc::createDiagram
UMLView * createDiagram(UMLFolder *folder, Uml::DiagramType::Enum type, const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: umldoc.cpp:1646
UMLApp::generator
CodeGenerator * generator() const
Definition: uml.cpp:2337
UMLDoc::setUrl
void setUrl(const KUrl &url)
Definition: umldoc.cpp:316
UMLEnum::removeEnumLiteral
int removeEnumLiteral(UMLEnumLiteral *literal)
Definition: enum.cpp:205
folder.h
UMLClassifier::removeOperation
int removeOperation(UMLOperation *op)
Definition: classifier.cpp:370
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
umlclassifierlist.h
IDChangeLog::addIDChange
void addIDChange(Uml::ID::Type OldID, Uml::ID::Type NewID)
Definition: idchangelog.cpp:88
ENC_WINDOWS
#define ENC_WINDOWS
Definition: umldoc.h:42
UMLScene::setType
void setType(Uml::DiagramType::Enum type)
Definition: umlscene.cpp:434
UMLDoc::initSaveTimer
void initSaveTimer()
Definition: umldoc.cpp:3365
DiagramPrintPage::printUmlDiagram
QString printUmlDiagram(int sel)
Definition: diagramprintpage.cpp:130
UMLDoc::encoding
short encoding(QIODevice &file)
Definition: umldoc.cpp:2208
UMLPackage::resolveRef
virtual bool resolveRef()
Definition: package.cpp:369
UMLApp::enablePrint
void enablePrint(bool enable)
Definition: uml.cpp:1935
UMLListViewItem::lvt_Deployment_Diagram
@ lvt_Deployment_Diagram
Definition: umllistviewitem.h:72
UMLDoc::Private::errors
QStringList errors
holds loading errors
Definition: umldoc.cpp:100
Uml::CmdRemoveDiagram
Definition: cmdremovediagram.h:24
UMLObject::ot_Datatype
@ ot_Datatype
Definition: umlobject.h:87
Model_Utils::isCommonXMI1Attribute
bool isCommonXMI1Attribute(const QString &tag)
Definition: model_utils.cpp:761
DiagramsModel::removeDiagram
bool removeDiagram(UMLView *view)
Definition: diagramsmodel.cpp:109
UMLDoc::writeToStatusBar
void writeToStatusBar(const QString &text)
Definition: umldoc.cpp:1206
UMLDoc::findUMLObjectRaw
UMLObject * findUMLObjectRaw(Uml::ModelType::Enum, const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject)
Definition: umldoc.cpp:1097
UMLDoc::createDatatypeFolder
void createDatatypeFolder()
Definition: umldoc.cpp:180
UMLDoc::setLoadingError
void setLoadingError(const QString &text)
Definition: umldoc.cpp:2599
UMLObject::ot_EntityAttribute
@ ot_EntityAttribute
Definition: umlobject.h:102
basictypes.h
UMLFolder::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: folder.cpp:322
diagramsmodel.h
uDebug
#define uDebug()
Definition: debug_utils.h:122
UMLDoc::m_stereoList
UMLStereotypeList m_stereoList
Definition: umldoc.h:288
UMLDoc::createStereotype
UMLStereotype * createStereotype(const QString &name)
Definition: umldoc.cpp:1297
UMLApp::workToolBar
WorkToolBar * workToolBar() const
Definition: uml.cpp:1876
v
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
Uml::RoleType::B
@ B
Definition: basictypes.h:240
WorkToolBar
The toolbar that is different for each type of diagram.
Definition: worktoolbar.h:41
UMLDoc::openDocument
bool openDocument(const KUrl &url, const char *format=0)
Definition: umldoc.cpp:497
Uml::DiagramType::toString
QString toString(Enum item)
Definition: basictypes.cpp:168
ENC_OLD_ENC
#define ENC_OLD_ENC
Definition: umldoc.h:43
UMLObject::ot_UniqueConstraint
@ ot_UniqueConstraint
Definition: umlobject.h:105
Settings::GeneralState::autosavetime
int autosavetime
Definition: optionstate.h:64
Uml::AssociationType::Enum
Enum
Definition: basictypes.h:106
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
umllistview.h
UMLDoc::assignNewID
Uml::ID::Type assignNewID(Uml::ID::Type oldID)
Definition: umldoc.cpp:3263
import_rose.h
UMLDoc::sigObjectRemoved
void sigObjectRemoved(UMLObject *)
UMLDoc::m_Doc
QString m_Doc
Definition: umldoc.h:317
UMLApp::initGenerator
void initGenerator()
Definition: uml.cpp:2904
UMLDoc::sigResetStatusbarProgress
void sigResetStatusbarProgress()
UMLPackage::findObject
UMLObject * findObject(const QString &name)
Definition: package.cpp:239
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
UMLDoc::name
QString name() const
Definition: umldoc.cpp:2005
UMLDoc
Definition: umldoc.h:75
XMI_FILE_VERSION
#define XMI_FILE_VERSION
Definition: version.h:35
UMLCanvasObject::subordinates
UMLObjectList & subordinates() const
Definition: umlcanvasobject.h:80
UMLDoc::renameDiagram
void renameDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1678
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3127
UMLDoc::classesAndInterfaces
UMLClassifierList classesAndInterfaces(bool includeNested=true)
Definition: umldoc.cpp:3007
UMLDoc::m_pChangeLog
IDChangeLog * m_pChangeLog
Definition: umldoc.h:302
UMLDoc::renameUMLObject
void renameUMLObject(UMLObject *o)
Definition: umldoc.cpp:1710
UMLDoc::slotAutoSave
void slotAutoSave()
Definition: umldoc.cpp:3385
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
CodeGenerator::saveToXMI1
virtual void saveToXMI1(QDomDocument &doc, QDomElement &root)
Definition: codegenerator.cpp:245
Import_Rose::loadFromMDL
UMLPackage * loadFromMDL(QFile &file, UMLPackage *parentPkg)
Definition: import_rose.cpp:397
Uml
Definition: basictypes.cpp:37
UMLPackageList
QList< UMLPackage * > UMLPackageList
Definition: umlpackagelist.h:17
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:83
UMLDoc::setUrlUntitled
void setUrlUntitled()
Definition: umldoc.cpp:339
StereotypesModel::addStereotype
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:90
Model_Utils::findUMLObjectRaw
UMLObject * findUMLObjectRaw(const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type, UMLObject *currentObj)
Definition: model_utils.cpp:334
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
UMLDoc::tagEq
static bool tagEq(const QString &tag, const QString &pattern)
Definition: umldoc.cpp:3550
UMLDoc::sigSetStatusbarProgressSteps
void sigSetStatusbarProgressSteps(int totalSteps)
UMLListView::setTitle
void setTitle(int column, const QString &text)
Definition: umllistview.cpp:158
umllistviewitem.h
UMLDoc::currentRoot
UMLFolder * currentRoot()
Definition: umldoc.cpp:1844
UMLObject::setDoc
void setDoc(const QString &d)
Definition: umlobject.cpp:455
UMLDoc::setCurrentRoot
void setCurrentRoot(Uml::ModelType::Enum rootType)
Definition: umldoc.cpp:1868
ENC_UNICODE
#define ENC_UNICODE
Definition: umldoc.h:41
UMLDoc::addView
void addView(UMLView *view)
Definition: umldoc.cpp:224
UMLFolder::activateViews
void activateViews()
Definition: folder.cpp:127
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:27
Uml::ModelType::N_MODELTYPES
@ N_MODELTYPES
Definition: basictypes.h:47
DocWindow::showDocumentation
void showDocumentation(UMLObject *object, bool overwrite=false)
Definition: docwindow.cpp:130
UMLFolder::removeView
void removeView(UMLView *view)
Definition: folder.cpp:95
UMLDoc::m_importing
bool m_importing
Definition: umldoc.h:312
Settings::OptionState
Definition: optionstate.h:314
UMLScene::setIsOpen
void setIsOpen(bool isOpen)
Definition: umlscene.cpp:661
pi
int * pi
Definition: cxx11-null-pointer-constant.h:5
UMLDoc::resolution
qreal resolution() const
Definition: umldoc.cpp:2026
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:81
UMLDoc::findUMLObject
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Definition: umldoc.cpp:1065
Settings::GeneralState::autosavesuffix
QString autosavesuffix
Text input field for suffix of autosave.
Definition: optionstate.h:65
UMLPackage::addObject
bool addObject(UMLObject *pObject)
Definition: package.cpp:128
UMLDoc::addStereotype
void addStereotype(UMLStereotype *s)
Definition: umldoc.cpp:1352
UMLObject::asUMLTemplate
UMLTemplate * asUMLTemplate()
Definition: umlobject.cpp:1328
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
classifier.h
UMLScene::setName
void setName(const QString &name)
Definition: umlscene.cpp:418
UMLDoc::m_resolution
qreal m_resolution
Definition: umldoc.h:354
uError
#define uError()
Definition: debug_utils.h:123
UMLDoc::sigWriteToStatusBar
void sigWriteToStatusBar(const QString &text)
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:90
UMLObject::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &element)
Definition: umlobject.cpp:954
UMLDoc::m_diagramsModel
DiagramsModel * m_diagramsModel
Definition: umldoc.h:346
umlscene.h
uml.h
ENC_UNKNOWN
#define ENC_UNKNOWN
Definition: umldoc.h:40
UMLDoc::changeLog
virtual IDChangeLog * changeLog()
Definition: umldoc.cpp:3227
UMLObject::baseTypeStr
QLatin1String baseTypeStr() const
Definition: umlobject.cpp:405
enumliteral.h
UMLObject::setUMLPackage
bool setUMLPackage(UMLPackage *pPkg)
Definition: umlobject.cpp:615
Object_Factory::makeObjectFromXMI
UMLObject * makeObjectFromXMI(const QString &xmiTag, const QString &stereoID)
Definition: object_factory.cpp:374
CodeGenerator::defaultDatatypes
virtual QStringList defaultDatatypes()
Definition: codegenerator.cpp:784
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
umlassociationlist.h
UMLAssociation
Sets up association information.
Definition: association.h:33
UMLDoc::loadFromXMI1
virtual bool loadFromXMI1(QIODevice &file, short encode=ENC_UNKNOWN)
Definition: umldoc.cpp:2310
UMLListView::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistview.cpp:2399
UMLDoc::findStereotypeById
UMLStereotype * findStereotypeById(Uml::ID::Type id)
Definition: umldoc.cpp:1339
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
UMLDoc::sigCurrentViewChanged
void sigCurrentViewChanged()
UMLDoc::addDiagramToLoad
void addDiagramToLoad(UMLFolder *folder, QDomNode node)
Definition: umldoc.cpp:2581
UMLDoc::setDocumentation
void setDocumentation(const QString &doc)
Definition: umldoc.cpp:3287
UMLObject::isUMLDatatype
bool isUMLDatatype()
Definition: umlobject.h:206
UMLScene
Definition: umlscene.h:69
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
UMLScene::folder
UMLFolder * folder() const
Definition: umlscene.cpp:332
UMLDoc::sigObjectCreated
void sigObjectCreated(UMLObject *)
umlobject.h
UMLDoc::findStereotype
UMLStereotype * findStereotype(const QString &name)
Definition: umldoc.cpp:1310
UMLListViewItem::lvt_Class_Diagram
@ lvt_Class_Diagram
Definition: umllistviewitem.h:54
UMLObject::ot_Template
@ ot_Template
Definition: umlobject.h:95
UMLDoc::m_bLoading
bool m_bLoading
Definition: umldoc.h:307
UMLDoc::concepts
UMLClassifierList concepts(bool includeNested=true)
Definition: umldoc.cpp:2993
diagramprintpage.h
UMLDoc::removeAssociation
void removeAssociation(UMLAssociation *assoc, bool doSetModified=true)
Definition: umldoc.cpp:1396
Model_Utils::guessContainer
Uml::ModelType::Enum guessContainer(UMLObject *o)
Definition: model_utils.cpp:831
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
Uml::DiagramType::Undefined
@ Undefined
Definition: basictypes.h:80
UMLObject::setUMLStereotype
void setUMLStereotype(UMLStereotype *stereo)
Definition: umlobject.cpp:501
UMLFolder::removeAllViews
void removeAllViews()
Definition: folder.cpp:224
codegenerator.h
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
b
bool b
Definition: cxx11-null-pointer-constant.h:6
UMLDoc::m_count
int m_count
auxiliary counter for the progress bar
Definition: umldoc.h:292
uIgnoreZeroPointer
#define uIgnoreZeroPointer(a)
Definition: debug_utils.h:134
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:86
UMLScene::loadUISDiagram
bool loadUISDiagram(QDomElement &qElement)
Definition: umlscene.cpp:4153
UMLObject::ot_Operation
@ ot_Operation
Definition: umlobject.h:93
UMLDoc::isModified
bool isModified()
Definition: umldoc.cpp:3142
CodeGenerator
Definition: codegenerator.h:57
DocWindow::reset
void reset()
Definition: docwindow.cpp:309
UMLDoc::DiagramsMap
QMap< UMLFolder *, QList< QDomNode > > DiagramsMap
Definition: umldoc.h:359
UMLListViewItem::lvt_State_Diagram
@ lvt_State_Diagram
Definition: umllistviewitem.h:55
UMLScene::setOptionState
void setOptionState(const Settings::OptionState &options)
Definition: umlscene.cpp:579
UMLDoc::m_objectsModel
ObjectsModel * m_objectsModel
Definition: umldoc.h:347
dialog_utils.h
umlobjectlist.h
import_argo.h
package.h
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:442
UMLDoc::removeView
void removeView(UMLView *view, bool enforceOneView=true)
Definition: umldoc.cpp:263
UMLDoc::packages
UMLPackageList packages(bool includeNested=true, Uml::ModelType::Enum model=Uml::ModelType::Logical)
Definition: umldoc.cpp:2969
UMLScene::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: umlscene.cpp:3813
UMLDoc::viewIterator
UMLViewList viewIterator()
Definition: umldoc.cpp:3096
UMLDoc::addUMLView
bool addUMLView(UMLView *pView)
Definition: umldoc.cpp:3302
UMLDoc::setResolution
void setResolution(qreal resolution)
Definition: umldoc.cpp:2015
UMLDoc::closeDocument
void closeDocument()
Definition: umldoc.cpp:402
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18
UMLDoc::uniqueViewName
QString uniqueViewName(const Uml::DiagramType::Enum type)
Definition: umldoc.cpp:1521
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3416
UMLObject::ot_Folder
@ ot_Folder
Definition: umlobject.h:103
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:88
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:26
Model_Utils::rootPackage
UMLPackage * rootPackage(UMLObject *obj)
Definition: model_utils.cpp:380
UMLDoc::findUMLObjectRecursive
UMLObject * findUMLObjectRecursive(Uml::ModelType::Enum, const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject)
Definition: umldoc.cpp:1132
UMLObjectList
Definition: umlobjectlist.h:29
UMLDoc::signalDiagramRenamed
void signalDiagramRenamed(UMLView *view)
Definition: umldoc.cpp:3444
UMLDoc::rootFolderType
Uml::ModelType::Enum rootFolderType(UMLObject *obj)
Definition: umldoc.cpp:3211
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:30
UMLEnum
Non-graphical Information for an Enum.
Definition: enum.h:29
UMLDoc::m_modified
bool m_modified
Definition: umldoc.h:293
UMLObject::isUMLStereotype
bool isUMLStereotype()
Definition: umlobject.h:222
UMLDoc::addDefaultStereotypes
void addDefaultStereotypes()
Definition: umldoc.cpp:1372
UMLAssociationList
QList< UMLAssociation * > UMLAssociationList
Definition: umlassociationlist.h:18
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1003
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
UMLScene::activateAfterLoad
void activateAfterLoad(bool bUseLog=false)
Definition: umlscene.cpp:2171
umldoc.h
UMLDoc::sigDiagramRenamed
void sigDiagramRenamed(Uml::ID::Type t)
UMLDoc::entities
UMLEntityList entities(bool includeNested=true)
Definition: umldoc.cpp:3021
UMLDoc::saveModified
bool saveModified()
Definition: umldoc.cpp:354
UMLClassifier::removeTemplate
int removeTemplate(UMLTemplate *umltemplate)
Definition: classifier.cpp:1102
Dialog_Utils::askDeleteDiagram
bool askDeleteDiagram(const QString &name)
Definition: dialog_utils.cpp:130
UMLDoc::m_d
Private * m_d
Definition: umldoc.h:267
UMLDoc::resolveTypes
void resolveTypes()
Definition: umldoc.cpp:2533
UMLApp::clearUndoStack
void clearUndoStack()
Definition: uml.cpp:3359
UMLScene::setID
void setID(Uml::ID::Type id)
Definition: umlscene.cpp:450
UMLDoc::beginPaste
void beginPaste()
Definition: umldoc.cpp:3236
UMLDoc::modelID
Uml::ID::Type modelID() const
Definition: umldoc.cpp:2050
UMLDoc::sigDiagramChanged
void sigDiagramChanged(Uml::DiagramType::Enum)
UMLDoc::m_pAutoSaveTimer
QTimer * m_pAutoSaveTimer
Definition: umldoc.h:322
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33
enum.h