Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef DiamondStyle | StyleType |
Public Member Functions | |
Diamond (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< Diamond > & | itemStyles () |
Protected Member Functions | |
QPainterPath | getDiamondPath (qreal x, qreal y, int width, int height) |
Protected Attributes | |
qreal | contentLeft_ |
qreal | contentTop_ |
qreal | heightWithoutShadow |
qreal | widthWithoutShadow |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::Diamond::Diamond | ( | Item * | parent, |
StyleType * | style = itemStyles().get() |
||
) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
protected |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
overridevirtual |
|
protected |
|
protected |
|
protected |
|
protected |