OpendTect  7.0
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 override
 
void highlight () override
 
bool isEmpty () const
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 
void setEmpty ()
 
void setFillRule (Qt::FillRule)
 
void setPolyLine (const QPolygonF &, bool closed)
 
void setQPen (const QPen &) override
 
QPainterPath shape () const override
 
int type () const override
 
void unHighlight () override
 

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ ODGraphicsPolyLineItem()

ODGraphicsPolyLineItem::ODGraphicsPolyLineItem ( )

◆ ~ODGraphicsPolyLineItem()

ODGraphicsPolyLineItem::~ODGraphicsPolyLineItem ( )

Member Function Documentation

◆ boundingRect()

QRectF ODGraphicsPolyLineItem::boundingRect ( ) const
override

◆ highlight()

void ODGraphicsPolyLineItem::highlight ( )
overridevirtual

◆ isEmpty()

bool ODGraphicsPolyLineItem::isEmpty ( ) const

◆ mouseMoveEvent()

void ODGraphicsPolyLineItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ paint()

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

◆ setEmpty()

void ODGraphicsPolyLineItem::setEmpty ( )

◆ setFillRule()

void ODGraphicsPolyLineItem::setFillRule ( Qt::FillRule  )

◆ setPolyLine()

void ODGraphicsPolyLineItem::setPolyLine ( const QPolygonF &  ,
bool  closed 
)

◆ setQPen()

void ODGraphicsPolyLineItem::setQPen ( const QPen &  )
overridevirtual

Reimplemented from ODGraphicsHighlightItem.

◆ shape()

QPainterPath ODGraphicsPolyLineItem::shape ( ) const
override

◆ type()

int ODGraphicsPolyLineItem::type ( ) const
inlineoverride

◆ unHighlight()

void ODGraphicsPolyLineItem::unHighlight ( )
overridevirtual

Member Data Documentation

◆ closed_

bool ODGraphicsPolyLineItem::closed_
protected

◆ fillrule_

Qt::FillRule ODGraphicsPolyLineItem::fillrule_
protected

◆ mypen_

QPen& ODGraphicsPolyLineItem::mypen_
protected

◆ path_

QPainterPath ODGraphicsPolyLineItem::path_
protected

◆ qpolygon_

QPolygonF ODGraphicsPolyLineItem::qpolygon_
protected

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