umbrello
2.34.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
6 #ifndef MESSAGEWIDGET_H
7 #define MESSAGEWIDGET_H
49 virtual void setY(qreal y);
69 virtual void constrainTextPos(qreal &textX, qreal &textY, qreal textWidth, qreal textHeight,
117 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
134 virtual void saveToXMI(QXmlStreamWriter& writer);
159 static void paintArrow(QPainter *p,
int x,
int y,
int w,
160 Qt::ArrowType direction,
bool useDottedLine =
false);
165 void paintSynchronous(QPainter *painter,
const QStyleOptionGraphicsItem *option);
166 void paintAsynchronous(QPainter *painter,
const QStyleOptionGraphicsItem *option);
167 void paintCreation(QPainter *painter,
const QStyleOptionGraphicsItem *option);
168 void paintDestroy(QPainter *painter,
const QStyleOptionGraphicsItem *option);
169 void paintLost(QPainter *painter,
const QStyleOptionGraphicsItem *option);
170 void paintFound(QPainter *painter,
const QStyleOptionGraphicsItem *option);
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:421
GNU GENERAL PUBLIC LICENSE June Free Software Inc Franklin Fifth USA Everyone is permitted to copy and distribute verbatim copies of this license document
Definition: GPL-2.0-only.txt:8
Enum
Definition: basictypes.h:27
int x
Definition: cxx11-lambda-functions-and-expressions.h:4
@ Seq_Message
Definition: basictypes.h:181
Enum fromInt(int item)
Definition: basictypes.cpp:755
Uml::ID::Type findNewID(Uml::ID::Type OldID)
Definition: idchangelog.cpp:57
UMLView * activeView() const
Definition: umlscene.cpp:354
void setText(const QString &t)
Definition: floatingtextwidget.cpp:105
#define DEBUG_REGISTER_DISABLED(src)
Definition: debug_utils.h:135
#define DEBUG()
Definition: debug_utils.h:127
const Type None
special value for uninitialized ID
Definition: basictypes.h:373
Uml::TextRole::Enum textRole() const
Definition: floatingtextwidget.cpp:340
@ A
Definition: basictypes.h:237
const QColor & backgroundColor() const
Definition: umlscene.cpp:1382
@ Lost
Definition: basictypes.h:222
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false) const
Definition: operation.cpp:205
#define logError0(s)
Definition: uml.h:537
void init()
Definition: uniqueid.cpp:32
@ SigNoVis
Definition: basictypes.h:163
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1306
QString displayText() const
Definition: floatingtextwidget.cpp:158
#define logError1(s, a)
Definition: uml.h:543
void updateDocumentation(bool clear=false, bool startup=false)
Definition: docwindow.cpp:268
void resetPastePoint()
Definition: umlscene.cpp:3435
void setSequenceNumber(const QString &sequenceNumber)
Definition: floatingtextwidget.cpp:438
std::string Type
Definition: basictypes.h:371
@ Synchronous
Definition: basictypes.h:219
The base class for UML objects.
Definition: umlobject.h:69
@ Creation
Definition: basictypes.h:221
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1311
Enum
Definition: basictypes.h:176
Definition: idchangelog.h:21
DocWindow * docWindow() const
Definition: uml.cpp:1919
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Library General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: LGPL-2.0-only.txt:368
void setMessageText()
Definition: floatingtextwidget.cpp:779
int selectedCount(bool filterText=false) const
Definition: umlscene.cpp:2031
QString a
Definition: petalnode.cpp:13
bool askDeleteAssociation()
Definition: dialog_utils.cpp:209
@ Destroy
Definition: basictypes.h:224
@ Seq_Message_Self
Definition: basictypes.h:182
int int y int
Definition: cxx11-lambda-functions-and-expressions.h:4
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1420
Displays a line of text or an operation.
Definition: floatingtextwidget.h:31
@ B
Definition: basictypes.h:238
connect()
Definition: namespaces-multiple.php:5
#define logWarn1(s, a)
Definition: uml.h:542
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
static UMLApp * app()
Definition: uml.cpp:276
void setModified(bool modified=true)
Definition: umldoc.cpp:3147
UMLWidget * findWidget(Uml::ID::Type id)
Definition: umlscene.cpp:1196
Definition: basictypes.cpp:22
@ Asynchronous
Definition: basictypes.h:220
void addFloatingTextWidget(FloatingTextWidget *pWidget)
Definition: umlscene.cpp:2089
void showDocumentation(UMLObject *object, bool overwrite=false)
Definition: docwindow.cpp:125
void removeWidgetCmd(UMLWidget *o)
Definition: umlscene.cpp:1321
Definition: operation.h:19
virtual bool loadFromXMI(QDomElement &qElement)
Definition: floatingtextwidget.cpp:645
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
Definition: umlscene.h:64
QString newText(UMLObject::ObjectType type)
Definition: model_utils.cpp:648
Enum
Definition: basictypes.h:217
void removeWidget(UMLWidget *o)
Definition: umlscene.cpp:1301
bool b
Definition: cxx11-null-pointer-constant.h:6
QString text() const
Definition: floatingtextwidget.cpp:84
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: floatingtextwidget.cpp:672
void setLink(LinkWidget *l)
Definition: floatingtextwidget.cpp:311
UMLDoc * document() const
Definition: uml.cpp:1063
@ Found
Definition: basictypes.h:223
Enum
Definition: basictypes.h:236