OpendTect  6.6
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 override
 
const MarkerStyle2DgetMarkerStyle ()
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 
void setFill (bool fill)
 
void setFillColor (const Color &col)
 
void setMarkerStyle (const MarkerStyle2D &)
 
void setSideLength (int side)
 
int type () const override
 

Static Public Member Functions

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

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 

Protected Attributes

QRectF boundingrect_
 
bool fill_
 
Color fillcolor_
 
MarkerStyle2Dmstyle_
 
int side_
 

Constructor & Destructor Documentation

◆ ODGraphicsMarkerItem()

ODGraphicsMarkerItem::ODGraphicsMarkerItem ( )

◆ ~ODGraphicsMarkerItem()

virtual ODGraphicsMarkerItem::~ODGraphicsMarkerItem ( )
virtual

Member Function Documentation

◆ boundingRect()

QRectF ODGraphicsMarkerItem::boundingRect ( ) const
override

◆ drawMarker()

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

◆ getMarkerStyle()

const MarkerStyle2D* ODGraphicsMarkerItem::getMarkerStyle ( )
inline

◆ mouseMoveEvent()

void ODGraphicsMarkerItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ paint()

void ODGraphicsMarkerItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
override

◆ setFill()

void ODGraphicsMarkerItem::setFill ( bool  fill)
inline

◆ setFillColor()

void ODGraphicsMarkerItem::setFillColor ( const Color col)
inline

◆ setMarkerStyle()

void ODGraphicsMarkerItem::setMarkerStyle ( const MarkerStyle2D )

◆ setSideLength()

void ODGraphicsMarkerItem::setSideLength ( int  side)
inline

◆ type()

int ODGraphicsMarkerItem::type ( ) const
inlineoverride

Member Data Documentation

◆ boundingrect_

QRectF ODGraphicsMarkerItem::boundingrect_
protected

◆ fill_

bool ODGraphicsMarkerItem::fill_
protected

◆ fillcolor_

Color ODGraphicsMarkerItem::fillcolor_
protected

◆ mstyle_

MarkerStyle2D* ODGraphicsMarkerItem::mstyle_
protected

◆ side_

int ODGraphicsMarkerItem::side_
protected

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