Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef BracesStyle | StyleType |
Public Member Functions | |
Braces (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< Braces > & | itemStyles () |
Protected Attributes | |
qreal | contentLeft_ |
qreal | contentTop_ |
QPointF | leftBraceOffset_ |
qreal | rightBraceLeft_ |
QPointF | rightBraceOffset_ |
int | textSize_ |
Private Member Functions | |
QSize | getSizeOfBrace (const QString &brace, const QFont &font, int innerHeight, QPointF *offset) const |
Static Private Attributes | |
static const int | MAX_BRACE_SIZE = 1000 |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::Braces::Braces | ( | Item * | parent, |
StyleType * | style = itemStyles().get() |
||
) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
private |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
overridevirtual |
|
protected |
|
protected |
|
protected |
|
staticprivate |
|
protected |
|
protected |
|
protected |