OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODGraphicsPointItem Class Reference
Inheritance diagram for ODGraphicsPointItem:
[legend]

Public Member Functions

 ODGraphicsPointItem ()
 
 ~ODGraphicsPointItem ()
 
QRectF boundingRect () const override
 
void drawPoint (QPainter *)
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 
void setColor (const OD::Color &col)
 
void setHighLight (bool hl)
 
int type () const override
 

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 

Protected Attributes

bool highlight_ = false
 
OD::Color pencolor_ = OD::Color::Black()
 
int penwidth_ = 2
 

Constructor & Destructor Documentation

◆ ODGraphicsPointItem()

ODGraphicsPointItem::ODGraphicsPointItem ( )

◆ ~ODGraphicsPointItem()

ODGraphicsPointItem::~ODGraphicsPointItem ( )

Member Function Documentation

◆ boundingRect()

QRectF ODGraphicsPointItem::boundingRect ( ) const
override

◆ drawPoint()

void ODGraphicsPointItem::drawPoint ( QPainter *  )

◆ mouseMoveEvent()

void ODGraphicsPointItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ paint()

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

◆ setColor()

void ODGraphicsPointItem::setColor ( const OD::Color col)
inline

◆ setHighLight()

void ODGraphicsPointItem::setHighLight ( bool  hl)
inline

◆ type()

int ODGraphicsPointItem::type ( ) const
inlineoverride

Member Data Documentation

◆ highlight_

bool ODGraphicsPointItem::highlight_ = false
protected

◆ pencolor_

OD::Color ODGraphicsPointItem::pencolor_ = OD::Color::Black()
protected

◆ penwidth_

int ODGraphicsPointItem::penwidth_ = 2
protected

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