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

widgetbase.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) 2004-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef WIDGETBASE_H
12 #define WIDGETBASE_H
13
14 #include "basictypes.h"
15 #include "icon_utils.h"
16
17 #include <QColor>
18 #include <QDomDocument>
19 #include <QFont>
20 #include <QGraphicsObject>
21 #include <QObject>
22 #include <QPainter>
23 #include <QPointer>
24
25 // forward declarations
26 class QAction;
27 class ActivityWidget;
28 class ActorWidget;
29 class ArtifactWidget;
30 class AssociationWidget;
31 class BoxWidget;
32 class CategoryWidget;
33 class ClassifierWidget;
34 class CombinedFragmentWidget;
35 class ComponentWidget;
36 class DatatypeWidget;
37 class EntityWidget;
38 class EnumWidget;
39 class FloatingDashLineWidget;
40 class FloatingTextWidget;
41 class ForkJoinWidget;
42 class IDChangeLog;
43 class InterfaceWidget;
44 class MessageWidget;
45 class NodeWidget;
46 class NoteWidget;
47 class ObjectNodeWidget;
48 class ObjectWidget;
49 class PackageWidget;
50 class PinWidget;
51 class PortWidget;
52 class PinPortBase;
53 class PreconditionWidget;
54 class RegionWidget;
55 class SignalWidget;
56 class StateWidget;
57 //class TextWidget;
58 class UseCaseWidget;
59 class UMLDoc;
60 class UMLObject;
61 class UMLScene;
62 class UMLWidget; // required by function onWidget()
63
90 class QGraphicsObjectWrapper: public QGraphicsObject
91 {
92 public:
93 virtual void setSelected(bool state);
94 protected:
95 bool m_calledFromItemChange{false};
96 QVariant itemChange(GraphicsItemChange change, const QVariant &value);
97 };
98
104 class WidgetBase : public QGraphicsObjectWrapper
105 {
106 Q_OBJECT
107 Q_ENUMS(WidgetType)
108
109 public:
110 enum WidgetType
111 {
112 wt_Min = 299, // lower bounds check value
113 wt_UMLWidget, // does not have UMLObject representation
114 wt_Actor, // has UMLObject representation
115 wt_UseCase, // has UMLObject representation
116 wt_Class, // has UMLObject representation
117 wt_Interface, // has UMLObject representation
118 wt_Datatype, // has UMLObject representation
119 wt_Enum, // has UMLObject representation
120 wt_Entity, // has UMLObject representation
121 wt_Package, // has UMLObject representation
122 wt_Object, // has UMLObject representation
123 wt_Note, // does not have UMLObject representation
124 wt_Box, // does not have UMLObject representation
125 wt_Message, // does not have UMLObject representation
126 wt_Text, // does not have UMLObject representation
127 wt_State, // does not have UMLObject representation
128 wt_Activity, // does not have UMLObject representation
129 wt_Component, // has UMLObject representation
130 wt_Artifact, // has UMLObject representation
131 wt_Node, // has UMLObject representation
132 wt_Association, // has UMLObject representation
133 wt_ForkJoin, // does not have UMLObject representation
134 wt_Precondition, // does not have UMLObject representation
135 wt_CombinedFragment, // does not have UMLObject representation
136 wt_FloatingDashLine, // does not have UMLObject representation
137 wt_Signal, // does not have UMLObject representation
138 wt_Pin,
139 wt_ObjectNode,
140 wt_Region,
141 wt_Category, // has UMLObject representation
142 wt_Port, // has UMLObject representation
143 wt_Instance, // has UMLObject representation == wt_Object
144 wt_Max // upper bounds check value
145 };
146
147 static QString toString(WidgetType wt);
148 static QString toI18nString(WidgetType wt);
149 static Icon_Utils::IconType toIcon(WidgetType wt);
150
151 explicit WidgetBase(UMLScene * scene, WidgetType type= wt_UMLWidget, Uml::ID::Type id = Uml::ID::None);
152 virtual ~WidgetBase();
153
154 UMLObject* umlObject() const;
155 virtual void setUMLObject(UMLObject *obj);
156
157 Uml::ID::Type id() const;
158 void setID(Uml::ID::Type id);
159
160 void setLocalID(Uml::ID::Type id);
161 Uml::ID::Type localID() const;
162
163 virtual UMLWidget *widgetWithID(Uml::ID::Type id);
164
165 WidgetType baseType() const;
166 void setBaseType(const WidgetType& baseType);
167 QLatin1String baseTypeStr() const;
168 QString baseTypeStrWithoutPrefix() const;
169
170 virtual void setSelected(bool select);
171
172 UMLScene* umlScene() const;
173 UMLDoc* umlDoc() const;
174
175 QString documentation() const;
176 bool hasDocumentation();
177 virtual void setDocumentation(const QString& doc);
178
179 QString name() const;
180 virtual void setName(const QString &strName);
181
182 QColor lineColor() const;
183 virtual void setLineColor(const QColor& color);
184
185 uint lineWidth() const;
186 virtual void setLineWidth(uint width);
187
188 QColor textColor() const;
189 virtual void setTextColor(const QColor& color);
190
191 QColor fillColor() const;
192 virtual void setFillColor(const QColor& color);
193
194 bool usesDiagramLineColor() const;
195 void setUsesDiagramLineColor(bool state);
196
197 bool usesDiagramLineWidth() const;
198 void setUsesDiagramLineWidth(bool state);
199
200 bool useFillColor();
201 virtual void setUseFillColor(bool state);
202
203 bool usesDiagramTextColor() const;
204 void setUsesDiagramTextColor(bool state);
205
206 bool usesDiagramFillColor() const;
207 void setUsesDiagramFillColor(bool state);
208
209 bool usesDiagramUseFillColor() const;
210 void setUsesDiagramUseFillColor(bool state);
211
212 virtual QFont font() const;
213 virtual void setFont(const QFont& font);
214
215 bool autoResize();
216 void setAutoResize(bool state);
217
218 bool changesShape();
219 void setChangesShape(bool state);
220
221 virtual bool showPropertiesDialog();
222
223 virtual bool loadFromXMI1(QDomElement &qElement);
224 virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement);
225
226 virtual void removeAssoc(AssociationWidget* pAssoc);
227 virtual void addAssoc(AssociationWidget* pAssoc);
228
229 WidgetBase& operator=(const WidgetBase& other);
230
231 QRectF rect() const;
232 void setRect(const QRectF& rect);
233 void setRect(qreal x, qreal y, qreal width, qreal height);
234
235 virtual QRectF boundingRect() const;
236
237 virtual UMLWidget* onWidget(const QPointF &p);
238
239 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
240
241 bool isActivityWidget() { return baseType() == wt_Activity; }
242 bool isActorWidget() { return baseType() == wt_Actor; }
243 bool isArtifactWidget() { return baseType() == wt_Artifact; }
244 bool isAssociationWidget() { return baseType() == wt_Association; }
245 bool isBoxWidget() { return baseType() == wt_Box; }
246 bool isCategoryWidget() { return baseType() == wt_Category; }
247 bool isClassWidget() { return baseType() == wt_Class; }
248 bool isCombinedFragmentWidget() { return baseType() == wt_CombinedFragment; }
249 bool isComponentWidget() { return baseType() == wt_Component; }
250 bool isDatatypeWidget() { return baseType() == wt_Datatype; }
251 bool isEntityWidget() { return baseType() == wt_Entity; }
252 bool isEnumWidget() { return baseType() == wt_Enum; }
253 bool isFloatingDashLineWidget() { return baseType() == wt_FloatingDashLine; }
254 bool isForkJoinWidget() { return baseType() == wt_ForkJoin; }
255 bool isInterfaceWidget() { return baseType() == wt_Interface; }
256 bool isMessageWidget() { return baseType() == wt_Message; }
257 bool isNodeWidget() { return baseType() == wt_Node; }
258 bool isNoteWidget() { return baseType() == wt_Note; }
259 bool isObjectNodeWidget() { return baseType() == wt_ObjectNode; }
260 bool isObjectWidget() { return baseType() == wt_Object; }
261 bool isPackageWidget() { return baseType() == wt_Package; }
262 bool isPinWidget() { return baseType() == wt_Pin; }
263 bool isPortWidget() { return baseType() == wt_Port; }
264 bool isPreconditionWidget() { return baseType() == wt_Precondition; }
265 bool isRegionWidget() { return baseType() == wt_Region; }
266 bool isSignalWidget() { return baseType() == wt_Signal; }
267 bool isStateWidget() { return baseType() == wt_State; }
268 bool isTextWidget() { return baseType() == wt_Text; }
269 bool isUseCaseWidget() { return baseType() == wt_UseCase; }
270
271 ActivityWidget* asActivityWidget();
272 ActorWidget* asActorWidget();
273 ArtifactWidget* asArtifactWidget();
274 AssociationWidget* asAssociationWidget();
275 BoxWidget* asBoxWidget();
276 CategoryWidget* asCategoryWidget();
277 ClassifierWidget* asClassifierWidget();
278 CombinedFragmentWidget* asCombinedFragmentWidget();
279 ComponentWidget* asComponentWidget();
280 DatatypeWidget* asDatatypeWidget();
281 EntityWidget* asEntityWidget();
282 EnumWidget* asEnumWidget();
283 FloatingDashLineWidget* asFloatingDashLineWidget();
284 ForkJoinWidget* asForkJoinWidget();
285 InterfaceWidget* asInterfaceWidget();
286 MessageWidget* asMessageWidget();
287 NodeWidget* asNodeWidget();
288 NoteWidget* asNoteWidget();
289 ObjectNodeWidget* asObjectNodeWidget();
290 ObjectWidget* asObjectWidget();
291 PackageWidget* asPackageWidget();
292 PinWidget* asPinWidget();
293 PinPortBase* asPinPortBase();
294 PortWidget* asPortWidget();
295 PreconditionWidget* asPreconditionWidget();
296 RegionWidget* asRegionWidget();
297 SignalWidget* asSignalWidget();
298 StateWidget* asStateWidget();
299 FloatingTextWidget* asFloatingTextWidget();
300 // TextWidget* asTextWidget();
301 UseCaseWidget* asUseCaseWidget();
302 UMLWidget* asUMLWidget();
303
304 static bool widgetHasUMLObject(WidgetBase::WidgetType type);
305 virtual bool activate(IDChangeLog *changeLog = 0);
306
307 public Q_SLOTS:
308 virtual void slotMenuSelection(QAction *trigger);
309
310 protected:
311 virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
312
313 private:
314 WidgetType m_baseType;
315 protected:
316 UMLScene *m_scene;
317 QPointer<UMLObject> m_umlObject;
318 QString m_Doc;
319 QString m_Text;
320 QRectF m_rect;
321
327 Uml::ID::Type m_nId;
328
332 Uml::ID::Type m_nLocalID;
333
334 QColor m_textColor;
335 QColor m_lineColor;
336 QColor m_fillColor;
337 QBrush m_brush;
338 QFont m_font;
339 uint m_lineWidth;
340 bool m_useFillColor;
341
347 bool m_usesDiagramFillColor;
348 bool m_usesDiagramLineColor;
349 bool m_usesDiagramLineWidth;
350 bool m_usesDiagramTextColor;
351 bool m_usesDiagramUseFillColor;
352 bool m_autoResize;
353 bool m_changesShape;
354 };
355
356 #endif
ListPopupMenu::setActionEnabled
void setActionEnabled(MenuType idx, bool value)
Definition: listpopupmenu.cpp:577
Settings::OptionState::uiState
UIState uiState
Definition: optionstate.h:328
notewidget.h
ClassifierWidget::ShowOperations
@ ShowOperations
Definition: classifierwidget.h:44
UMLScene::selectionUseFillColor
void selectionUseFillColor(bool useFC)
Definition: umlscene.cpp:1482
WidgetBase::wt_Association
@ wt_Association
Definition: widgetbase.h:132
WidgetBase::wt_Signal
@ wt_Signal
Definition: widgetbase.h:137
WidgetBase::setLineWidth
virtual void setLineWidth(uint width)
Definition: widgetbase.cpp:408
WidgetBase::asPreconditionWidget
PreconditionWidget * asPreconditionWidget()
Definition: widgetbase.cpp:1489
WidgetBase::asObjectWidget
ObjectWidget * asObjectWidget()
Definition: widgetbase.cpp:1484
WidgetBase::wt_FloatingDashLine
@ wt_FloatingDashLine
Definition: widgetbase.h:136
WidgetBase::asComponentWidget
ComponentWidget * asComponentWidget()
Definition: widgetbase.cpp:1473
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
WidgetBase::wt_ObjectNode
@ wt_ObjectNode
Definition: widgetbase.h:139
WidgetBase::isTextWidget
bool isTextWidget()
Definition: widgetbase.h:268
WidgetBase::isMessageWidget
bool isMessageWidget()
Definition: widgetbase.h:256
WidgetBase::toString
static QString toString(WidgetType wt)
Definition: widgetbase.cpp:1215
PinWidget
A graphical version of a UML pin.
Definition: pinwidget.h:29
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:52
WidgetBase::autoResize
bool autoResize()
Definition: widgetbase.cpp:560
WidgetBase::isBoxWidget
bool isBoxWidget()
Definition: widgetbase.h:245
WidgetBase::baseTypeStrWithoutPrefix
QString baseTypeStrWithoutPrefix() const
Definition: widgetbase.cpp:142
WidgetBase::onWidget
virtual UMLWidget * onWidget(const QPointF &p)
Definition: widgetbase.cpp:875
ListPopupMenu::mt_Align_HorizontalDistribute
@ mt_Align_HorizontalDistribute
Definition: listpopupmenu.h:258
ClassifierWidget::ShowStereotype
@ ShowStereotype
Definition: classifierwidget.h:43
WidgetBase::setChangesShape
void setChangesShape(bool state)
Definition: widgetbase.cpp:587
x
int x
Definition: cxx11-lambda-functions-and-expressions.h:4
WidgetBase::textColor
QColor textColor() const
Definition: widgetbase.cpp:335
pinwidget.h
Settings::UIState::font
QFont font
Definition: optionstate.h:92
WidgetBase::m_brush
QBrush m_brush
Definition: widgetbase.h:337
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
WidgetBase::isNodeWidget
bool isNodeWidget()
Definition: widgetbase.h:257
statewidget.h
WidgetBase::wt_Category
@ wt_Category
Definition: widgetbase.h:141
ObjectNodeWidget
A graphical version of a UML Activity.
Definition: objectnodewidget.h:29
WidgetBase::asUMLWidget
UMLWidget * asUMLWidget()
Definition: widgetbase.cpp:1496
ListPopupMenu::mt_Hide_Operation_Signature_Selection
@ mt_Hide_Operation_Signature_Selection
Definition: listpopupmenu.h:151
Icon_Utils::it_Combined_Fragment
@ it_Combined_Fragment
Definition: icon_utils.h:187
activitywidget.h
WidgetBase::addAssoc
virtual void addAssoc(AssociationWidget *pAssoc)
Definition: widgetbase.cpp:700
Icon_Utils::it_Region
@ it_Region
Definition: icon_utils.h:195
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
ClassifierWidget::ShowAttributes
@ ShowAttributes
Definition: classifierwidget.h:48
ListPopupMenu::mt_Rename_Name
@ mt_Rename_Name
Definition: listpopupmenu.h:206
ListPopupMenu::mt_Remove
@ mt_Remove
Definition: listpopupmenu.h:260
WidgetBase::isInterfaceWidget
bool isInterfaceWidget()
Definition: widgetbase.h:255
WidgetBase::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: widgetbase.cpp:618
WidgetBase::isDatatypeWidget
bool isDatatypeWidget()
Definition: widgetbase.h:250
WidgetBase::wt_UMLWidget
@ wt_UMLWidget
Definition: widgetbase.h:113
WidgetBase::wt_Precondition
@ wt_Precondition
Definition: widgetbase.h:134
UMLApp::slotEditCopy
void slotEditCopy()
Definition: uml.cpp:1677
WidgetBase::m_lineColor
QColor m_lineColor
Color of the lines of the widget. Is saved to XMI.
Definition: widgetbase.h:335
WidgetBase::isPackageWidget
bool isPackageWidget()
Definition: widgetbase.h:261
WidgetBase::wt_Instance
@ wt_Instance
Definition: widgetbase.h:143
WidgetBase::wt_Package
@ wt_Package
Definition: widgetbase.h:121
WidgetBase::name
QString name() const
Definition: widgetbase.cpp:309
enumwidget.h
WidgetBase::setDocumentation
virtual void setDocumentation(const QString &doc)
Definition: widgetbase.cpp:294
WidgetBase::setUseFillColor
virtual void setUseFillColor(bool state)
Definition: widgetbase.cpp:429
ClassifierWidget::ShowPublicOnly
@ ShowPublicOnly
Definition: classifierwidget.h:45
ArtifactWidget
A graphical version of an Artifact.
Definition: artifactwidget.h:31
WidgetBase::isUseCaseWidget
bool isUseCaseWidget()
Definition: widgetbase.h:269
WidgetBase::setLocalID
void setLocalID(Uml::ID::Type id)
Definition: widgetbase.cpp:226
WidgetBase::m_usesDiagramLineColor
bool m_usesDiagramLineColor
Definition: widgetbase.h:348
UMLScene::selectionSetLineColor
void selectionSetLineColor(const QColor &color)
Definition: umlscene.cpp:1514
WidgetBase::setSelected
virtual void setSelected(bool select)
Definition: widgetbase.cpp:153
WidgetBase::umlScene
UMLScene * umlScene() const
Definition: widgetbase.cpp:162
WidgetBase::m_nId
Uml::ID::Type m_nId
Definition: widgetbase.h:327
ListPopupMenu::mt_Hide_Operations_Selection
@ mt_Hide_Operations_Selection
Definition: listpopupmenu.h:152
StateWidget
A graphical version of a UML State.
Definition: statewidget.h:39
ActivityWidget
A graphical version of a UML Activity.
Definition: activitywidget.h:34
ClassifierWidget::ShowAttributeSignature
@ ShowAttributeSignature
only in setter
Definition: classifierwidget.h:51
WidgetBase::localID
Uml::ID::Type localID() const
Definition: widgetbase.cpp:238
RegionWidget
Definition: regionwidget.h:20
Icon_Utils::it_Fork_Join
@ it_Fork_Join
Definition: icon_utils.h:199
WidgetBase::activate
virtual bool activate(IDChangeLog *changeLog=0)
Definition: widgetbase.cpp:682
Settings::UIState::textColor
QColor textColor
Definition: optionstate.h:91
WidgetBase::setID
void setID(Uml::ID::Type id)
Definition: widgetbase.cpp:200
ListPopupMenu::mt_Show_Operation_Signature_Selection
@ mt_Show_Operation_Signature_Selection
Definition: listpopupmenu.h:164
WidgetBase::asCategoryWidget
CategoryWidget * asCategoryWidget()
Definition: widgetbase.cpp:1470
ListPopupMenu::mt_Fill_Color
@ mt_Fill_Color
Definition: listpopupmenu.h:199
WidgetBase::setRect
void setRect(const QRectF &rect)
Definition: widgetbase.cpp:839
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
Icon_Utils::it_Note
@ it_Note
Definition: icon_utils.h:108
WidgetBase::asRegionWidget
RegionWidget * asRegionWidget()
Definition: widgetbase.cpp:1490
UMLScene::alignHorizontalMiddle
void alignHorizontalMiddle()
Definition: umlscene.cpp:4305
WidgetBase::asStateWidget
StateWidget * asStateWidget()
Definition: widgetbase.cpp:1492
ListPopupMenu::mt_Align_VerticalMiddle
@ mt_Align_VerticalMiddle
Definition: listpopupmenu.h:255
WidgetBase::toIcon
static Icon_Utils::IconType toIcon(WidgetType wt)
Definition: widgetbase.cpp:1333
WidgetBase::isPreconditionWidget
bool isPreconditionWidget()
Definition: widgetbase.h:264
CategoryWidget
A graphical version of a UMLCategory.
Definition: categorywidget.h:37
QGraphicsObjectWrapper::m_calledFromItemChange
bool m_calledFromItemChange
Definition: widgetbase.h:95
WidgetBase::isNoteWidget
bool isNoteWidget()
Definition: widgetbase.h:258
WidgetBase::WidgetBase
WidgetBase(UMLScene *scene, WidgetType type=wt_UMLWidget, Uml::ID::Type id=Uml::ID::None)
Definition: widgetbase.cpp:62
WidgetBase::m_useFillColor
bool m_useFillColor
flag indicates if the UMLWidget uses the Diagram FillColour
Definition: widgetbase.h:340
WidgetBase::asPinWidget
PinWidget * asPinWidget()
Definition: widgetbase.cpp:1486
UniqueID
Definition: uniqueid.cpp:15
WidgetBase::wt_Artifact
@ wt_Artifact
Definition: widgetbase.h:130
WidgetBase::isCombinedFragmentWidget
bool isCombinedFragmentWidget()
Definition: widgetbase.h:248
ListPopupMenu::mt_ViewCode
@ mt_ViewCode
Definition: listpopupmenu.h:229
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1263
floatingdashlinewidget.h
WidgetBase::asActorWidget
ActorWidget * asActorWidget()
Definition: widgetbase.cpp:1466
WidgetBase::wt_Min
@ wt_Min
Definition: widgetbase.h:112
entitywidget.h
WidgetBase::setUsesDiagramLineColor
void setUsesDiagramLineColor(bool state)
Definition: widgetbase.cpp:474
ListPopupMenu::mt_Fill_Color_Selection
@ mt_Fill_Color_Selection
Definition: listpopupmenu.h:200
ListPopupMenu::mt_Hide_Attribute_Signature_Selection
@ mt_Hide_Attribute_Signature_Selection
Definition: listpopupmenu.h:147
WidgetBase::asCombinedFragmentWidget
CombinedFragmentWidget * asCombinedFragmentWidget()
Definition: widgetbase.cpp:1472
ListPopupMenu::mt_Cut
@ mt_Cut
Definition: listpopupmenu.h:190
WidgetBase::operator=
WidgetBase & operator=(const WidgetBase &other)
Definition: widgetbase.cpp:803
WidgetBase::setUsesDiagramLineWidth
void setUsesDiagramLineWidth(bool state)
Definition: widgetbase.cpp:534
WidgetBase::isForkJoinWidget
bool isForkJoinWidget()
Definition: widgetbase.h:254
datatypewidget.h
EnumWidget
A graphical version of an enum.
Definition: enumwidget.h:28
WidgetBase::usesDiagramLineWidth
bool usesDiagramLineWidth() const
Definition: widgetbase.cpp:524
WidgetBase::rect
QRectF rect() const
Definition: widgetbase.cpp:831
WidgetBase::m_changesShape
bool m_changesShape
The widget changes its shape when the number of connections or their positions are changed.
Definition: widgetbase.h:353
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
Icon_Utils::it_Port
@ it_Port
Definition: icon_utils.h:93
WidgetBase::wt_UseCase
@ wt_UseCase
Definition: widgetbase.h:115
ListPopupMenu::mt_Hide_Attributes_Selection
@ mt_Hide_Attributes_Selection
Definition: listpopupmenu.h:148
Icon_Utils::it_Class
@ it_Class
Definition: icon_utils.h:85
WidgetBase::asMessageWidget
MessageWidget * asMessageWidget()
Definition: widgetbase.cpp:1480
UMLScene::clearSelected
void clearSelected()
Definition: umlscene.cpp:1456
packagewidget.h
ListPopupMenu::mt_Rename_RoleAName
@ mt_Rename_RoleAName
Definition: listpopupmenu.h:207
WidgetBase::wt_Box
@ wt_Box
Definition: widgetbase.h:124
WidgetBase::asActivityWidget
ActivityWidget * asActivityWidget()
Definition: widgetbase.cpp:1465
UMLScene::selectWidget
void selectWidget(UMLWidget *widget, QRectF *rect=0)
Definition: umlscene.cpp:1821
ENUM_NAME
#define ENUM_NAME(o, e, v)
Definition: debug_utils.h:143
Icon_Utils::it_Enum
@ it_Enum
Definition: icon_utils.h:100
WidgetBase::setUsesDiagramUseFillColor
void setUsesDiagramUseFillColor(bool state)
Definition: widgetbase.cpp:514
actorwidget.h
WidgetBase::setFont
virtual void setFont(const QFont &font)
Definition: widgetbase.cpp:551
WidgetBase::asForkJoinWidget
ForkJoinWidget * asForkJoinWidget()
Definition: widgetbase.cpp:1478
ListPopupMenu::mt_Align_Top
@ mt_Align_Top
Definition: listpopupmenu.h:253
UMLScene::alignTop
void alignTop()
Definition: umlscene.cpp:4242
WidgetBase::m_rect
QRectF m_rect
widget size
Definition: widgetbase.h:320
WidgetBase::isEntityWidget
bool isEntityWidget()
Definition: widgetbase.h:251
WidgetBase::hasDocumentation
bool hasDocumentation()
Definition: widgetbase.cpp:281
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
WidgetBasePopupMenu
Definition: widgetbasepopupmenu.h:20
SignalWidget
Definition: signalwidget.h:28
Icon_Utils::it_Node
@ it_Node
Definition: icon_utils.h:94
WidgetBase::wt_Component
@ wt_Component
Definition: widgetbase.h:129
Icon_Utils::it_Datatype
@ it_Datatype
Definition: icon_utils.h:99
Icon_Utils::it_Send_Signal
@ it_Send_Signal
Definition: icon_utils.h:196
ListPopupMenu::mt_Rename_MultiB
@ mt_Rename_MultiB
Definition: listpopupmenu.h:205
UMLScene::addObject
void addObject(UMLObject *object)
Definition: umlscene.cpp:4061
WidgetBase::asFloatingDashLineWidget
FloatingDashLineWidget * asFloatingDashLineWidget()
Definition: widgetbase.cpp:1477
ListPopupMenu::mt_Clone
@ mt_Clone
Definition: listpopupmenu.h:230
WidgetBase::wt_ForkJoin
@ wt_ForkJoin
Definition: widgetbase.h:133
WidgetBase::isRegionWidget
bool isRegionWidget()
Definition: widgetbase.h:265
usecasewidget.h
WidgetBase::wt_Note
@ wt_Note
Definition: widgetbase.h:123
WidgetBase::asAssociationWidget
AssociationWidget * asAssociationWidget()
Definition: widgetbase.cpp:1468
ListPopupMenu::mt_Show_Packages_Selection
@ mt_Show_Packages_Selection
Definition: listpopupmenu.h:168
WidgetBase::m_usesDiagramLineWidth
bool m_usesDiagramLineWidth
Definition: widgetbase.h:349
Icon_Utils::it_Precondition
@ it_Precondition
Definition: icon_utils.h:188
UMLScene::selectionSetFont
void selectionSetFont(const QFont &font)
Definition: umlscene.cpp:1500
ListPopupMenu::mt_Rename_MultiA
@ mt_Rename_MultiA
Definition: listpopupmenu.h:204
ClassifierWidget::ShowPackage
@ ShowPackage
Definition: classifierwidget.h:47
WidgetBase::asEnumWidget
EnumWidget * asEnumWidget()
Definition: widgetbase.cpp:1476
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
floatingtextwidget.h
WidgetBase::isObjectWidget
bool isObjectWidget()
Definition: widgetbase.h:260
Settings::UIState::lineColor
QColor lineColor
Definition: optionstate.h:89
WidgetBase::asClassifierWidget
ClassifierWidget * asClassifierWidget()
Definition: widgetbase.cpp:1471
Icon_Utils::it_Artifact
@ it_Artifact
Definition: icon_utils.h:95
WidgetBase::asObjectNodeWidget
ObjectNodeWidget * asObjectNodeWidget()
Definition: widgetbase.cpp:1483
Model_Utils::isCloneable
bool isCloneable(WidgetBase::WidgetType type)
Definition: model_utils.cpp:53
Icon_Utils::it_Pin
@ it_Pin
Definition: icon_utils.h:214
WidgetBase::wt_Actor
@ wt_Actor
Definition: widgetbase.h:114
Icon_Utils::it_State
@ it_State
Definition: icon_utils.h:211
Icon_Utils::it_Entity
@ it_Entity
Definition: icon_utils.h:101
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1268
WidgetBase::font
virtual QFont font() const
Definition: widgetbase.cpp:543
UMLScene::alignVerticalMiddle
void alignVerticalMiddle()
Definition: umlscene.cpp:4277
Icon_Utils::it_Home
@ it_Home
Definition: icon_utils.h:48
WidgetBase::umlObject
UMLObject * umlObject() const
Definition: widgetbase.cpp:182
nodewidget.h
WidgetBase::toI18nString
static QString toI18nString(WidgetType wt)
Definition: widgetbase.cpp:1225
IDChangeLog
Definition: idchangelog.h:27
WidgetBase::widgetWithID
virtual UMLWidget * widgetWithID(Uml::ID::Type id)
Definition: widgetbase.cpp:255
WidgetBase::wt_Pin
@ wt_Pin
Definition: widgetbase.h:138
WidgetBase::fillColor
QColor fillColor() const
Definition: widgetbase.cpp:377
WidgetBase::setUsesDiagramFillColor
void setUsesDiagramFillColor(bool state)
Definition: widgetbase.cpp:494
PinPortBase
Abstract base class for PinWidget and PortWidget.
Definition: pinportbase.h:28
FloatingTextWidget::handleRename
bool handleRename()
Definition: floatingtextwidget.cpp:353
WidgetBase::isActorWidget
bool isActorWidget()
Definition: widgetbase.h:242
ListPopupMenu::mt_Hide_Stereotypes_Selection
@ mt_Hide_Stereotypes_Selection
Definition: listpopupmenu.h:154
uniqueid.h
UMLScene::selectionSetVisualProperty
void selectionSetVisualProperty(ClassifierWidget::VisualProperty property, bool value)
Definition: umlscene.cpp:1567
PackageWidget
A graphical version of a Package.
Definition: packagewidget.h:31
UMLDoc::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1038
UMLApp::slotEditPaste
void slotEditPaste()
Definition: uml.cpp:1689
UMLScene::selectionSetFillColor
void selectionSetFillColor(const QColor &color)
Definition: umlscene.cpp:1552
UMLScene::deleteSelection
void deleteSelection()
Definition: umlscene.cpp:1599
WidgetBase::wt_Port
@ wt_Port
Definition: widgetbase.h:142
WidgetBase::usesDiagramLineColor
bool usesDiagramLineColor() const
Definition: widgetbase.cpp:464
WidgetBase::setTextColor
virtual void setTextColor(const QColor &color)
Definition: widgetbase.cpp:345
DatatypeWidget
A graphical version of an datatype.
Definition: datatypewidget.h:30
ListPopupMenu::mt_Rename_RoleBName
@ mt_Rename_RoleBName
Definition: listpopupmenu.h:208
ListPopupMenu::mt_Show_NonPublic_Selection
@ mt_Show_NonPublic_Selection
Definition: listpopupmenu.h:162
WidgetBase::m_textColor
QColor m_textColor
Color of the text of the widget. Is saved to XMI.
Definition: widgetbase.h:334
UMLScene::selectedCount
int selectedCount(bool filterText=false) const
Definition: umlscene.cpp:2005
WidgetBase::m_nLocalID
Uml::ID::Type m_nLocalID
Definition: widgetbase.h:332
objectwidget.h
Icon_Utils::it_UseCase
@ it_UseCase
Definition: icon_utils.h:103
uWarning
#define uWarning()
Definition: debug_utils.h:124
Dialog_Utils::askDeleteAssociation
bool askDeleteAssociation()
Definition: dialog_utils.cpp:114
WidgetBase::boundingRect
virtual QRectF boundingRect() const
Definition: widgetbase.cpp:860
componentwidget.h
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
QGraphicsObjectWrapper::setSelected
virtual void setSelected(bool state)
Definition: widgetbase.cpp:38
i18n
#define i18n
Definition: main.cpp:39
messagewidget.h
UMLScene::lineColor
const QColor & lineColor() const
Definition: umlscene.cpp:493
WidgetBase::changesShape
bool changesShape()
Definition: widgetbase.cpp:578
WidgetBase::isClassWidget
bool isClassWidget()
Definition: widgetbase.h:247
ClassifierWidget
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:33
ListPopupMenu::mt_Unset_Use_Fill_Color_Selection
@ mt_Unset_Use_Fill_Color_Selection
Definition: listpopupmenu.h:203
WidgetBase::wt_Class
@ wt_Class
Definition: widgetbase.h:116
ForkJoinWidget
Displays a fork/join plate in a state diagram.
Definition: forkjoinwidget.h:26
ListPopupMenu::toString
static QString toString(MenuType menu)
Definition: listpopupmenu.cpp:609
WidgetBase::wt_Text
@ wt_Text
Definition: widgetbase.h:126
basictypes.h
WidgetBase::documentation
QString documentation() const
Definition: widgetbase.cpp:269
Icon_Utils::it_Association
@ it_Association
Definition: icon_utils.h:105
uDebug
#define uDebug()
Definition: debug_utils.h:122
boxwidget.h
WidgetBase::m_autoResize
bool m_autoResize
Definition: widgetbase.h:352
FloatingTextWidget
Displays a line of text or an operation.
Definition: floatingtextwidget.h:37
WidgetBase::asEntityWidget
EntityWidget * asEntityWidget()
Definition: widgetbase.cpp:1475
WidgetBase::~WidgetBase
virtual ~WidgetBase()
Definition: widgetbase.cpp:108
interfacewidget.h
WidgetBase::m_scene
UMLScene * m_scene
Definition: widgetbase.h:316
WidgetBase::asDatatypeWidget
DatatypeWidget * asDatatypeWidget()
Definition: widgetbase.cpp:1474
ListPopupMenu::mt_Show_Attribute_Signature_Selection
@ mt_Show_Attribute_Signature_Selection
Definition: listpopupmenu.h:157
FloatingDashLineWidget
A dash line for UML combined fragments.
Definition: floatingdashlinewidget.h:34
ListPopupMenu::mt_Line_Color
@ mt_Line_Color
Definition: listpopupmenu.h:197
Icon_Utils::it_Message_Synchronous
@ it_Message_Synchronous
Definition: icon_utils.h:216
ListPopupMenu::mt_Change_Font
@ mt_Change_Font
Definition: listpopupmenu.h:209
Settings::UIState::lineWidth
uint lineWidth
Definition: optionstate.h:90
WidgetBase::wt_Region
@ wt_Region
Definition: widgetbase.h:140
WidgetBase::setAutoResize
void setAutoResize(bool state)
Definition: widgetbase.cpp:569
WidgetBase::isStateWidget
bool isStateWidget()
Definition: widgetbase.h:267
Icon_Utils::it_Category
@ it_Category
Definition: icon_utils.h:221
WidgetBase::wt_CombinedFragment
@ wt_CombinedFragment
Definition: widgetbase.h:135
umllistview.h
WidgetBase::m_usesDiagramUseFillColor
bool m_usesDiagramUseFillColor
Definition: widgetbase.h:351
artifactwidget.h
WidgetBase::setUMLObject
virtual void setUMLObject(UMLObject *obj)
Definition: widgetbase.cpp:192
WidgetBase::asFloatingTextWidget
FloatingTextWidget * asFloatingTextWidget()
Definition: widgetbase.cpp:1493
NodeWidget
A graphical version of a Node.
Definition: nodewidget.h:28
NoteWidget
Displays a note box.
Definition: notewidget.h:31
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
WidgetBase::asInterfaceWidget
InterfaceWidget * asInterfaceWidget()
Definition: widgetbase.cpp:1479
InterfaceWidget
Definition: interfacewidget.h:25
WidgetBase::useFillColor
bool useFillColor()
Definition: widgetbase.cpp:419
UMLDoc
Definition: umldoc.h:75
UMLScene::textColor
const QColor & textColor() const
Definition: umlscene.cpp:531
WidgetBase::m_usesDiagramTextColor
bool m_usesDiagramTextColor
Definition: widgetbase.h:350
Icon_Utils::it_Text
@ it_Text
Definition: icon_utils.h:107
ListPopupMenu::mt_Align_VerticalDistribute
@ mt_Align_VerticalDistribute
Definition: listpopupmenu.h:257
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3136
WidgetBase::usesDiagramUseFillColor
bool usesDiagramUseFillColor() const
Definition: widgetbase.cpp:504
UMLDoc::renameUMLObject
void renameUMLObject(UMLObject *o)
Definition: umldoc.cpp:1712
ListPopupMenu::mt_Show_Operations_Selection
@ mt_Show_Operations_Selection
Definition: listpopupmenu.h:165
WidgetBase::wt_Message
@ wt_Message
Definition: widgetbase.h:125
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition: widgetbase.h:105
WidgetBase::asPinPortBase
PinPortBase * asPinPortBase()
Definition: widgetbase.cpp:1487
BoxWidget
Displays a box.
Definition: boxwidget.h:28
WidgetBase::setFillColor
virtual void setFillColor(const QColor &color)
Definition: widgetbase.cpp:387
ListPopupMenu::mt_Align_Right
@ mt_Align_Right
Definition: listpopupmenu.h:251
UMLScene::alignVerticalDistribute
void alignVerticalDistribute()
Definition: umlscene.cpp:4333
ListPopupMenu::mt_Hide_Visibility_Selection
@ mt_Hide_Visibility_Selection
Definition: listpopupmenu.h:155
Uml
Definition: basictypes.cpp:37
ListPopupMenu::mt_Hide_Packages_Selection
@ mt_Hide_Packages_Selection
Definition: listpopupmenu.h:153
ListPopupMenu::mt_Line_Color_Selection
@ mt_Line_Color_Selection
Definition: listpopupmenu.h:198
ListPopupMenu::mt_Align_Bottom
@ mt_Align_Bottom
Definition: listpopupmenu.h:254
WidgetBase::asNodeWidget
NodeWidget * asNodeWidget()
Definition: widgetbase.cpp:1481
UseCaseWidget
A graphical version of a UMLUseCase.
Definition: usecasewidget.h:43
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
WidgetBase::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: widgetbase.cpp:726
UMLScene::lineWidth
uint lineWidth() const
Definition: umlscene.cpp:512
WidgetBase::asArtifactWidget
ArtifactWidget * asArtifactWidget()
Definition: widgetbase.cpp:1467
associationwidget.h
Icon_Utils::it_Component
@ it_Component
Definition: icon_utils.h:92
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
Settings::OptionState
Definition: optionstate.h:314
UMLScene::alignHorizontalDistribute
void alignHorizontalDistribute()
Definition: umlscene.cpp:4364
Icon_Utils::it_Actor
@ it_Actor
Definition: icon_utils.h:102
WidgetBase::widgetHasUMLObject
static bool widgetHasUMLObject(WidgetBase::WidgetType type)
Definition: widgetbase.cpp:656
widgetbase.h
WidgetBase::usesDiagramFillColor
bool usesDiagramFillColor() const
Definition: widgetbase.cpp:484
WidgetBase::m_lineWidth
uint m_lineWidth
Width of the lines of the widget. Is saved to XMI.
Definition: widgetbase.h:339
ListPopupMenu::mt_Show_Attributes_Selection
@ mt_Show_Attributes_Selection
Definition: listpopupmenu.h:158
WidgetBase::lineColor
QColor lineColor() const
Definition: widgetbase.cpp:356
ListPopupMenu::mt_Change_Font_Selection
@ mt_Change_Font_Selection
Definition: listpopupmenu.h:210
WidgetBase::m_font
QFont m_font
Definition: widgetbase.h:338
classifier.h
ObjectWidget
Displays an instance of a Concept.
Definition: objectwidget.h:33
uError
#define uError()
Definition: debug_utils.h:123
ListPopupMenu::mt_Copy
@ mt_Copy
Definition: listpopupmenu.h:191
WidgetBase::wt_State
@ wt_State
Definition: widgetbase.h:127
Icon_Utils::it_Object
@ it_Object
Definition: icon_utils.h:86
umlscene.h
Icon_Utils::IconType
IconType
Definition: icon_utils.h:47
WidgetBase::wt_Interface
@ wt_Interface
Definition: widgetbase.h:117
EntityWidget
A graphical version of an entity.
Definition: entitywidget.h:30
WidgetBase::setUsesDiagramTextColor
void setUsesDiagramTextColor(bool state)
Definition: widgetbase.cpp:450
uml.h
Icon_Utils::it_Interface
@ it_Interface
Definition: icon_utils.h:96
portwidget.h
ListPopupMenu::mt_Align_HorizontalMiddle
@ mt_Align_HorizontalMiddle
Definition: listpopupmenu.h:256
ClassifierWidget::ShowOperationSignature
@ ShowOperationSignature
only in setter
Definition: classifierwidget.h:50
UMLScene::setStartedCut
void setStartedCut()
Definition: umlscene.cpp:3411
signalwidget.h
UMLApp::refactor
void refactor(UMLClassifier *classifier)
Definition: uml.cpp:2270
ComponentWidget
A graphical version of a Component.
Definition: componentwidget.h:30
WidgetBase::usesDiagramTextColor
bool usesDiagramTextColor() const
Definition: widgetbase.cpp:440
ListPopupMenu::mt_Use_Fill_Color
@ mt_Use_Fill_Color
Definition: listpopupmenu.h:201
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
WidgetBase::isFloatingDashLineWidget
bool isFloatingDashLineWidget()
Definition: widgetbase.h:253
debug_utils.h
QGraphicsObjectWrapper
Definition: widgetbase.h:91
UMLScene::alignRight
void alignRight()
Definition: umlscene.cpp:4225
UMLScene::optionState
Settings::OptionState & optionState()
Definition: umlscene.cpp:571
WidgetBase::wt_Object
@ wt_Object
Definition: widgetbase.h:122
WidgetBase::wt_Entity
@ wt_Entity
Definition: widgetbase.h:120
icon_utils.h
WidgetBase::paint
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: widgetbase.cpp:906
WidgetBase::baseTypeStr
QLatin1String baseTypeStr() const
Definition: widgetbase.cpp:133
WidgetBase::isComponentWidget
bool isComponentWidget()
Definition: widgetbase.h:249
PortWidget
A graphical version of a port on a component.
Definition: portwidget.h:28
WidgetBase::WidgetType
WidgetType
Definition: widgetbase.h:111
WidgetBase::wt_Datatype
@ wt_Datatype
Definition: widgetbase.h:118
QGraphicsObjectWrapper::itemChange
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Definition: widgetbase.cpp:45
UMLScene
Definition: umlscene.h:69
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
WidgetBase::asSignalWidget
SignalWidget * asSignalWidget()
Definition: widgetbase.cpp:1491
UMLScene::getUniqueSelectionType
WidgetBase::WidgetType getUniqueSelectionType()
Definition: umlscene.cpp:3462
WidgetBase::showPropertiesDialog
virtual bool showPropertiesDialog()
Definition: widgetbase.cpp:602
WidgetBase::lineWidth
uint lineWidth() const
Definition: widgetbase.cpp:398
WidgetBase::isPortWidget
bool isPortWidget()
Definition: widgetbase.h:263
WidgetBase::m_Doc
QString m_Doc
Only used if m_umlObject is not set.
Definition: widgetbase.h:318
Icon_Utils::it_Package
@ it_Package
Definition: icon_utils.h:90
WidgetBase::wt_Activity
@ wt_Activity
Definition: widgetbase.h:128
umlobject.h
ListPopupMenu::mt_Show_Visibility_Selection
@ mt_Show_Visibility_Selection
Definition: listpopupmenu.h:172
ListPopupMenu::mt_Hide_NonPublic_Selection
@ mt_Hide_NonPublic_Selection
Definition: listpopupmenu.h:150
preconditionwidget.h
objectnodewidget.h
PreconditionWidget
A graphical version of a UML Precondition (new in UML 2.0).
Definition: preconditionwidget.h:33
ListPopupMenu::mt_Rename
@ mt_Rename
Definition: listpopupmenu.h:183
WidgetBase::asPackageWidget
PackageWidget * asPackageWidget()
Definition: widgetbase.cpp:1485
UMLApp::slotEditCut
void slotEditCut()
Definition: uml.cpp:1654
WidgetBase::slotMenuSelection
virtual void slotMenuSelection(QAction *trigger)
Definition: widgetbase.cpp:963
WidgetBase::contextMenuEvent
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
Definition: widgetbase.cpp:914
WidgetBase::isCategoryWidget
bool isCategoryWidget()
Definition: widgetbase.h:246
ListPopupMenu::mt_Show_Stereotypes_Selection
@ mt_Show_Stereotypes_Selection
Definition: listpopupmenu.h:171
ClassifierWidget::ShowVisibility
@ ShowVisibility
Definition: classifierwidget.h:46
widgetbasepopupmenu.h
WidgetBase::setBaseType
void setBaseType(const WidgetType &baseType)
Definition: widgetbase.cpp:124
WidgetBase::setName
virtual void setName(const QString &strName)
Definition: widgetbase.cpp:322
dialog_utils.h
Icon_Utils::it_Object_Node
@ it_Object_Node
Definition: icon_utils.h:219
WidgetBase::asBoxWidget
BoxWidget * asBoxWidget()
Definition: widgetbase.cpp:1469
categorywidget.h
CombinedFragmentWidget
A graphical version of a UML combined fragment.
Definition: combinedfragmentwidget.h:33
WidgetBase::setLineColor
virtual void setLineColor(const QColor &color)
Definition: widgetbase.cpp:366
WidgetBase::isAssociationWidget
bool isAssociationWidget()
Definition: widgetbase.h:244
combinedfragmentwidget.h
ListPopupMenu::mt_Refactoring
@ mt_Refactoring
Definition: listpopupmenu.h:228
WidgetBase::removeAssoc
virtual void removeAssoc(AssociationWidget *pAssoc)
Definition: widgetbase.cpp:709
Icon_Utils::it_Instance
@ it_Instance
Definition: icon_utils.h:238
WidgetBase::baseType
WidgetType baseType() const
Definition: widgetbase.cpp:115
UMLScene::alignBottom
void alignBottom()
Definition: umlscene.cpp:4260
WidgetBase::isEnumWidget
bool isEnumWidget()
Definition: widgetbase.h:252
WidgetBase::asNoteWidget
NoteWidget * asNoteWidget()
Definition: widgetbase.cpp:1482
WidgetBase::isActivityWidget
bool isActivityWidget()
Definition: widgetbase.h:241
WidgetBase::m_usesDiagramFillColor
bool m_usesDiagramFillColor
Definition: widgetbase.h:347
WidgetBase::m_baseType
WidgetType m_baseType
Type of widget.
Definition: widgetbase.h:314
ListPopupMenu::mt_Paste
@ mt_Paste
Definition: listpopupmenu.h:192
MessageWidget
Displays a message.
Definition: messagewidget.h:41
WidgetBase::asPortWidget
PortWidget * asPortWidget()
Definition: widgetbase.cpp:1488
ListPopupMenu::mt_Align_Left
@ mt_Align_Left
Definition: listpopupmenu.h:252
WidgetBase::m_umlObject
QPointer< UMLObject > m_umlObject
Definition: widgetbase.h:317
WidgetBase::asUseCaseWidget
UseCaseWidget * asUseCaseWidget()
Definition: widgetbase.cpp:1495
UMLScene::alignLeft
void alignLeft()
Definition: umlscene.cpp:4207
WidgetBase::m_Text
QString m_Text
Definition: widgetbase.h:319
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
WidgetBase::isObjectNodeWidget
bool isObjectNodeWidget()
Definition: widgetbase.h:259
WidgetBase::wt_Enum
@ wt_Enum
Definition: widgetbase.h:119
WidgetBase::wt_Max
@ wt_Max
Definition: widgetbase.h:144
UMLApp::viewCodeDocument
void viewCodeDocument(UMLClassifier *classifier)
Definition: uml.cpp:2238
WidgetBase::wt_Node
@ wt_Node
Definition: widgetbase.h:131
umldoc.h
WidgetBase::isPinWidget
bool isPinWidget()
Definition: widgetbase.h:262
WidgetBase::id
Uml::ID::Type id() const
Definition: widgetbase.cpp:214
WidgetBase::m_fillColor
QColor m_fillColor
color of the background of the widget
Definition: widgetbase.h:336
forkjoinwidget.h
UMLObject::clone
virtual UMLObject * clone() const
Definition: umlobject.cpp:338
WidgetBase::umlDoc
UMLDoc * umlDoc() const
Definition: widgetbase.cpp:172
Icon_Utils::it_Box
@ it_Box
Definition: icon_utils.h:109
ListPopupMenu::mt_Set_Use_Fill_Color_Selection
@ mt_Set_Use_Fill_Color_Selection
Definition: listpopupmenu.h:202
WidgetBase::isArtifactWidget
bool isArtifactWidget()
Definition: widgetbase.h:243
ActorWidget
A graphical version of a UML Actor.
Definition: actorwidget.h:42
WidgetBase::isSignalWidget
bool isSignalWidget()
Definition: widgetbase.h:266
regionwidget.h
Icon_Utils::it_Activity
@ it_Activity
Definition: icon_utils.h:210