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

Public Member Functions

 ODGraphicsArrowItem ()
 
QRectF boundingRect () const override
 
void drawArrow (QPainter &)
 
void drawArrowHead (QPainter &, const QPoint &, const QPoint &)
 
double getAddedAngle (double, float)
 
QPoint getEndPoint (const QPoint &, double, double)
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 
void setArrowSize (int arrowsz)
 
void setArrowStyle (const ArrowStyle &arrowstyle)
 
void setLineStyle (QPainter &, const OD::LineStyle &)
 
int type () const override
 

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 

Protected Attributes

ArrowStyle arrowstyle_
 
int arrowsz_ = 1
 

Constructor & Destructor Documentation

◆ ODGraphicsArrowItem()

ODGraphicsArrowItem::ODGraphicsArrowItem ( )

Member Function Documentation

◆ boundingRect()

QRectF ODGraphicsArrowItem::boundingRect ( ) const
override

◆ drawArrow()

void ODGraphicsArrowItem::drawArrow ( QPainter &  )

◆ drawArrowHead()

void ODGraphicsArrowItem::drawArrowHead ( QPainter &  ,
const QPoint &  ,
const QPoint &   
)

◆ getAddedAngle()

double ODGraphicsArrowItem::getAddedAngle ( double  ,
float   
)

◆ getEndPoint()

QPoint ODGraphicsArrowItem::getEndPoint ( const QPoint &  ,
double  ,
double   
)

◆ mouseMoveEvent()

void ODGraphicsArrowItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ paint()

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

◆ setArrowSize()

void ODGraphicsArrowItem::setArrowSize ( int  arrowsz)
inline

◆ setArrowStyle()

void ODGraphicsArrowItem::setArrowStyle ( const ArrowStyle arrowstyle)
inline

◆ setLineStyle()

void ODGraphicsArrowItem::setLineStyle ( QPainter &  ,
const OD::LineStyle  
)

◆ type()

int ODGraphicsArrowItem::type ( ) const
inlineoverride

Member Data Documentation

◆ arrowstyle_

ArrowStyle ODGraphicsArrowItem::arrowstyle_
protected

◆ arrowsz_

int ODGraphicsArrowItem::arrowsz_ = 1
protected

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