class ConceptWidget

A graphical version of a Concept/Class. More...

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

Public Methods

Public Slots


Detailed Description

Defines a graphical version of the Concept/Class. Most of the functionality will come from the UMLWidget class from which class inherits from.

See also: UMLWidget

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

ConceptWidget

Constructs a ConceptWidget.

Parameters:
viewThe parent of this ConceptWidget.
pDataThe ConceptWidgetData to represent.

 ConceptWidget (UMLView * view, UMLObject *o)

ConceptWidget

Constructs a ConceptWidget.

Parameters:
viewThe parent of this ConceptWidget.
oThe UMLObject is will be representing.

 ConceptWidget (UMLView * view)

ConceptWidget

Constructs a ConceptWidget.

Parameters:
viewThe parent of this ConceptWidget.

 ~ConceptWidget ()

~ConceptWidget

Standard deconstructor.

void  init ()

init

Initializes key variables of the class.

Reimplemented from UMLWidget.

bool  getShowAtts ()

getShowAtts

Returns the status of showing attributes.

Returns: Returns the status of showing attributes.

bool  getShowOps ()

getShowOps

Return the status of showing operations.

Returns: Return the status of showing operations.

Uml::Signature_Type  getShowOpSigs ()

getShowOpSigs

Return the status of showing operation signatures.

Returns: Returns the status of showing operation signatures.

Uml::Signature_Type  getShowAttSigs ()

getShowAttSigs

Returns the status of showing attribute signatures.

Returns: Returns the status of showing attribute signatures.

bool  getShowScope ()

getShowScope

Returns the status of whether to show scope.

Returns: Returns the status of whether to show scope.

void  setShowScope (bool _scope)

setShowScope

Set the status of whether to show scope

Parameters:
_scopeStatus to whether to show scope.

void  setShowAtts (bool _show)

setShowAtts

Set the status of whether to show Attributes

Parameters:
_showThe status of whether to show Attributes

void  setShowAttSigs (bool _show)

setShowAttSigs

Set the status of whether to show Attribute signature

Parameters:
_showThe status of whether to show Attribute signature

void  setShowOpSigs (bool _show)

setShowOpSigs

Set the status of whether to show Operation signature

Parameters:
_showThe status of whether to show Operation signature

void  setShowOps (bool _show)

setShowOps

Set the status of whether to show Operations

Parameters:
_showThe status of whether to show Operations

void  setOpSignature (Uml::Signature_Type sig)

setOpSignature

Set the type of signature to display for an Operation

Parameters:
sigthe type of signature to display for an Operation

void  setAttSignature (Uml::Signature_Type sig)

setAttSignature

Set the type of signature to display for an Attribute

Parameters:
sigthe type of signature to display for an Attribute

bool  getShowStereotype ()

getShowStereotype

Returns the status of whether to show StereoType.

Returns: Returns the status of whether to show StereoType.

bool  getShowPackage ()

getShowPackage

Returns the status of whether to show Package.

Returns: Returns the status of whether to show Package.

void  setShowStereotype (bool _status)

setShowStereotype

Set the status of whether to show StereoType

Parameters:
_showThe status of whether to show StereoType

void  setShowPackage (bool _status)

setShowPackage

Set the status of whether to show Package

Parameters:
_showThe status of whether to show Package

bool  Activate (IDChangeLog* ChangeLog = 0 )

Activate

[virtual]

Activate the object after serializing it from a QDataStream

Reimplemented from UMLWidget.

void  SynchronizeData ()

SynchronizeData

[virtual]

Synchronizes 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 standards method

Reimplemented from UMLWidget.

void  slotMenuSelection (int sel)

slotMenuSelection

[slot]

Will be called when a menu selection has been made from the popup menu.

Parameters:
selThe selection id that has been selected.

Reimplemented from UMLWidget.