OpendTect-6_4  6.4
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
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *)
 
void drawArrow (QPainter &)
 
double getAddedAngle (double, float)
 
QPoint getEndPoint (const QPoint &, double, double)
 
void drawArrowHead (QPainter &, const QPoint &, const QPoint &)
 
void setArrowStyle (const ArrowStyle &arrowstyle)
 
void setArrowSize (const int arrowsz)
 
void setLineStyle (QPainter &, const OD::LineStyle &)
 
virtual int type () const
 

Protected Member Functions

virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *)
 

Protected Attributes

ArrowStyle arrowstyle_
 
int arrowsz_
 

Constructor & Destructor Documentation

ODGraphicsArrowItem::ODGraphicsArrowItem ( )

Member Function Documentation

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

Member Data Documentation

ArrowStyle ODGraphicsArrowItem::arrowstyle_
protected
int ODGraphicsArrowItem::arrowsz_
protected

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