Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef BoxStyle | StyleType |
Public Member Functions | |
Box (Item *parent, StyleType *style=itemStyles().get()) | |
virtual int | contentLeft () override |
virtual QRect | contentRect () override |
virtual int | contentTop () override |
virtual QSize | innerSize (QSize outerSize) const override |
virtual QSize | outerSize (QSize innerSize) const override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
virtual void | setStyle (const Visualization::ShapeStyle *shapeStyle) override |
const StyleType * | style () const |
virtual void | update () override |
Static Public Member Functions | |
static StyleSet< Box > & | itemStyles () |
Protected Attributes | |
int | outerHeight_ {} |
int | outerWidth_ {} |
Private Member Functions | |
int | contentToEdgeDistance () const |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::Box::Box | ( | Item * | parent, |
StyleType * | style = itemStyles().get() |
||
) |
|
overridevirtual |
|
overridevirtual |
|
private |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
overridevirtual |
|
protected |
|
protected |