OpenStructure
|
#include <strategies.hh>
Inherited by CircleDrawingStrategy, CrosshairBaseDrawingStrategy, and SquareDrawingStrategy.
Public Member Functions | |
SymbolDrawingStrategy () | |
virtual | ~SymbolDrawingStrategy () |
virtual void | Draw (QPainter &pnt, const QPoint ¢er) |
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 () |
virtual String | GetShape ()=0 |
Protected Member Functions | |
virtual void | DrawSymbol (QPainter &pnt, const QPoint ¢er)=0 |
Protected Attributes | |
unsigned int | symbolsize_ |
unsigned int | symbolstrength_ |
QPen | pen_ |
QBrush | brush_ |
Definition at line 41 of file strategies.hh.
|
inlinevirtual |
Definition at line 45 of file strategies.hh.
|
virtual |
Reimplemented in CrosshairBaseDrawingStrategy.
|
protectedpure virtual |
Implemented in CircleDrawingStrategy, CrosshairSquareDrawingStrategy, CrosshairCircleDrawingStrategy, and SquareDrawingStrategy.
|
inlinevirtual |
Definition at line 54 of file strategies.hh.
|
inlinevirtual |
Definition at line 52 of file strategies.hh.
|
inlinevirtual |
Definition at line 50 of file strategies.hh.
|
pure virtual |
Implemented in CircleDrawingStrategy, CrosshairSquareDrawingStrategy, CrosshairCircleDrawingStrategy, and SquareDrawingStrategy.
|
inlinevirtual |
Definition at line 55 of file strategies.hh.
|
inlinevirtual |
Definition at line 57 of file strategies.hh.
|
inlinevirtual |
Reimplemented in CrosshairBaseDrawingStrategy.
Definition at line 59 of file strategies.hh.
|
inlinevirtual |
Definition at line 53 of file strategies.hh.
|
inline |
Definition at line 51 of file strategies.hh.
|
inlinevirtual |
Reimplemented in CrosshairBaseDrawingStrategy.
Definition at line 49 of file strategies.hh.
|
inlinevirtual |
Definition at line 56 of file strategies.hh.
|
inlinevirtual |
Definition at line 58 of file strategies.hh.
|
protected |
Definition at line 66 of file strategies.hh.
|
protected |
Definition at line 65 of file strategies.hh.
|
protected |
Definition at line 63 of file strategies.hh.
|
protected |
Definition at line 64 of file strategies.hh.