OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
CircleDrawingStrategy Class Reference

#include <strategies.hh>

Inherits SymbolDrawingStrategy.

Public Member Functions

 CircleDrawingStrategy ()
 
 CircleDrawingStrategy (const SymbolDrawingStrategy &strategy)
 
virtual String GetShape ()
 
- Public Member Functions inherited from SymbolDrawingStrategy
 SymbolDrawingStrategy ()
 
virtual ~SymbolDrawingStrategy ()
 
virtual void Draw (QPainter &pnt, const QPoint &center)
 
virtual void SetPenColor (const QColor &color)
 
virtual QColor GetPenColor () const
 
void SetPen (const QPen &pen)
 
virtual QPen GetPen () const
 
virtual void SetBrush (const QBrush &brush)
 
virtual QBrush GetBrush () const
 
virtual unsigned int GetSymbolSize () const
 
virtual void SetSymbolSize (unsigned int symbolsize)
 
virtual unsigned int GetSymbolStrength () const
 
virtual void SetSymbolStrength (unsigned int s)
 
virtual bool HasCrosshair ()
 

Protected Member Functions

virtual void DrawSymbol (QPainter &pnt, const QPoint &center)
 

Additional Inherited Members

- Protected Attributes inherited from SymbolDrawingStrategy
unsigned int symbolsize_
 
unsigned int symbolstrength_
 
QPen pen_
 
QBrush brush_
 

Detailed Description

Definition at line 125 of file strategies.hh.

Constructor & Destructor Documentation

Definition at line 128 of file strategies.hh.

CircleDrawingStrategy ( const SymbolDrawingStrategy strategy)
inline

Definition at line 131 of file strategies.hh.

Member Function Documentation

virtual void DrawSymbol ( QPainter &  pnt,
const QPoint &  center 
)
protectedvirtual

Implements SymbolDrawingStrategy.

virtual String GetShape ( )
inlinevirtual

Implements SymbolDrawingStrategy.

Definition at line 134 of file strategies.hh.


The documentation for this class was generated from the following file: