Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
Visualization::VComposite Class Reference
Inheritance diagram for Visualization::VComposite:
Core::Reflect< Base >

Public Types

typedef VCompositeStyle StyleType
 

Public Member Functions

 VComposite (Item *parent, NodeType *node, const StyleType *style=itemStyles().get())
 
virtual QList< Visualization::VisualizationAddOn * > addOns () override
 
int determineForm () override
 
bool expanded () const
 
virtual Visualization::InteractionHandlerhandler () const override
 
void setExpanded (bool expanded=true)
 
virtual void setStyle (const Visualization::ItemStyle *itemStyle) override
 
const StyleTypestyle () const
 

Static Public Member Functions

static void addAddOn (Visualization::VisualizationAddOn *addOn)
 
static Visualization::InteractionHandlerdefaultClassHandler ()
 
static void initializeForms ()
 
static Visualization::StyleSet< VComposite > & itemStyles ()
 
static bool removeAddOn (Visualization::VisualizationAddOn *addOn)
 
static void setDefaultClassHandler (Visualization::InteractionHandler *handler)
 

Private Member Functions

QList< Item * > attributes ()
 
Model::NodenameNode ()
 

Static Private Member Functions

static QList< Visualization::VisualizationAddOn * > & staticAddOns ()
 

Private Attributes

QList< Item * > attributes_
 
bool expanded_ {}
 
EmptyItemheaderBackground_ {}
 
Itemname_ {}
 
TexttypeName_ {}
 

Static Private Attributes

static Visualization::InteractionHandlerdefaultClassHandler_ = nullptr
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Member Typedef Documentation

◆ StyleType

Constructor & Destructor Documentation

◆ VComposite()

Visualization::VComposite::VComposite ( Item parent,
NodeType *  node,
const StyleType style = itemStyles().get() 
)

Member Function Documentation

◆ addAddOn()

void Visualization::VComposite::addAddOn ( Visualization::VisualizationAddOn addOn)
static

◆ addOns()

QList< Visualization::VisualizationAddOn * > Visualization::VComposite::addOns ( )
overridevirtual

◆ attributes()

QList< Item * > Visualization::VComposite::attributes ( )
private

◆ defaultClassHandler()

static Visualization::InteractionHandler* Visualization::VComposite::defaultClassHandler ( )
inlinestatic

◆ determineForm()

int Visualization::VComposite::determineForm ( )
override

◆ expanded()

bool Visualization::VComposite::expanded ( ) const
inline

◆ handler()

Visualization::InteractionHandler * Visualization::VComposite::handler ( ) const
overridevirtual

◆ initializeForms()

void Visualization::VComposite::initializeForms ( )
static

◆ itemStyles()

Visualization::StyleSet< VComposite > & Visualization::VComposite::itemStyles ( )
static

◆ nameNode()

Model::Node * Visualization::VComposite::nameNode ( )
private

◆ removeAddOn()

bool Visualization::VComposite::removeAddOn ( Visualization::VisualizationAddOn addOn)
static

◆ setDefaultClassHandler()

static void Visualization::VComposite::setDefaultClassHandler ( Visualization::InteractionHandler handler)
inlinestatic

◆ setExpanded()

void Visualization::VComposite::setExpanded ( bool  expanded = true)

◆ setStyle()

void Visualization::VComposite::setStyle ( const Visualization::ItemStyle itemStyle)
overridevirtual

◆ staticAddOns()

QList< Visualization::VisualizationAddOn * > & Visualization::VComposite::staticAddOns ( )
staticprivate

◆ style()

const StyleType* Visualization::VComposite::style ( ) const
inline

Member Data Documentation

◆ attributes_

QList<Item*> Visualization::VComposite::attributes_
private

◆ defaultClassHandler_

Visualization::InteractionHandler * Visualization::VComposite::defaultClassHandler_ = nullptr
staticprivate

◆ expanded_

bool Visualization::VComposite::expanded_ {}
private

◆ headerBackground_

EmptyItem* Visualization::VComposite::headerBackground_ {}
private

◆ name_

Item* Visualization::VComposite::name_ {}
private

◆ typeName_

Text* Visualization::VComposite::typeName_ {}
private