Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
using | NodeType = TestBoxNode |
typedef TextStyle | StyleType |
Public Member Functions | |
TestBox (const QString &label, bool sizeDependsOnParent, bool isHtml) | |
TestBox (const QString &label, QColor color, bool sizeDependsOnParent, bool isHtml) | |
TestBox (Item *parent, NodeType *node) | |
TestBox (NodeType *node) | |
virtual QList< Visualization::VisualizationAddOn * > | addOns () override |
virtual Visualization::InteractionHandler * | handler () const override |
virtual bool | hasNode () const override |
virtual bool | moveCursor (CursorMoveDirection dir=MoveDefault, QRect reference={}, CursorMoveOptions options=None) override |
virtual NodeType * | node () const override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
virtual int | revision () const override |
virtual void | setRevision (int newRevision) override |
virtual void | setStyle (const Visualization::ItemStyle *itemStyle) override |
virtual bool | setText (const QString &newText) override |
virtual bool | sizeDependsOnParent () const override |
const StyleType * | style () const |
Static Public Member Functions | |
static void | addAddOn (Visualization::VisualizationAddOn *addOn) |
static Visualization::InteractionHandler * | defaultClassHandler () |
static Visualization::StyleSet< TestBox > & | itemStyles () |
static bool | removeAddOn (Visualization::VisualizationAddOn *addOn) |
static void | setDefaultClassHandler (Visualization::InteractionHandler *handler) |
Protected Member Functions | |
virtual QString | currentText () override |
virtual void | determineChildren () override |
virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Static Private Member Functions | |
static QList< Visualization::VisualizationAddOn * > & | staticAddOns () |
Private Attributes | |
QColor | color_ {Qt::yellow} |
bool | isHtml_ {} |
NodeType * | node_ {} |
int | nodeRevision_ {-1} |
bool | sizeDependsOnParent_ {} |
Static Private Attributes | |
static Visualization::InteractionHandler * | defaultClassHandler_ = nullptr |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::TestBox::TestBox | ( | NodeType * | node | ) |
Visualization::TestBox::TestBox | ( | const QString & | label, |
QColor | color, | ||
bool | sizeDependsOnParent, | ||
bool | isHtml | ||
) |
Visualization::TestBox::TestBox | ( | const QString & | label, |
bool | sizeDependsOnParent, | ||
bool | isHtml | ||
) |
|
static |
|
overridevirtual |
|
overrideprotectedvirtual |
|
inlinestatic |
|
overrideprotectedvirtual |
|
overridevirtual |
|
overridevirtual |
|
static |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
static |
|
overridevirtual |
|
inlinestatic |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
staticprivate |
|
inline |
|
overrideprotectedvirtual |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |