umbrello/umbrello
widget_factory.cpp
Go to the documentation of this file.
121 if (diagramType == Uml::DiagramType::Sequence || diagramType == Uml::DiagramType::Collaboration) {
130 if (diagramType == Uml::DiagramType::Component || diagramType == Uml::DiagramType::Deployment) {
208 } else if (tag == QLatin1String("floatingtext") || tag == QLatin1String("UML:FloatingTextWidget")) {
210 } else if (tag == QLatin1String("activitywidget") || tag == QLatin1String("UML:ActivityWidget")) {
249 } else if (tag == QLatin1String("usecasewidget") || tag == QLatin1String("UML:UseCaseWidget")) {
This class is the graphical version of a UML Object Node.
Definition: objectnodewidget.h:28
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
Definition: umlobject.h:63
void setDrawAsCircle(bool drawAsCircle)
Sets whether to draw as circle.
Definition: classifierwidget.cpp:1040
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
Definition: activitywidget.h:40
Definition: signalwidget.h:35
Displays a note box to allow multiple lines of text to be displayed.
Definition: notewidget.h:30
A graphical version of a UML Precondition (new in UML 2.0).
Definition: preconditionwidget.h:32
Definition: umlobject.h:56
Definition: umlobject.h:52
Represents a Send signal, Accept signal or Time event on an Activity diagram.
Definition: signalwidget.h:27
Definition: basictypes.h:84
Definition: basictypes.h:80
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:910
Definition: basictypes.h:156
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Creates a UMLObject of the given type.
Definition: object_factory.cpp:192
static QString toString(ObjectType ot)
Helper function for debug output.
Definition: umlobject.cpp:1079
Definition: basictypes.h:79
qreal x() const
qreal y() const
Definition: basictypes.h:83
bool validateObjType(UMLObject::ObjectType expected, UMLObject *&o, Uml::ID::Type id)
Definition: widget_factory.cpp:167
Definition: umlobject.h:70
This class is used to draw dash lines for UML combined fragments.
Definition: floatingdashlinewidget.h:33
Definition: umlobject.h:75
Definition: umlobject.h:68
UMLWidget * makeWidgetFromXMI(const QString &tag, const QString &idStr, UMLScene *scene)
Create a UMLWidget according to the given XMI tag.
Definition: widget_factory.cpp:193
Definition: objectnodewidget.h:35
This class is the graphical version of a UML Activity.
Definition: activitywidget.h:33
Definition: umlobject.h:76
Definition: umlobject.h:54
Definition: umlobject.h:51
UMLObject * findObjectById(Uml::ID::Type id)
Used to find a reference to a UMLObject by its ID.
Definition: umldoc.cpp:782
Definition: umlobject.h:64
Definition: notewidget.h:38
void attachToOwner()
Align this widget's position such that it is attached at one of the sides of its owner's widget...
Definition: pinportbase.cpp:155
UMLPackage * umlPackage()
Returns the UMLPackage that this class is located in.
Definition: umlobject.cpp:639
UMLWidget * createWidget(UMLScene *scene, UMLObject *o)
Create a UMLWidget in the given view and representing the given document object.
Definition: widget_factory.cpp:68
Uml::DiagramType::Enum diagramType(QString objType)
Definition: petaltree2uml.cpp:546
Definition: basictypes.h:77
Definition: umlobject.h:57
Definition: statewidget.h:47
This class is the graphical version of a UML combined fragment.
Definition: combinedfragmentwidget.h:36
Definition: umlobject.h:53
virtual void setID(Uml::ID::Type NewID)
Assigns a new Id to the object.
Definition: umlobject.cpp:158
void setDrawAsActor(bool drawAsActor)
Sets whether to draw as an Actor.
Definition: objectwidget.cpp:236
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:32
Definition: umlobject.h:55
Definition: umlobject.h:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.