Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes
Comments::VCommentDiagramConnector Class Reference
Inheritance diagram for Comments::VCommentDiagramConnector:
Core::Reflect< Base >

Public Member Functions

 VCommentDiagramConnector (Visualization::Item *parent, NodeType *node)
 
VCommentDiagramdiagram ()
 

Static Public Attributes

static const int MAX_ARROW_WIDTH = 15
 

Protected Member Functions

virtual void determineChildren () override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
virtual void updateGeometry (int availableWidth, int availableHeight) override
 

Private Attributes

bool endArrow_ {}
 
QPoint endPoint_
 
int outlineSize_ {}
 
Qt::PenStyle outlineType_ {}
 
bool startArrow_ {}
 
QPoint startPoint_
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ VCommentDiagramConnector()

Comments::VCommentDiagramConnector::VCommentDiagramConnector ( Visualization::Item parent,
NodeType *  node 
)

Member Function Documentation

◆ determineChildren()

void Comments::VCommentDiagramConnector::determineChildren ( )
overrideprotectedvirtual

◆ diagram()

VCommentDiagram * Comments::VCommentDiagramConnector::diagram ( )

◆ paint()

void Comments::VCommentDiagramConnector::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
overrideprotected

◆ updateGeometry()

void Comments::VCommentDiagramConnector::updateGeometry ( int  availableWidth,
int  availableHeight 
)
overrideprotectedvirtual

Member Data Documentation

◆ endArrow_

bool Comments::VCommentDiagramConnector::endArrow_ {}
private

◆ endPoint_

QPoint Comments::VCommentDiagramConnector::endPoint_
private

◆ MAX_ARROW_WIDTH

const int Comments::VCommentDiagramConnector::MAX_ARROW_WIDTH = 15
static

◆ outlineSize_

int Comments::VCommentDiagramConnector::outlineSize_ {}
private

◆ outlineType_

Qt::PenStyle Comments::VCommentDiagramConnector::outlineType_ {}
private

◆ startArrow_

bool Comments::VCommentDiagramConnector::startArrow_ {}
private

◆ startPoint_

QPoint Comments::VCommentDiagramConnector::startPoint_
private