Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DependencyTree_Arrow Class Reference

#include <DependencyTree_Arrow.h>

Inheritance diagram for DependencyTree_Arrow:
Inheritance graph

Public Member Functions

 DependencyTree_Arrow (DependencyTree_Object *startItem, DependencyTree_Object *endItem, QGraphicsItem *parent=0, QGraphicsScene *scene=0)
 
 ~DependencyTree_Arrow ()
 
virtual QRectF boundingRect () const
 
virtual QPainterPath shape () const
 
void setColor (const QColor &)
 
void setHighlightColor (const QColor &)
 
void setSelectColor (const QColor &)
 
DependencyTree_ObjectgetStartItem () const
 
DependencyTree_ObjectgetEndItem () const
 
void setIsBiLink (bool)
 

Protected Member Functions

void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *=0)
 

Private Member Functions

QPolygonF createArrowHead (QPointF, QPointF, bool=true)
 

Private Attributes

DependencyTree_ObjectmyStartItem
 
DependencyTree_ObjectmyEndItem
 
QColor myColor
 
QColor mySelectColor
 
QColor myHighlightColor
 
QPolygonF myArrowHead
 
QPolygonF myReverseArrowHead
 
bool myIsBiLink
 
QRectF mySelfDependencyArrow
 
QLineF myLine
 

Constructor & Destructor Documentation

DependencyTree_Arrow::DependencyTree_Arrow ( DependencyTree_Object startItem,
DependencyTree_Object endItem,
QGraphicsItem *  parent = 0,
QGraphicsScene *  scene = 0 
)
DependencyTree_Arrow::~DependencyTree_Arrow ( )

Member Function Documentation

QRectF DependencyTree_Arrow::boundingRect ( ) const
virtual
QPolygonF DependencyTree_Arrow::createArrowHead ( QPointF  theStartPoint,
QPointF  theEndPoint,
bool  theIsDynamic = true 
)
private

References arrowSize, myEndItem, and myLine.

DependencyTree_Object * DependencyTree_Arrow::getEndItem ( ) const

References myEndItem.

DependencyTree_Object * DependencyTree_Arrow::getStartItem ( ) const

References myStartItem.

void DependencyTree_Arrow::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  ,
QWidget = 0 
)
protected
void DependencyTree_Arrow::setColor ( const QColor &  theColor)

References myColor.

void DependencyTree_Arrow::setHighlightColor ( const QColor &  theColor)

References myHighlightColor.

void DependencyTree_Arrow::setIsBiLink ( bool  theIsBiLink)

References myIsBiLink.

void DependencyTree_Arrow::setSelectColor ( const QColor &  theColor)

References mySelectColor.

QPainterPath DependencyTree_Arrow::shape ( ) const
virtual

Member Data Documentation

QPolygonF DependencyTree_Arrow::myArrowHead
private
QColor DependencyTree_Arrow::myColor
private
DependencyTree_Object* DependencyTree_Arrow::myEndItem
private
QColor DependencyTree_Arrow::myHighlightColor
private
bool DependencyTree_Arrow::myIsBiLink
private
QLineF DependencyTree_Arrow::myLine
private
QPolygonF DependencyTree_Arrow::myReverseArrowHead
private
QColor DependencyTree_Arrow::mySelectColor
private
QRectF DependencyTree_Arrow::mySelfDependencyArrow
private
DependencyTree_Object* DependencyTree_Arrow::myStartItem
private

The documentation for this class was generated from the following files: