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

Public Member Functions | |
| ArtifactWidget (UMLView *view, UMLArtifact *a) | |
| void | draw (QPainter &p, int offsetX, int offsetY) |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| virtual | ~ArtifactWidget () |
Protected Member Functions | |
| QSize | calculateSize () |
Detailed Description
Defines a graphical version of the Artifact.Most of the functionality will come from the UMLArtifact class.
A graphical version of a Artifact.
- 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
| ArtifactWidget::ArtifactWidget | ( | UMLView * | view, | |
| UMLArtifact * | a | |||
| ) |
Constructs a ArtifactWidget.
- Parameters:
-
view The parent of this ArtifactWidget. a The Artifact this widget will be representing.
Definition at line 25 of file artifactwidget.cpp.
| ArtifactWidget::~ArtifactWidget | ( | ) | [virtual] |
Member Function Documentation
| QSize ArtifactWidget::calculateSize | ( | ) | [protected, virtual] |
Overrides method from UMLWidget.
Reimplemented from UMLWidget.
Definition at line 242 of file artifactwidget.cpp.
| void ArtifactWidget::draw | ( | QPainter & | p, | |
| int | offsetX, | |||
| int | offsetY | |||
| ) | [virtual] |
| void ArtifactWidget::saveToXMI | ( | QDomDocument & | qDoc, | |
| QDomElement & | qElement | |||
| ) | [virtual] |
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.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference