OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODGraphicsMarkerItem Class Reference
Inheritance diagram for ODGraphicsMarkerItem:
[legend]

Public Member Functions

 ODGraphicsMarkerItem ()
 
virtual ~ODGraphicsMarkerItem ()
 
QRectF boundingRect () const
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *)
 
void setMarkerStyle (const MarkerStyle2D &)
 
void setFill (bool fill)
 
void setFillColor (const Color &col)
 
void setSideLength (int side)
 
virtual int type () const
 
const MarkerStyle2DgetMarkerStyle ()
 

Static Public Member Functions

static void drawMarker (QPainter &, MarkerStyle2D::Type, float, float)
 

Protected Member Functions

virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *)
 

Protected Attributes

QRectF boundingrect_
 
MarkerStyle2Dmstyle_
 
Color fillcolor_
 
bool fill_
 
int side_
 

Constructor & Destructor Documentation

ODGraphicsMarkerItem::ODGraphicsMarkerItem ( )
virtual ODGraphicsMarkerItem::~ODGraphicsMarkerItem ( )
virtual

Member Function Documentation

QRectF ODGraphicsMarkerItem::boundingRect ( ) const
static void ODGraphicsMarkerItem::drawMarker ( QPainter &  ,
MarkerStyle2D::Type  ,
float  ,
float   
)
static
const MarkerStyle2D* ODGraphicsMarkerItem::getMarkerStyle ( )
inline
virtual void ODGraphicsMarkerItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
protectedvirtual
void ODGraphicsMarkerItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
void ODGraphicsMarkerItem::setFill ( bool  fill)
inline
void ODGraphicsMarkerItem::setFillColor ( const Color col)
inline
void ODGraphicsMarkerItem::setMarkerStyle ( const MarkerStyle2D )
void ODGraphicsMarkerItem::setSideLength ( int  side)
inline
virtual int ODGraphicsMarkerItem::type ( ) const
inlinevirtual

Member Data Documentation

QRectF ODGraphicsMarkerItem::boundingrect_
protected
bool ODGraphicsMarkerItem::fill_
protected
Color ODGraphicsMarkerItem::fillcolor_
protected
MarkerStyle2D* ODGraphicsMarkerItem::mstyle_
protected
int ODGraphicsMarkerItem::side_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019