Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
ItemStyle () | |
virtual | ~ItemStyle () override |
Shape * | createShape (Item *parent) const |
bool | hasShape () const |
virtual void | load (StyleLoader &sl) override |
Public Attributes | |
Property< bool > | allowEquivalentCursorsThroughBoundary {this, "allowEquivalentCursorsThroughBoundary"} |
Property< bool > | drawShapeWhenEmpty {this, "drawShapeWhenEmpty"} |
Property< bool > | drawsOnlyShape {this, "drawsOnlyShape"} |
Property< bool > | linelikeCursorMovementAlongX {this, "linelikeCursorMovementAlongX"} |
If false, the cursor will move strictly in the direction of the arrow key the user pressed. More... | |
Property< bool > | linelikeCursorMovementAlongY {this, "linelikeCursorMovementAlongY"} |
Property< bool > | noItemRegions {this, "noItemRegions"} |
Property< bool > | wholeItemCursor {this, "wholeItemCursor"} |
Private Attributes | |
QString | shapeName_ |
QSharedPointer< ShapeStyle > | shapeStyle_ |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::ItemStyle::ItemStyle | ( | ) |
|
overridevirtual |
|
inline |
|
overridevirtual |
Property<bool> Visualization::ItemStyle::allowEquivalentCursorsThroughBoundary {this, "allowEquivalentCursorsThroughBoundary"} |
Property<bool> Visualization::ItemStyle::drawShapeWhenEmpty {this, "drawShapeWhenEmpty"} |
Property<bool> Visualization::ItemStyle::drawsOnlyShape {this, "drawsOnlyShape"} |
Property<bool> Visualization::ItemStyle::linelikeCursorMovementAlongX {this, "linelikeCursorMovementAlongX"} |
If false, the cursor will move strictly in the direction of the arrow key the user pressed.
If true, the cursor will move any region that is rougly in the direction the user pressed. This is useful for example in lists of Statements, when pressing down at the end of the statement and we want to end up at the end of the next line. If that line is shorter than the current and this property is false, we will skip that line.
Property<bool> Visualization::ItemStyle::linelikeCursorMovementAlongY {this, "linelikeCursorMovementAlongY"} |
Property<bool> Visualization::ItemStyle::noItemRegions {this, "noItemRegions"} |
|
private |
|
private |
Property<bool> Visualization::ItemStyle::wholeItemCursor {this, "wholeItemCursor"} |