Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum | PreferedExitDirection { EXIT_LEFT , EXIT_RIGHT } |
Public Member Functions | |
ControlFlowItem (Item *parent, const StyleType *style) | |
const QList< QPoint > & | breaks () |
const QList< QPoint > & | continues () |
const QPoint & | entrance () |
const QPoint & | exit () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
void | setPreferredBreakExit (PreferedExitDirection preference) |
void | setPreferredContinueExit (PreferedExitDirection preference) |
Protected Member Functions | |
void | addConnector (const QPoint &begin, const QPoint &end, bool arrowEnding) |
void | addConnector (int xBegin, int yBegin, int xEnd, int yEnd, bool arrowEnding) |
void | addConnector (QList< QPoint > &points, bool arrowEnding) |
void | addToLastConnector (const QPoint &point) |
void | addToLastConnector (int x, int y) |
void | clearConnectors () |
Protected Attributes | |
QList< QPoint > | breaks_ |
QList< QPoint > | continues_ |
QPoint | entrance_ |
QPoint | exit_ |
PreferedExitDirection | preferredBreakExit_ |
PreferedExitDirection | preferredContinueExit_ |
Private Member Functions | |
QPainterPath | connector (const QList< QPoint > &points, bool arrowEnding) |
Private Attributes | |
QList< bool > | arrowEndings_ |
QList< QList< QPoint > > | connectors_ |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
ControlFlowVisualization::ControlFlowItem::ControlFlowItem | ( | Item * | parent, |
const StyleType * | style | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
protected |
|
private |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
|
inline |
|
inline |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |