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

Public Member Functions

 ODGraphicsPolyLineItem ()
 
 ~ODGraphicsPolyLineItem ()
 
QRectF boundingRect () const
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *)
 
QPainterPath shape () const
 
void setPolyLine (const QPolygonF &, bool closed)
 
void setFillRule (Qt::FillRule)
 
bool isEmpty () const
 
void setEmpty ()
 
void setQPen (const QPen &pen)
 
void highlight ()
 
void unHighlight ()
 
virtual int type () const
 

Protected Member Functions

virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *)
 

Protected Attributes

bool closed_
 
QPolygonF qpolygon_
 
Qt::FillRule fillrule_
 
QPainterPath path_
 
QPen & mypen_
 

Constructor & Destructor Documentation

ODGraphicsPolyLineItem::ODGraphicsPolyLineItem ( )
ODGraphicsPolyLineItem::~ODGraphicsPolyLineItem ( )

Member Function Documentation

QRectF ODGraphicsPolyLineItem::boundingRect ( ) const
void ODGraphicsPolyLineItem::highlight ( )
virtual

Reimplemented from ODGraphicsHighlightItem.

bool ODGraphicsPolyLineItem::isEmpty ( ) const
virtual void ODGraphicsPolyLineItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
protectedvirtual
void ODGraphicsPolyLineItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
void ODGraphicsPolyLineItem::setEmpty ( )
void ODGraphicsPolyLineItem::setFillRule ( Qt::FillRule  )
void ODGraphicsPolyLineItem::setPolyLine ( const QPolygonF &  ,
bool  closed 
)
void ODGraphicsPolyLineItem::setQPen ( const QPen &  pen)
virtual

Reimplemented from ODGraphicsHighlightItem.

QPainterPath ODGraphicsPolyLineItem::shape ( ) const
virtual int ODGraphicsPolyLineItem::type ( ) const
inlinevirtual
void ODGraphicsPolyLineItem::unHighlight ( )
virtual

Reimplemented from ODGraphicsHighlightItem.

Member Data Documentation

bool ODGraphicsPolyLineItem::closed_
protected
Qt::FillRule ODGraphicsPolyLineItem::fillrule_
protected
QPen& ODGraphicsPolyLineItem::mypen_
protected
QPainterPath ODGraphicsPolyLineItem::path_
protected
QPolygonF ODGraphicsPolyLineItem::qpolygon_
protected

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