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

messagewidget.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 MESSAGEWIDGET_H
12 #define MESSAGEWIDGET_H
13
14 #include "umlwidget.h"
15 #include "linkwidget.h"
16
17 // forward declarations
18 class FloatingTextWidget;
19 class ObjectWidget;
20 class QResizeEvent;
21 class UMLOperation;
22
40 class MessageWidget : public UMLWidget, public LinkWidget
41 {
42 Q_OBJECT
43 public:
44 MessageWidget(UMLScene * scene, ObjectWidget* a, ObjectWidget* b,
45 int y, Uml::SequenceMessage::Enum sequenceMessageType,
46 Uml::ID::Type id = Uml::ID::None);
47 MessageWidget(UMLScene * scene, Uml::SequenceMessage::Enum sequenceMessageType,
48 Uml::ID::Type id = Uml::ID::None);
49 MessageWidget(UMLScene * scene, ObjectWidget* a, int xclick, int yclick,
50 Uml::SequenceMessage::Enum sequenceMessageType,
51 Uml::ID::Type id = Uml::ID::None);
52 virtual ~MessageWidget();
53
54 virtual void setY(qreal y);
55
56 //---------- LinkWidget Interface methods implemementation from now on.
57
58 virtual void lwSetFont (QFont font);
59 virtual UMLClassifier *operationOwner();
60
61 virtual UMLOperation *operation();
62 virtual void setOperation(UMLOperation *op);
63
64 virtual QString customOpText();
65 virtual void setCustomOpText(const QString &opText);
66
67 virtual void setMessageText(FloatingTextWidget *ft);
68 virtual void setText(FloatingTextWidget *ft, const QString &newText);
69
70 virtual QString lwOperationText();
71 virtual UMLClassifier *lwClassifier();
72 virtual void setOperationText(const QString &op);
73
74 virtual void constrainTextPos(qreal &textX, qreal &textY, qreal textWidth, qreal textHeight,
75 Uml::TextRole::Enum tr);
76
77 //---------- End LinkWidget Interface methods implemementation.
78
80 Uml::SequenceMessage::Enum sequenceMessageType() const {
81 return m_sequenceMessageType;
82 }
83
84 bool hasObjectWidget(ObjectWidget * w);
85
86 ObjectWidget* objectWidget(Uml::RoleType::Enum role);
87 void setObjectWidget(ObjectWidget * ow, Uml::RoleType::Enum role) ;
88
89 bool isSelf() const;
90
96 FloatingTextWidget * floatingTextWidget() {
97 return m_pFText;
98 }
99
105 void setFloatingTextWidget(FloatingTextWidget * f) {
106 m_pFText = f;
107 }
108
109 void calculateWidget();
110
111 virtual bool activate(IDChangeLog * Log = 0);
112 void resolveObjectWidget(IDChangeLog* log);
113
114 void calculateDimensions();
115 void calculateDimensionsSynchronous();
116 void calculateDimensionsAsynchronous();
117 void calculateDimensionsCreation();
118 void calculateDimensionsDestroy();
119 void calculateDimensionsLost();
120 void calculateDimensionsFound();
121
122 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
123
124 void setTextPosition();
125
126 void cleanup();
127
128 void setSelected(bool _select);
129
130 int getMinY();
131 int getMaxY();
132
133 virtual QSizeF minimumSize() const;
134
135 UMLWidget* onWidget(const QPointF& p);
136
137 virtual void resizeWidget(qreal newW, qreal newH);
138
139 virtual void saveToXMI1(QDomDocument & qDoc, QDomElement & qElement);
140 virtual bool loadFromXMI1(QDomElement & qElement);
141
142 void setxclicked(int xclick);
143 void setyclicked(int yclick);
144
148 int getxclicked() const {
149 return m_xclicked;
150 }
151
152 virtual bool showPropertiesDialog();
153
154 protected:
155 virtual void moveWidgetBy(qreal diffX, qreal diffY);
156 virtual void constrainMovementForAllWidgets(qreal &diffX, qreal &diffY);
157
158 virtual QCursor resizeCursor() const;
159
160 void setLinkAndTextPos();
161
162 int constrainX(int textX, int textWidth, Uml::TextRole::Enum tr);
163
164 static void paintArrow(QPainter *p, int x, int y, int w,
165 Qt::ArrowType direction, bool useDottedLine = false);
166 static void paintSolidArrowhead(QPainter *p, int x, int y, Qt::ArrowType direction);
167
168 void updateResizability();
169
170 void paintSynchronous(QPainter *painter, const QStyleOptionGraphicsItem *option);
171 void paintAsynchronous(QPainter *painter, const QStyleOptionGraphicsItem *option);
172 void paintCreation(QPainter *painter, const QStyleOptionGraphicsItem *option);
173 void paintDestroy(QPainter *painter, const QStyleOptionGraphicsItem *option);
174 void paintLost(QPainter *painter, const QStyleOptionGraphicsItem *option);
175 void paintFound(QPainter *painter, const QStyleOptionGraphicsItem *option);
176
177 // Data loaded/saved
178 QString m_CustomOp;
182 Uml::SequenceMessage::Enum m_sequenceMessageType;
183
184 private:
185 void resizeEvent(QResizeEvent *re);
186
187 qreal constrainPositionY(qreal diffY);
188
189 void init();
190
191 QPointer<ObjectWidget> m_pOw[2];
192 FloatingTextWidget * m_pFText;
193
194 int m_xclicked;
195 int m_yclicked;
196
202 Uml::ID::Type m_widgetAId, m_widgetBId, m_textId;
203
204 public slots:
205 void slotWidgetMoved(Uml::ID::Type id);
206 void slotMenuSelection(QAction* action);
207
208 signals:
213 void sigMessageMoved();
214 };
215
216 #endif
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
WidgetBase::asObjectWidget
ObjectWidget * asObjectWidget()
Definition: widgetbase.cpp:1484
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
Uml::ModelType::Enum
Enum
Definition: basictypes.h:41
MessageWidget::getxclicked
int getxclicked() const
Definition: messagewidget.h:148
UMLWidget::height
qreal height() const
Definition: umlwidget.h:114
MessageWidget::paintSynchronous
void paintSynchronous(QPainter *painter, const QStyleOptionGraphicsItem *option)
Definition: messagewidget.cpp:375
MessageWidget::floatingTextWidget
FloatingTextWidget * floatingTextWidget()
Definition: messagewidget.h:96
WidgetBase::onWidget
virtual UMLWidget * onWidget(const QPointF &p)
Definition: widgetbase.cpp:875
MessageWidget::setFloatingTextWidget
void setFloatingTextWidget(FloatingTextWidget *f)
Definition: messagewidget.h:105
x
int x
Definition: cxx11-lambda-functions-and-expressions.h:4
UMLWidget::setFont
virtual void setFont(const QFont &font)
Definition: umlwidget.cpp:1955
Uml::TextRole::Seq_Message
@ Seq_Message
Definition: basictypes.h:183
docwindow.h
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1324
MessageWidget::MessageWidget
MessageWidget(UMLScene *scene, ObjectWidget *a, ObjectWidget *b, int y, Uml::SequenceMessage::Enum sequenceMessageType, Uml::ID::Type id=Uml::ID::None)
Definition: messagewidget.cpp:56
umlview.h
Uml::SequenceMessage::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:767
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
IDChangeLog::findNewID
Uml::ID::Type findNewID(Uml::ID::Type OldID)
Definition: idchangelog.cpp:62
MessageWidget::constrainTextPos
virtual void constrainTextPos(qreal &textX, qreal &textY, qreal textWidth, qreal textHeight, Uml::TextRole::Enum tr)
Definition: messagewidget.cpp:694
MessageWidget::onWidget
UMLWidget * onWidget(const QPointF &p)
Definition: messagewidget.cpp:617
UMLWidget::setPenFromSettings
void setPenFromSettings(QPainter &p)
Definition: umlwidget.cpp:1392
LinkWidget::m_SequenceNumber
QString m_SequenceNumber
Definition: linkwidget.h:120
LinkWidget::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: linkwidget.cpp:111
FloatingTextWidget::setText
void setText(const QString &t)
Definition: floatingtextwidget.cpp:109
UMLWidget::m_ignoreSnapComponentSizeToGrid
bool m_ignoreSnapComponentSizeToGrid
Definition: umlwidget.h:318
MessageWidget::customOpText
virtual QString customOpText()
Definition: messagewidget.cpp:980
MessageWidget::calculateDimensionsFound
void calculateDimensionsFound()
Definition: messagewidget.cpp:1185
WidgetBase::localID
Uml::ID::Type localID() const
Definition: widgetbase.cpp:238
operation.h
DEBUG_REGISTER_DISABLED
#define DEBUG_REGISTER_DISABLED(src)
Definition: debug_utils.h:132
MessageWidget::m_pOw
QPointer< ObjectWidget > m_pOw[2]
Definition: messagewidget.h:191
MessageWidget::resizeCursor
virtual QCursor resizeCursor() const
Definition: messagewidget.cpp:195
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
FloatingTextWidget::textRole
Uml::TextRole::Enum textRole() const
Definition: floatingtextwidget.cpp:344
Uml::RoleType::A
@ A
Definition: basictypes.h:239
UMLScene::backgroundColor
const QColor & backgroundColor() const
Definition: umlscene.cpp:1370
MessageWidget::sigMessageMoved
void sigMessageMoved()
Definition: moc_messagewidget.cpp:159
Uml::SequenceMessage::Lost
@ Lost
Definition: basictypes.h:224
UniqueID::init
void init()
Definition: uniqueid.cpp:37
LinkWidget::operationText
QString operationText(UMLScene *scene=0)
Definition: linkwidget.cpp:50
MessageWidget::paintArrow
static void paintArrow(QPainter *p, int x, int y, int w, Qt::ArrowType direction, bool useDottedLine=false)
Definition: messagewidget.cpp:346
UMLWidget::cleanup
virtual void cleanup()
Definition: umlwidget.cpp:1706
MessageWidgetPropertiesDialog
Definition: messagewidgetpropertiesdialog.h:24
MessageWidget::setCustomOpText
virtual void setCustomOpText(const QString &opText)
Definition: messagewidget.cpp:989
MessageWidget::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: messagewidget.cpp:1404
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition: basictypes.h:165
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1263
FloatingTextWidget::displayText
QString displayText() const
Definition: floatingtextwidget.cpp:162
MessageWidget::setLinkAndTextPos
void setLinkAndTextPos()
Definition: messagewidget.cpp:712
DocWindow::updateDocumentation
void updateDocumentation(bool clear=false, bool startup=false)
Definition: docwindow.cpp:273
UMLOperation::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false)
Definition: operation.cpp:205
MessageWidget::setOperation
virtual void setOperation(UMLOperation *op)
Definition: messagewidget.cpp:965
MessageWidget::lwOperationText
virtual QString lwOperationText()
Definition: messagewidget.cpp:999
MessageWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: messagewidget.cpp:784
MessageWidget::paintFound
void paintFound(QPainter *painter, const QStyleOptionGraphicsItem *option)
Definition: messagewidget.cpp:571
UMLScene::resetPastePoint
void resetPastePoint()
Definition: umlscene.cpp:3402
MessageWidget::resizeEvent
void resizeEvent(QResizeEvent *re)
Definition: messagewidget.cpp:720
FloatingTextWidget::setSequenceNumber
void setSequenceNumber(const QString &sequenceNumber)
Definition: floatingtextwidget.cpp:442
MessageWidget::moveWidgetBy
virtual void moveWidgetBy(qreal diffX, qreal diffY)
Definition: messagewidget.cpp:272
MessageWidget::minimumSize
virtual QSizeF minimumSize() const
Definition: messagewidget.cpp:1289
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
Uml::SequenceMessage::Synchronous
@ Synchronous
Definition: basictypes.h:221
MessageWidget::paintDestroy
void paintDestroy(QPainter *painter, const QStyleOptionGraphicsItem *option)
Definition: messagewidget.cpp:524
MessageWidget::calculateDimensionsAsynchronous
void calculateDimensionsAsynchronous()
Definition: messagewidget.cpp:1085
MessageWidget::constrainX
int constrainX(int textX, int textWidth, Uml::TextRole::Enum tr)
Definition: messagewidget.cpp:662
MessageWidget::setY
virtual void setY(qreal y)
Definition: messagewidget.cpp:157
MessageWidget::init
void init()
Definition: messagewidget.cpp:132
MessageWidget::m_xclicked
int m_xclicked
Definition: messagewidget.h:194
MessageWidget::setObjectWidget
void setObjectWidget(ObjectWidget *ow, Uml::RoleType::Enum role)
Definition: messagewidget.cpp:1315
MessageWidget::constrainMovementForAllWidgets
virtual void constrainMovementForAllWidgets(qreal &diffX, qreal &diffY)
Definition: messagewidget.cpp:288
FloatingTextWidget::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: floatingtextwidget.cpp:649
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
MessageWidget::updateResizability
void updateResizability()
Definition: messagewidget.cpp:180
MessageWidget::operation
virtual UMLOperation * operation()
Definition: messagewidget.cpp:956
MessageWidget::getMaxY
int getMaxY()
Definition: messagewidget.cpp:1273
MessageWidget::isSelf
bool isSelf() const
Definition: messagewidget.cpp:778
MessageWidget::m_widgetAId
Uml::ID::Type m_widgetAId
Definition: messagewidget.h:202
floatingtextwidget.h
MessageWidget::resizeWidget
virtual void resizeWidget(qreal newW, qreal newH)
Definition: messagewidget.cpp:208
UMLWidget::setActivated
void setActivated(bool active=true)
Definition: umlwidget.cpp:1266
MessageWidget::calculateDimensionsSynchronous
void calculateDimensionsSynchronous()
Definition: messagewidget.cpp:1051
Uml::SequenceMessage::Creation
@ Creation
Definition: basictypes.h:223
MessageWidget::setSelected
void setSelected(bool _select)
Definition: messagewidget.cpp:1233
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1268
WidgetBase::font
virtual QFont font() const
Definition: widgetbase.cpp:543
Uml::TextRole::Enum
Enum
Definition: basictypes.h:178
IDChangeLog
Definition: idchangelog.h:27
WidgetBase::fillColor
QColor fillColor() const
Definition: widgetbase.cpp:377
UMLWidget::sigWidgetMoved
void sigWidgetMoved(Uml::ID::Type id)
Definition: moc_umlwidget.cpp:176
MessageWidget::hasObjectWidget
bool hasObjectWidget(ObjectWidget *w)
Definition: messagewidget.cpp:763
UMLWidget::setX
virtual void setX(qreal x)
Definition: umlwidget.cpp:1685
MessageWidget::slotWidgetMoved
void slotWidgetMoved(Uml::ID::Type id)
Definition: messagewidget.cpp:734
MessageWidget::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: messagewidget.cpp:1372
uniqueid.h
UMLWidget::setSelected
virtual void setSelected(bool _select)
Definition: umlwidget.cpp:1573
MessageWidget::setxclicked
void setxclicked(int xclick)
Definition: messagewidget.cpp:1334
MessageWidget::paintSolidArrowhead
static void paintSolidArrowhead(QPainter *p, int x, int y, Qt::ArrowType direction)
Definition: messagewidget.cpp:328
UMLApp::docWindow
DocWindow * docWindow() const
Definition: uml.cpp:1895
MessageWidget::operationOwner
virtual UMLClassifier * operationOwner()
Definition: messagewidget.cpp:943
UMLClassifier::findChildObjectById
virtual UMLObject * findChildObjectById(Uml::ID::Type id, bool considerAncestors=false)
Definition: classifier.cpp:546
FloatingTextWidget::setMessageText
void setMessageText()
Definition: floatingtextwidget.cpp:783
UMLScene::selectedCount
int selectedCount(bool filterText=false) const
Definition: umlscene.cpp:2005
MessageWidget::paintLost
void paintLost(QPainter *painter, const QStyleOptionGraphicsItem *option)
Definition: messagewidget.cpp:533
objectwidget.h
a
QString a
Definition: petalnode.cpp:18
UMLWidget::m_ignoreSnapToGrid
bool m_ignoreSnapToGrid
Definition: umlwidget.h:317
umlwidget.h
uWarning
#define uWarning()
Definition: debug_utils.h:124
Dialog_Utils::askDeleteAssociation
bool askDeleteAssociation()
Definition: dialog_utils.cpp:114
Uml::SequenceMessage::Destroy
@ Destroy
Definition: basictypes.h:226
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
MessageWidget::paint
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: messagewidget.cpp:298
messagewidget.h
ObjectWidget::centerX
qreal centerX()
Definition: objectwidget.cpp:287
Uml::TextRole::Seq_Message_Self
@ Seq_Message_Self
Definition: basictypes.h:184
MessageWidget::calculateDimensionsCreation
void calculateDimensionsCreation()
Definition: messagewidget.cpp:1121
MessageWidget::m_widgetBId
Uml::ID::Type m_widgetBId
Definition: messagewidget.h:202
MessageWidget::getMinY
int getMinY()
Definition: messagewidget.cpp:1251
int
int int y int
Definition: cxx11-lambda-functions-and-expressions.h:4
FloatingTextWidget
Displays a line of text or an operation.
Definition: floatingtextwidget.h:37
MessageWidget::paintAsynchronous
void paintAsynchronous(QPainter *painter, const QStyleOptionGraphicsItem *option)
Definition: messagewidget.cpp:443
Uml::RoleType::B
@ B
Definition: basictypes.h:240
MessageWidget::setyclicked
void setyclicked(int yclick)
Definition: messagewidget.cpp:1342
WidgetBase::m_scene
UMLScene * m_scene
Definition: widgetbase.h:316
UMLWidget::setFontCmd
void setFontCmd(const QFont &font)
Definition: umlwidget.cpp:1970
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
MessageWidget::m_sequenceMessageType
Uml::SequenceMessage::Enum m_sequenceMessageType
Definition: messagewidget.h:182
circleWidth
static const int circleWidth
Definition: messagewidget.cpp:41
MessageWidget::objectWidget
ObjectWidget * objectWidget(Uml::RoleType::Enum role)
Definition: messagewidget.cpp:1326
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
WidgetBase::useFillColor
bool useFillColor()
Definition: widgetbase.cpp:419
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3136
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition: widgetbase.h:105
LinkWidget
Interface to FloatingTextWidget for AssociationWidget and MessageWidget.
Definition: linkwidget.h:36
UMLScene::findWidget
UMLWidget * findWidget(Uml::ID::Type id)
Definition: umlscene.cpp:1184
Uml
Definition: basictypes.cpp:37
MessageWidget::m_textId
Uml::ID::Type m_textId
Definition: messagewidget.h:202
UMLWidget::setY
virtual void setY(qreal y)
Definition: umlwidget.cpp:1697
LinkWidget::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: linkwidget.cpp:120
UMLWidget::adjustAssocs
virtual void adjustAssocs(qreal dx, qreal dy)
Definition: umlwidget.cpp:1310
Uml::SequenceMessage::Asynchronous
@ Asynchronous
Definition: basictypes.h:222
UMLScene::addFloatingTextWidget
void addFloatingTextWidget(FloatingTextWidget *pWidget)
Definition: umlscene.cpp:2063
MessageWidget::m_CustomOp
QString m_CustomOp
Definition: messagewidget.h:178
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
DocWindow::showDocumentation
void showDocumentation(UMLObject *object, bool overwrite=false)
Definition: docwindow.cpp:130
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
WidgetBase::lineColor
QColor lineColor() const
Definition: widgetbase.cpp:356
classifier.h
ObjectWidget
Displays an instance of a Concept.
Definition: objectwidget.h:33
UMLScene::removeWidgetCmd
void removeWidgetCmd(UMLWidget *o)
Definition: umlscene.cpp:1309
uError
#define uError()
Definition: debug_utils.h:123
UMLOperation
Definition: operation.h:25
MessageWidget::setText
virtual void setText(FloatingTextWidget *ft, const QString &newText)
Definition: messagewidget.cpp:912
uml.h
UMLWidget::setSize
void setSize(qreal width, qreal height)
Definition: umlwidget.cpp:1745
MessageWidget::constrainPositionY
qreal constrainPositionY(qreal diffY)
Definition: messagewidget.cpp:241
MessageWidget::lwClassifier
virtual UMLClassifier * lwClassifier()
Definition: messagewidget.cpp:1013
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
UMLScene
Definition: umlscene.h:69
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
MessageWidget::paintCreation
void paintCreation(QPainter *painter, const QStyleOptionGraphicsItem *option)
Definition: messagewidget.cpp:493
MessageWidget::setTextPosition
void setTextPosition()
Definition: messagewidget.cpp:642
UMLWidget::updateGeometry
void updateGeometry(bool withAssocs=true)
Definition: umlwidget.cpp:1781
messagewidgetpropertiesdialog.h
Model_Utils::newText
QString newText(UMLObject::ObjectType type)
Definition: model_utils.cpp:620
MessageWidget::m_yclicked
int m_yclicked
Definition: messagewidget.h:195
MessageWidget::activate
virtual bool activate(IDChangeLog *Log=0)
Definition: messagewidget.cpp:802
UMLWidget::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umlwidget.cpp:2045
listpopupmenu.h
Uml::SequenceMessage::Enum
Enum
Definition: basictypes.h:219
UMLScene::removeWidget
void removeWidget(UMLWidget *o)
Definition: umlscene.cpp:1289
idchangelog.h
MessageWidget::setOperationText
virtual void setOperationText(const QString &op)
Definition: messagewidget.cpp:924
b
bool b
Definition: cxx11-null-pointer-constant.h:6
MessageWidget::showPropertiesDialog
virtual bool showPropertiesDialog()
Definition: messagewidget.cpp:1350
MessageWidget::calculateDimensionsDestroy
void calculateDimensionsDestroy()
Definition: messagewidget.cpp:1152
MessageWidget::calculateWidget
void calculateWidget()
Definition: messagewidget.cpp:727
MessageWidget::calculateDimensions
void calculateDimensions()
Definition: messagewidget.cpp:1026
dialog_utils.h
MessageWidget::lwSetFont
virtual void lwSetFont(QFont font)
Definition: messagewidget.cpp:933
MessageWidget::~MessageWidget
virtual ~MessageWidget()
Definition: messagewidget.cpp:145
linkwidget.h
MessageWidget::resolveObjectWidget
void resolveObjectWidget(IDChangeLog *log)
Definition: messagewidget.cpp:885
MessageWidget::sequenceMessageType
Uml::SequenceMessage::Enum sequenceMessageType() const
Definition: messagewidget.h:80
MessageWidget::cleanup
void cleanup()
Definition: messagewidget.cpp:1210
FloatingTextWidget::text
QString text() const
Definition: floatingtextwidget.cpp:88
UMLWidget::width
qreal width() const
Definition: umlwidget.h:121
MessageWidget
Displays a message.
Definition: messagewidget.h:41
FloatingTextWidget::setLink
void setLink(LinkWidget *l)
Definition: floatingtextwidget.cpp:315
WidgetBase::m_umlObject
QPointer< UMLObject > m_umlObject
Definition: widgetbase.h:317
UMLWidget::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: umlwidget.cpp:2067
UMLWidget::slotMenuSelection
virtual void slotMenuSelection(QAction *action)
Definition: umlwidget.cpp:768
MessageWidget::calculateDimensionsLost
void calculateDimensionsLost()
Definition: messagewidget.cpp:1160
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
umldoc.h
WidgetBase::id
Uml::ID::Type id() const
Definition: widgetbase.cpp:214
Uml::SequenceMessage::Found
@ Found
Definition: basictypes.h:225
MessageWidget::m_pFText
FloatingTextWidget * m_pFText
Definition: messagewidget.h:192
MessageWidget::setMessageText
virtual void setMessageText(FloatingTextWidget *ft)
Definition: messagewidget.cpp:896
FloatingTextWidget::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: floatingtextwidget.cpp:676
Uml::RoleType::Enum
Enum
Definition: basictypes.h:238
UMLWidget::paint
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: umlwidget.cpp:1869
UMLWidget::m_resizable
bool m_resizable
Definition: umlwidget.h:306