Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum class | ShapeType : int { Rectangle , Ellipse , Diamond } |
Public Member Functions | |
CommentDiagramShape (int x, int y, int width, int height, ShapeType shapeType) | |
QPoint | connectorPoint (int index) const |
int | connectorPointNear (QPoint pos) const |
int | index () const |
Qt::PenStyle | outlineType () const |
QPoint | pos () const |
void | setOutlineType (const Qt::PenStyle &outlineType) |
void | setShapeType (const ShapeType &type) |
ShapeType | shapeType () const |
QSize | size () const |
Private Member Functions | |
void | assureConnectorPointsUpToDate () const |
void | reCalculateConnectorPoints () const |
Private Attributes | |
QVector< QPoint > | connectorPoints_ |
int | lastRevisionForConnectors_ = {revision() -1} |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
|
strong |
Comments::CommentDiagramShape::CommentDiagramShape | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
ShapeType | shapeType | ||
) |
|
inlineprivate |
|
inline |
int Comments::CommentDiagramShape::connectorPointNear | ( | QPoint | pos | ) | const |
int Comments::CommentDiagramShape::index | ( | ) | const |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
mutableprivate |
|
mutableprivate |