• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

ArtifactWidget Class Reference

Defines a graphical version of the Artifact. More...

#include <artifactwidget.h>

Inheritance diagram for ArtifactWidget:

Inheritance graph
[legend]

List of all members.


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.

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

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]

destructor

Definition at line 37 of file artifactwidget.cpp.


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]

Overrides standard method.

Implements UMLWidget.

Definition at line 182 of file artifactwidget.cpp.

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:
  • artifactwidget.h
  • artifactwidget.cpp

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal