26 #ifndef IMG_POINTLIST_OVERLAY_BASE_HH
27 #define IMG_POINTLIST_OVERLAY_BASE_HH
43 #include <QColorDialog>
44 #include <QPushButton>
45 #include <QVBoxLayout>
48 namespace ost {
namespace img {
namespace gui {
101 template <
class StrategyClass>
102 void ReplaceStrategy();
virtual void DrawPointList(QPainter &pnt, DataViewerPanel *dvp, const QColor &col, const std::vector< QPoint > &pointlist)
void SetSymbolShape(unsigned int symbolshape)
virtual QMenu * GetMenu()
return overlay specific pulldown menu
virtual void DrawVariableSizePointList(QPainter &pnt, DataViewerPanel *dvp, const QColor &col, const std::vector< std::pair< QPoint, double > > &pointlist)
PointlistOverlayBase(const String &name)
unsigned int GetSymbolShape() const
void SetSymbolSize(unsigned int symbolsize)
bool GetCrosshair() const
unsigned int symbolstrength_
void SetProps(PointlistOverlayBaseSettings *props)
virtual void OnMenuEvent(QAction *e)
SymbolDrawingStrategyPtr strategy_
void SetActiveColor(const QColor &col)
void SetPassiveColor(const QColor &col)
unsigned int GetSymbolSize() const
void SetCrosshair(bool flag)
virtual void OnDraw(QPainter &pnt, DataViewerPanel *dvp, bool is_active)
call when redrawing is necessary
PointlistOverlayBaseSettings(const QColor &ac, const QColor &pc, int ssiz, int sstr, QWidget *p)
void OnSymbolStrength(int v)
QPushButton * passive_color_b_
QPushButton * active_color_b_
QVBoxLayout * main_layout_
#define DLLEXPORT_OST_GUI
boost::shared_ptr< SymbolDrawingStrategy > SymbolDrawingStrategyPtr