umbrello: umbrello/basictypes.h Source File

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

basictypes.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
3 SPDX-License-Identifier: GPL-2.0-or-later
4*/
5
6#ifndef BASICTYPES_H
7#define BASICTYPES_H
8
9// qt includes
10#include <QFont>
11#include <QString>
12
13#include <string>
14
19namespace Uml
20{
21
25 namespace ModelType
26 {
27 enum Enum {
28 Logical,
29 UseCase,
30 Component,
31 Deployment,
32 EntityRelationship,
33 N_MODELTYPES // must remain last
34 };
35 QString toString(Enum item);
36 Enum fromString(const QString& item);
37 Enum fromInt(int item);
38 }
39
43 namespace Visibility
44 {
45 enum Enum {
46 Public,
47 Private,
48 Protected,
49 Implementation, // objects marked with this are declared in the implementation file.
50 FromParent = 3, // alias for Implementation, used by CodeGenerationPolicy
51 Unknown
52 };
53 QString toString(Enum item, bool mnemonic = false);
54 Enum fromString(const QString& item, bool checkUnknown = false);
55 Enum fromInt(int item);
56 }
57
61 namespace DiagramType
62 {
63 enum Enum {
64 //the values in this enum are saved out to the file
65 //for file compatibility, only add new values to the end
66 Undefined = 0,
67 Class,
68 UseCase,
69 Sequence,
70 Collaboration,
71 State,
72 Activity,
73 Component,
74 Deployment,
75 EntityRelationship,
76 Object,
77 N_DIAGRAMTYPES // must remain last
78 };
79 QString toString(Enum item);
80 QString toStringI18n(Enum item);
81 Enum fromString(const QString& item);
82 Enum fromInt(int item);
83 }
84
88 namespace AssociationType
89 {
90 // only append entries to this type
91 // it is used as xmi file attribute
92 enum Enum {
93 Generalization = 500,
94 Aggregation,
95 Dependency,
96 Association,
97 Association_Self,
98 Coll_Mesg_Async,
99 Seq_Message,
100 Coll_Mesg_Self,
101 Seq_Message_Self,
102 Containment,
103 Composition,
104 Realization,
105 UniAssociation,
106 Anchor,
107 State,
108 Activity,
109 Exception,
110 Category2Parent,
111 Child2Category,
112 Relationship,
113 Coll_Mesg_Sync,
114 // enter new entries before this line
115 Reserved,
116 Unknown = - 1
117 };
118 QString toString(Enum item);
119 QString toStringI18n(Enum item);
120 Enum fromString(const QString& item);
121 Enum fromInt(int item);
122 bool hasUMLRepresentation(Enum item);
123 }
124
128 namespace LayoutType
129 {
130 enum Enum {
131 Undefined = 0,
132 Direct,
133 Orthogonal,
134 Polyline,
135 Spline,
136 N_LAYOUTTYPES // must remain last
137 };
138 QString toString(Enum item);
139 Enum fromString(const QString& item);
140 Enum fromInt(int item);
141 }
142
146 namespace ShowStereoType
147 {
148 enum Enum {
149 None = 0,
150 Name,
151 Tags
152 };
153 }
154
158 namespace SignatureType
159 {
160 enum Enum {
161 NoSig = 600,
162 ShowSig,
163 SigNoVis,
164 NoSigNoVis
165 };
166 QString toString(Enum item);
167 Enum fromString(const QString& item);
168 Enum fromInt(int item);
169 }
170
174 namespace TextRole
175 {
176 enum Enum {
177 Floating = 700, //text widget on diagrams
178 MultiA, //Text for Multiple A
179 MultiB, //Text for Multiple B
180 Name, //middle text on most associations
181 Seq_Message, //message on seq diagram between two objects
182 Seq_Message_Self, //message to self on seq diagram - feature not implemented yet
183 Coll_Message, //message between two objects on a collab diagram
184 Coll_Message_Self, //message to object self on collab diagram
185 State,
186 RoleAName, //RoleA text on associations
187 RoleBName, //RoleB text on associations
188 ChangeA, //Changeability A text on associations
189 ChangeB, //Changeability B text on associations
190 Reserved //Enter new entries before this line
191 };
192 QString toString(Enum item);
193 Enum fromString(const QString& item);
194 Enum fromInt(int item);
195 }
196
200 namespace Changeability
201 {
202 enum Enum {
203 Changeable = 900,
204 Frozen,
205 AddOnly
206 };
207 QString toString(Enum item);
208 Enum fromString(const QString& item);
209 Enum fromInt(int item);
210 }
211
215 namespace SequenceMessage
216 {
217 enum Enum {
218 //This is saved out to the file so only add new entries at the end
219 Synchronous = 1000,
220 Asynchronous,
221 Creation,
222 Lost,
223 Found,
224 Destroy,
225 };
226 QString toString(Enum item);
227 Enum fromString(const QString& item);
228 Enum fromInt(int item);
229 }
230
234 namespace RoleType
235 {
236 enum Enum {
237 A,
238 B
239 };
240 QString toString(Enum item);
241 Enum fromString(const QString& item);
242 Enum fromInt(int item);
243 }
244
252 namespace ParameterDirection
253 {
254 enum Enum {
255 In,
256 InOut,
257 Out
258 };
259 QString toString(Enum item);
260 Enum fromString(const QString& item);
261 Enum fromInt(int item);
262 }
263
267 namespace PrimitiveTypes
268 {
269 enum Enum {
270 String,
271 Boolean,
272 UnlimitedNatural,
273 Integer,
274 Real,
275 Reserved
276 };
277
278 const int n_types = int(Reserved);
279
280 QString toString(Enum item);
281 QString toString(int item);
282 Enum fromString(const QString& item, bool strict = false);
283 Enum fromInt(int item);
284 }
285
289 namespace ProgrammingLanguage
290 {
291 enum Enum {
292 ActionScript,
293 Ada,
294 Cpp,
295 CSharp,
296 D,
297 IDL,
298 Java,
299 JavaScript,
300 MySQL,
301 Pascal,
302 Perl,
303 PHP,
304 PHP5,
305 PostgreSQL,
306 Python,
307 Ruby,
308 SQL,
309 Tcl,
310 Vala,
311 XMLSchema,
312 Reserved // for UML Primitive Types (no code generator)
313 };
314 QString toString(Enum item);
315 Enum fromString(const QString& item);
316 Enum fromInt(int item);
317 QStringList toExtensions(Enum item);
318 QString toExtensionsDescription(Enum item);
319 bool isCaseSensitive(Enum item);
320 QString scopeSeparator(Enum item);
321 }
322
328 namespace Region
329 {
330 enum Enum {
331 Error = 0,
332 West,
333 North,
334 East,
335 South,
336 NorthWest,
337 NorthEast,
338 SouthEast,
339 SouthWest,
340 Center
341 };
342 QString toString(Enum item);
343 Enum fromString(const QString& item);
344 Enum fromInt(int item);
345 }
346
350 class Corner
351 {
352 public:
353 enum Enum {
354 TopLeft = 0x1,
355 TopRight = 0x2,
356 BottomRight = 0x4,
357 BottomLeft = 0x8
358 };
359 static QString toString(Enum item);
360 static Enum fromString(const QString& item);
361 static Enum fromInt(int item);
362 };
363 Q_DECLARE_FLAGS(Corners, Corner::Enum)
364 Q_DECLARE_OPERATORS_FOR_FLAGS(Corners)
365
366
369 namespace ID
370 {
371 typedef std::string Type;
372
373 const Type None = "-1";
374 const Type Reserved = "0";
375
376 QString toString(const ID::Type &id);
377 ID::Type fromString(const QString &id);
378 QDebug operator<<(QDebug out, ID::Type &type);
379 }
380
381QFont systemFont();
382
383} // end namespace Uml
384
385 static inline QString toString(Uml::ProgrammingLanguage::Enum lang)
386{
387 return Uml::ProgrammingLanguage::toString(lang);
388}
389
390 static inline QString toString(Uml::Visibility::Enum visibility)
391{
392 return Uml::Visibility::toString(visibility);
393}
394
395qreal toDoubleFromAnyLocale(const QString &s);
396
397#endif
toString
static QString toString(Uml::ProgrammingLanguage::Enum lang)
Definition basictypes.h:385
toDoubleFromAnyLocale
qreal toDoubleFromAnyLocale(const QString &s)
Definition basictypes.cpp:1332
B
Definition testbasictypes.cpp:25
Uml::Corner
Definition basictypes.h:351
Uml::Corner::fromString
static Enum fromString(const QString &item)
Definition basictypes.cpp:1266
Uml::Corner::Enum
Enum
Definition basictypes.h:353
Uml::Corner::TopRight
@ TopRight
Definition basictypes.h:355
Uml::Corner::TopLeft
@ TopLeft
Definition basictypes.h:354
Uml::Corner::BottomRight
@ BottomRight
Definition basictypes.h:356
Uml::Corner::BottomLeft
@ BottomLeft
Definition basictypes.h:357
Uml::Corner::toString
static QString toString(Enum item)
Definition basictypes.cpp:1246
Uml::Corner::fromInt
static Enum fromInt(int item)
Definition basictypes.cpp:1284
int
int int y int
Definition cxx11-lambda-functions-and-expressions.h:4
Uml::AssociationType::toString
QString toString(Enum item)
Definition basictypes.cpp:266
Uml::AssociationType::toStringI18n
QString toStringI18n(Enum item)
Definition basictypes.cpp:322
Uml::AssociationType::hasUMLRepresentation
bool hasUMLRepresentation(Enum item)
Definition basictypes.cpp:443
Uml::AssociationType::Enum
Enum
Definition basictypes.h:92
Uml::AssociationType::Seq_Message
@ Seq_Message
Definition basictypes.h:99
Uml::AssociationType::Composition
@ Composition
Definition basictypes.h:103
Uml::AssociationType::Coll_Mesg_Self
@ Coll_Mesg_Self
Definition basictypes.h:100
Uml::AssociationType::UniAssociation
@ UniAssociation
Definition basictypes.h:105
Uml::AssociationType::Dependency
@ Dependency
Definition basictypes.h:95
Uml::AssociationType::Seq_Message_Self
@ Seq_Message_Self
Definition basictypes.h:101
Uml::AssociationType::Aggregation
@ Aggregation
Definition basictypes.h:94
Uml::AssociationType::Association
@ Association
Definition basictypes.h:96
Uml::AssociationType::Unknown
@ Unknown
Definition basictypes.h:116
Uml::AssociationType::Relationship
@ Relationship
Definition basictypes.h:112
Uml::AssociationType::Reserved
@ Reserved
Definition basictypes.h:115
Uml::AssociationType::Containment
@ Containment
Definition basictypes.h:102
Uml::AssociationType::Association_Self
@ Association_Self
Definition basictypes.h:97
Uml::AssociationType::State
@ State
Definition basictypes.h:107
Uml::AssociationType::Generalization
@ Generalization
Definition basictypes.h:93
Uml::AssociationType::Category2Parent
@ Category2Parent
Definition basictypes.h:110
Uml::AssociationType::Anchor
@ Anchor
Definition basictypes.h:106
Uml::AssociationType::Coll_Mesg_Sync
@ Coll_Mesg_Sync
Definition basictypes.h:113
Uml::AssociationType::Coll_Mesg_Async
@ Coll_Mesg_Async
Definition basictypes.h:98
Uml::AssociationType::Exception
@ Exception
Definition basictypes.h:109
Uml::AssociationType::Activity
@ Activity
Definition basictypes.h:108
Uml::AssociationType::Child2Category
@ Child2Category
Definition basictypes.h:111
Uml::AssociationType::Realization
@ Realization
Definition basictypes.h:104
Uml::AssociationType::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:432
Uml::AssociationType::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:379
Uml::Changeability::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:694
Uml::Changeability::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:678
Uml::Changeability::Enum
Enum
Definition basictypes.h:202
Uml::Changeability::Frozen
@ Frozen
Definition basictypes.h:204
Uml::Changeability::Changeable
@ Changeable
Definition basictypes.h:203
Uml::Changeability::AddOnly
@ AddOnly
Definition basictypes.h:205
Uml::Changeability::toString
QString toString(Enum item)
Definition basictypes.cpp:660
Uml::DiagramType::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:250
Uml::DiagramType::toString
QString toString(Enum item)
Definition basictypes.cpp:151
Uml::DiagramType::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:219
Uml::DiagramType::Enum
Enum
Definition basictypes.h:63
Uml::DiagramType::Component
@ Component
Definition basictypes.h:73
Uml::DiagramType::Collaboration
@ Collaboration
Definition basictypes.h:70
Uml::DiagramType::Activity
@ Activity
Definition basictypes.h:72
Uml::DiagramType::Undefined
@ Undefined
Definition basictypes.h:66
Uml::DiagramType::N_DIAGRAMTYPES
@ N_DIAGRAMTYPES
Definition basictypes.h:77
Uml::DiagramType::State
@ State
Definition basictypes.h:71
Uml::DiagramType::Object
@ Object
Definition basictypes.h:76
Uml::DiagramType::UseCase
@ UseCase
Definition basictypes.h:68
Uml::DiagramType::Sequence
@ Sequence
Definition basictypes.h:69
Uml::DiagramType::Class
@ Class
Definition basictypes.h:67
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition basictypes.h:75
Uml::DiagramType::Deployment
@ Deployment
Definition basictypes.h:74
Uml::DiagramType::toStringI18n
QString toStringI18n(Enum item)
Definition basictypes.cpp:186
Uml::ID::toString
QString toString(const ID::Type &id)
Definition basictypes.cpp:1301
Uml::ID::None
const Type None
special value for uninitialized ID
Definition basictypes.h:373
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition basictypes.cpp:1306
Uml::ID::Type
std::string Type
Definition basictypes.h:371
Uml::ID::operator<<
QDebug operator<<(QDebug out, ID::Type &type)
Definition basictypes.cpp:1295
Uml::ID::Reserved
const Type Reserved
special value for illegal ID
Definition basictypes.h:374
Uml::LayoutType::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:506
Uml::LayoutType::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:488
Uml::LayoutType::toString
QString toString(Enum item)
Definition basictypes.cpp:468
Uml::LayoutType::Enum
Enum
Definition basictypes.h:130
Uml::LayoutType::Polyline
@ Polyline
Definition basictypes.h:134
Uml::LayoutType::Orthogonal
@ Orthogonal
Definition basictypes.h:133
Uml::LayoutType::N_LAYOUTTYPES
@ N_LAYOUTTYPES
Definition basictypes.h:136
Uml::LayoutType::Spline
@ Spline
Definition basictypes.h:135
Uml::LayoutType::Direct
@ Direct
Definition basictypes.h:132
Uml::LayoutType::Undefined
@ Undefined
Definition basictypes.h:131
Uml::ModelType::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:50
Uml::ModelType::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:69
Uml::ModelType::Enum
Enum
Definition basictypes.h:27
Uml::ModelType::N_MODELTYPES
@ N_MODELTYPES
Definition basictypes.h:33
Uml::ModelType::Logical
@ Logical
Definition basictypes.h:28
Uml::ModelType::EntityRelationship
@ EntityRelationship
Definition basictypes.h:32
Uml::ModelType::UseCase
@ UseCase
Definition basictypes.h:29
Uml::ModelType::Deployment
@ Deployment
Definition basictypes.h:31
Uml::ModelType::Component
@ Component
Definition basictypes.h:30
Uml::ModelType::toString
QString toString(Enum item)
Definition basictypes.cpp:28
Uml::ParameterDirection::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:842
Uml::ParameterDirection::Enum
Enum
Definition basictypes.h:254
Uml::ParameterDirection::InOut
@ InOut
Definition basictypes.h:256
Uml::ParameterDirection::In
@ In
Definition basictypes.h:255
Uml::ParameterDirection::Out
@ Out
Definition basictypes.h:257
Uml::ParameterDirection::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:826
Uml::ParameterDirection::toString
QString toString(Enum item)
Definition basictypes.cpp:808
Uml::PrimitiveTypes::fromString
Enum fromString(const QString &item, bool strict)
Definition basictypes.cpp:882
Uml::PrimitiveTypes::toString
QString toString(Enum item)
Definition basictypes.cpp:862
Uml::PrimitiveTypes::n_types
const int n_types
Definition basictypes.h:278
Uml::PrimitiveTypes::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:891
Uml::PrimitiveTypes::Enum
Enum
Definition basictypes.h:269
Uml::PrimitiveTypes::UnlimitedNatural
@ UnlimitedNatural
Definition basictypes.h:272
Uml::PrimitiveTypes::Boolean
@ Boolean
Definition basictypes.h:271
Uml::PrimitiveTypes::Integer
@ Integer
Definition basictypes.h:273
Uml::PrimitiveTypes::String
@ String
Definition basictypes.h:270
Uml::PrimitiveTypes::Real
@ Real
Definition basictypes.h:274
Uml::PrimitiveTypes::Reserved
@ Reserved
Definition basictypes.h:275
Uml::ProgrammingLanguage::scopeSeparator
QString scopeSeparator(Enum item)
Definition basictypes.cpp:1147
Uml::ProgrammingLanguage::toExtensionsDescription
QString toExtensionsDescription(Enum item)
Definition basictypes.cpp:1098
Uml::ProgrammingLanguage::isCaseSensitive
bool isCaseSensitive(Enum item)
Definition basictypes.cpp:1138
Uml::ProgrammingLanguage::toExtensions
QStringList toExtensions(Enum item)
Definition basictypes.cpp:1019
Uml::ProgrammingLanguage::Enum
Enum
Definition basictypes.h:291
Uml::ProgrammingLanguage::Ruby
@ Ruby
Definition basictypes.h:307
Uml::ProgrammingLanguage::IDL
@ IDL
Definition basictypes.h:297
Uml::ProgrammingLanguage::Tcl
@ Tcl
Definition basictypes.h:309
Uml::ProgrammingLanguage::Java
@ Java
Definition basictypes.h:298
Uml::ProgrammingLanguage::XMLSchema
@ XMLSchema
Definition basictypes.h:311
Uml::ProgrammingLanguage::CSharp
@ CSharp
Definition basictypes.h:295
Uml::ProgrammingLanguage::Vala
@ Vala
Definition basictypes.h:310
Uml::ProgrammingLanguage::Python
@ Python
Definition basictypes.h:306
Uml::ProgrammingLanguage::ActionScript
@ ActionScript
Definition basictypes.h:292
Uml::ProgrammingLanguage::Reserved
@ Reserved
Definition basictypes.h:312
Uml::ProgrammingLanguage::PHP
@ PHP
Definition basictypes.h:303
Uml::ProgrammingLanguage::PostgreSQL
@ PostgreSQL
Definition basictypes.h:305
Uml::ProgrammingLanguage::D
@ D
Definition basictypes.h:296
Uml::ProgrammingLanguage::JavaScript
@ JavaScript
Definition basictypes.h:299
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition basictypes.h:294
Uml::ProgrammingLanguage::PHP5
@ PHP5
Definition basictypes.h:304
Uml::ProgrammingLanguage::Perl
@ Perl
Definition basictypes.h:302
Uml::ProgrammingLanguage::Ada
@ Ada
Definition basictypes.h:293
Uml::ProgrammingLanguage::SQL
@ SQL
Definition basictypes.h:308
Uml::ProgrammingLanguage::Pascal
@ Pascal
Definition basictypes.h:301
Uml::ProgrammingLanguage::MySQL
@ MySQL
Definition basictypes.h:300
Uml::ProgrammingLanguage::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:959
Uml::ProgrammingLanguage::toString
QString toString(Enum item)
Definition basictypes.cpp:907
Uml::ProgrammingLanguage::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:1009
Uml::Region::toString
QString toString(Enum item)
Definition basictypes.cpp:1170
Uml::Region::Enum
Enum
Definition basictypes.h:330
Uml::Region::Center
@ Center
Definition basictypes.h:340
Uml::Region::North
@ North
Definition basictypes.h:333
Uml::Region::SouthEast
@ SouthEast
Definition basictypes.h:338
Uml::Region::East
@ East
Definition basictypes.h:334
Uml::Region::SouthWest
@ SouthWest
Definition basictypes.h:339
Uml::Region::NorthEast
@ NorthEast
Definition basictypes.h:337
Uml::Region::NorthWest
@ NorthWest
Definition basictypes.h:336
Uml::Region::Error
@ Error
Definition basictypes.h:331
Uml::Region::South
@ South
Definition basictypes.h:335
Uml::Region::West
@ West
Definition basictypes.h:332
Uml::Region::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:1202
Uml::Region::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:1232
Uml::RoleType::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:780
Uml::RoleType::toString
QString toString(Enum item)
Definition basictypes.cpp:764
Uml::RoleType::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:794
Uml::RoleType::Enum
Enum
Definition basictypes.h:236
Uml::RoleType::A
@ A
Definition basictypes.h:237
Uml::SequenceMessage::toString
QString toString(Enum item)
Definition basictypes.cpp:708
Uml::SequenceMessage::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:730
Uml::SequenceMessage::Enum
Enum
Definition basictypes.h:217
Uml::SequenceMessage::Creation
@ Creation
Definition basictypes.h:221
Uml::SequenceMessage::Found
@ Found
Definition basictypes.h:223
Uml::SequenceMessage::Destroy
@ Destroy
Definition basictypes.h:224
Uml::SequenceMessage::Lost
@ Lost
Definition basictypes.h:222
Uml::SequenceMessage::Synchronous
@ Synchronous
Definition basictypes.h:219
Uml::SequenceMessage::Asynchronous
@ Asynchronous
Definition basictypes.h:220
Uml::SequenceMessage::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:750
Uml::ShowStereoType::Enum
Enum
Definition basictypes.h:148
Uml::ShowStereoType::None
@ None
no display of stereotype
Definition basictypes.h:149
Uml::ShowStereoType::Name
@ Name
stereotype name only
Definition basictypes.h:150
Uml::ShowStereoType::Tags
@ Tags
stereotype name and tagged values
Definition basictypes.h:151
Uml::SignatureType::toString
QString toString(Enum item)
Definition basictypes.cpp:519
Uml::SignatureType::Enum
Enum
Definition basictypes.h:160
Uml::SignatureType::NoSigNoVis
@ NoSigNoVis
Definition basictypes.h:164
Uml::SignatureType::ShowSig
@ ShowSig
Definition basictypes.h:162
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition basictypes.h:163
Uml::SignatureType::NoSig
@ NoSig
Definition basictypes.h:161
Uml::SignatureType::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:557
Uml::SignatureType::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:539
Uml::TextRole::Enum
Enum
Definition basictypes.h:176
Uml::TextRole::Reserved
@ Reserved
Definition basictypes.h:190
Uml::TextRole::Coll_Message
@ Coll_Message
Definition basictypes.h:183
Uml::TextRole::Seq_Message_Self
@ Seq_Message_Self
Definition basictypes.h:182
Uml::TextRole::Floating
@ Floating
Definition basictypes.h:177
Uml::TextRole::MultiA
@ MultiA
Definition basictypes.h:178
Uml::TextRole::Coll_Message_Self
@ Coll_Message_Self
Definition basictypes.h:184
Uml::TextRole::Name
@ Name
Definition basictypes.h:180
Uml::TextRole::ChangeB
@ ChangeB
Definition basictypes.h:189
Uml::TextRole::RoleAName
@ RoleAName
Definition basictypes.h:186
Uml::TextRole::Seq_Message
@ Seq_Message
Definition basictypes.h:181
Uml::TextRole::State
@ State
Definition basictypes.h:185
Uml::TextRole::RoleBName
@ RoleBName
Definition basictypes.h:187
Uml::TextRole::ChangeA
@ ChangeA
Definition basictypes.h:188
Uml::TextRole::MultiB
@ MultiB
Definition basictypes.h:179
Uml::TextRole::fromString
Enum fromString(const QString &item)
Definition basictypes.cpp:609
Uml::TextRole::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:645
Uml::TextRole::toString
QString toString(Enum item)
Definition basictypes.cpp:571
Uml::Visibility::fromInt
Enum fromInt(int item)
Definition basictypes.cpp:135
Uml::Visibility::Enum
Enum
Definition basictypes.h:45
Uml::Visibility::Public
@ Public
Definition basictypes.h:46
Uml::Visibility::FromParent
@ FromParent
Definition basictypes.h:50
Uml::Visibility::Unknown
@ Unknown
Definition basictypes.h:51
Uml::Visibility::Protected
@ Protected
Definition basictypes.h:48
Uml::Visibility::Implementation
@ Implementation
Definition basictypes.h:49
Uml::Visibility::Private
@ Private
Definition basictypes.h:47
Uml::Visibility::toString
QString toString(Enum item, bool mnemonic)
Definition basictypes.cpp:88
Uml::Visibility::fromString
Enum fromString(const QString &item, bool checkUnknown)
Definition basictypes.cpp:110
Uml
Definition basictypes.cpp:18
Uml::systemFont
QFont systemFont()
Definition basictypes.cpp:1319
visibility
Definition visibility.py:1