GraphicPolygon Class Reference

#include <graphic_items.h>

Inheritance diagram for GraphicPolygon:

Inheritance graph
[legend]
Collaboration diagram for GraphicPolygon:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool init ()
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0)
QRectF boundingRect () const
QGraphicsItem * graphicsItem ()
void setPolygon (const QPolygon &polygon)
QPolygon polygon () const
void addPoint (const QPoint &)

Properties

QPolygon polygon []

Private Attributes

QPolygon m_polygon

Member Function Documentation

void GraphicPolygon::addPoint ( const QPoint &   ) 

QRectF GraphicPolygon::boundingRect (  )  const

QGraphicsItem* GraphicPolygon::graphicsItem (  )  [inline, virtual]

Implements PluginInterface.

bool GraphicPolygon::init (  )  [virtual]

Reimplemented from GraphicStandardItem.

void GraphicPolygon::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *  widget = 0 
)

QPolygon GraphicPolygon::polygon (  )  const [inline]

void GraphicPolygon::setPolygon ( const QPolygon &  polygon  )  [inline]


Member Data Documentation

QPolygon GraphicPolygon::m_polygon [private]


Property Documentation

QPolygon GraphicPolygon::polygon [read, write]


The documentation for this class was generated from the following files:
Generated on Thu Apr 5 13:12:38 2007 for LCDBuilder by  doxygen 1.4.7