Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef StaticStyle | StyleType |
Public Member Functions | |
Static (Item *parent, const StyleType *style=itemStyles().get()) | |
virtual | ~Static () |
virtual QList< Visualization::VisualizationAddOn * > | addOns () override |
virtual Visualization::InteractionHandler * | handler () const override |
virtual bool | isEmpty () const override |
Item * | item () |
virtual void | setStyle (const Visualization::ItemStyle *itemStyle) 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< Static > & | itemStyles () |
template<typename T > | |
static void | registerStaticItem () |
static bool | removeAddOn (Visualization::VisualizationAddOn *addOn) |
static void | setDefaultClassHandler (Visualization::InteractionHandler *handler) |
Protected Member Functions | |
virtual void | determineChildren () override |
virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Private Types | |
using | staticItemConstructorType = Item *(*)(Item *parent, const ItemStyle *style) |
using | staticItemStyleConstructorType = ItemStyle *(*)() |
Static Private Member Functions | |
static ItemStyle * | constructStyle (const QString &itemClass) |
static QList< Visualization::VisualizationAddOn * > & | staticAddOns () |
template<typename T > | |
static Item * | staticItemConstructor (Item *parent, const ItemStyle *style) |
template<typename T > | |
static ItemStyle * | staticItemStyleConstructor () |
Private Attributes | |
Item * | item_ |
Static Private Attributes | |
static Visualization::InteractionHandler * | defaultClassHandler_ = nullptr |
static QMap< QString, staticItemConstructorType > | itemClasses_ |
static QMap< QString, staticItemStyleConstructorType > | itemStyles_ |
Friends | |
class | StaticStyle |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
|
private |
|
private |
Visualization::Static::Static | ( | Item * | parent, |
const StyleType * | style = itemStyles().get() |
||
) |
|
virtual |
|
static |
|
overridevirtual |
|
staticprivate |
|
inlinestatic |
|
overrideprotectedvirtual |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
static |
|
static |
|
static |
|
inlinestatic |
|
overridevirtual |
|
overridevirtual |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
inline |
|
overrideprotectedvirtual |
|
friend |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |