class UseCaseWidget

A graphical version of a UML UseCase. More...

Definition#include <./usecasewidget.h>
InheritsUMLWidget [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

This class is the graphical version of a UML UseCase. A UseCaseWidget is created by a UMLView. An UseCaseWidget belongs to only one UMLView instance. When the UMLView instance that this class belongs to, it will be automatically deleted.

If the UseCase class that this UseCaseWidget is displaying is deleted, the UMLView will make sure that this instance is also deleted.

The UseCaseWidget class inherits from the UMLWidget class which adds most of the functionality to this class.

 UseCaseWidget (UMLView * view, UMLObject *o, UMLWidgetData* pData)

UseCaseWidget

Creates a UseCase widget.

Parameters:
viewThe parent of the widget.
pDataThe UMLWidgetData to represent.

 UseCaseWidget (UMLView * view, UMLObject *o)

UseCaseWidget

Creates a UseCase widget.

Parameters:
viewThe parent of the widget.
oThe UMLObject to represent.

 UseCaseWidget (UMLView * view)

UseCaseWidget

Creates a UseCase widget.

Parameters:
viewThe parent of the widget.

 ~UseCaseWidget ()

~UseCaseWidget

Standard deconstructor

void  SynchronizeData ()

SynchronizeData

[virtual]

Synchronize the Widget's m_pData member with its display properties, for example: the X and Y positions of the widget, etc

Reimplemented from UMLWidget.

void  draw (QPainter & p, int offsetX, int offsetY)

draw

Overrides the standard paint event.

Reimplemented from UMLWidget.

void  calculateSize ()

calculateSize

[protected]

Calculates the size of the widget.

Reimplemented from UMLWidget.