ArtifactWidget Class Reference
Defines a graphical version of the Artifact. A graphical version of a Artifact. More...
#include <artifactwidget.h>
Inheritance diagram for ArtifactWidget:

Public Member Functions | |
| ArtifactWidget (UMLView *view, UMLArtifact *a) | |
| Constructs a ArtifactWidget. | |
| virtual | ~ArtifactWidget () |
| destructor | |
| void | draw (QPainter &p, int offsetX, int offsetY) |
| Overrides standard method. | |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| Saves the widget to the <artifactwidget> XMI element. | |
Protected Member Functions | |
| QSize | calculateSize () |
| Overrides method from UMLWidget. | |
Detailed Description
Defines a graphical version of the Artifact. A graphical version of a Artifact.Most of the functionality will come from the UMLArtifact class.
- Author:
- Jonathan Riddell
- See also:
- UMLWidget Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 32 of file artifactwidget.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructs a ArtifactWidget.
Definition at line 25 of file artifactwidget.cpp. References UMLWidget::init(), UMLWidget::setSize(), and UMLWidget::updateComponentSize(). |
|
|
destructor
Definition at line 37 of file artifactwidget.cpp. |
Member Function Documentation
|
||||||||||||||||
|
Overrides standard method.
Implements UMLWidget. Definition at line 182 of file artifactwidget.cpp. References UMLArtifact::getDrawAsType(), and UMLWidget::setPen(). |
|
||||||||||||
|
Saves the widget to the <artifactwidget> XMI element. Note: For loading from XMI, the inherited parent method is used. Reimplemented from UMLWidget. Definition at line 254 of file artifactwidget.cpp. |
|
|
Overrides method from UMLWidget.
Reimplemented from UMLWidget. Definition at line 242 of file artifactwidget.cpp. References UMLWidget::calculateSize(), and UMLArtifact::getDrawAsType(). |
The documentation for this class was generated from the following files:
