DiagramElementShape Class Reference

#include <diagramelementshape.h>

Inheritance diagram for DiagramElementShape:

AbstractDiagramElementAttribute AbstractElementAttribute DomAccessibleState List of all members.

Public Types

enum  Type {
  Circle = 0, Oval = 1, Square = 2, Rectangle = 3,
  UprightTriangle = 4, Diamond = 5
}

Public Member Functions

 DiagramElementShape (AbstractElement *parent, Type shape=Circle)
 DECLARE_CLASS_TYPE (MvcDiagram::DEA_Shape)
 DECLARE_CLASS_KEY ("shape")
 DECLARE_CLASS_TITLE ("Shape")
Type shape () const
void setShape (Type shape)

Protected Member Functions

QString worker_toString () const
bool worker_setData (const QString &data)
QVariant worker_toVariant () const
bool worker_setData (const QVariant &data)

Detailed Description

This is a rectition attribute that can be added to an AbstractDiagramElement.


Member Enumeration Documentation

enum DiagramElementShape::Type

Enumerator:
Circle 
Oval 
Square 
Rectangle 
UprightTriangle 
Diamond 


Constructor & Destructor Documentation

DiagramElementShape::DiagramElementShape ( AbstractElement parent,
Type  shape = Circle 
)


Member Function Documentation

DiagramElementShape::DECLARE_CLASS_TYPE ( MvcDiagram::DEA_Shape   ) 

DiagramElementShape::DECLARE_CLASS_KEY ( "shape"   ) 

DiagramElementShape::DECLARE_CLASS_TITLE ( "Shape"   ) 

Type DiagramElementShape::shape (  )  const [inline]

void DiagramElementShape::setShape ( Type  shape  )  [inline]

QString DiagramElementShape::worker_toString (  )  const [protected, virtual]

Called and made thread-safe by toString().

Implements AbstractElementAttribute.

bool DiagramElementShape::worker_setData ( const QString &  data  )  [protected, virtual]

Called and made thread-safe by setData(const QString&).

Implements AbstractElementAttribute.

QVariant DiagramElementShape::worker_toVariant (  )  const [protected, virtual]

Called and made thread-safe by toVariant().

Implements AbstractElementAttribute.

bool DiagramElementShape::worker_setData ( const QVariant &  data  )  [protected, virtual]

Called and made thread-safe by setData(const QVariant&).

Implements AbstractElementAttribute.


The documentation for this class was generated from the following files:
Generated on Mon Jul 30 09:46:52 2007 for Digest by  doxygen 1.5.2