Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
Visualization::VViewItemNode Class Reference

The VVIewItemNode class visualizes a ViewItemNode, either by visualizing its reference if it exists, or else rendering an empty item for spacing. More...

Inheritance diagram for Visualization::VViewItemNode:
Core::Reflect< Base >

Public Types

typedef DeclarativeItemBaseStyle StyleType
 

Public Member Functions

 VViewItemNode (Item *parent, NodeType *node, const StyleType *style=itemStyles().get())
 
virtual QList< Visualization::VisualizationAddOn * > addOns () override
 
virtual int determineForm () override
 
bool determineSpacing ()
 
virtual Visualization::InteractionHandlerhandler () const override
 
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< VViewItemNode > & itemStyles ()
 
static bool removeAddOn (Visualization::VisualizationAddOn *addOn)
 
static void setDefaultClassHandler (Visualization::InteractionHandler *handler)
 

Static Private Member Functions

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

Private Attributes

const int DEFAULT_SPACING_HEIGHT = 50
 
Itemreference_ {}
 
EmptyItemspacing_ {}
 

Static Private Attributes

static Visualization::InteractionHandlerdefaultClassHandler_ = nullptr
 

Additional Inherited Members

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

Detailed Description

The VVIewItemNode class visualizes a ViewItemNode, either by visualizing its reference if it exists, or else rendering an empty item for spacing.

Member Typedef Documentation

◆ StyleType

Constructor & Destructor Documentation

◆ VViewItemNode()

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

Member Function Documentation

◆ addAddOn()

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

◆ addOns()

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

◆ defaultClassHandler()

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

◆ determineForm()

int Visualization::VViewItemNode::determineForm ( )
overridevirtual

◆ determineSpacing()

bool Visualization::VViewItemNode::determineSpacing ( )

◆ handler()

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

◆ initializeForms()

void Visualization::VViewItemNode::initializeForms ( )
static

◆ itemStyles()

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

◆ removeAddOn()

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

◆ setDefaultClassHandler()

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

◆ setStyle()

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

◆ staticAddOns()

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

◆ style()

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

Member Data Documentation

◆ DEFAULT_SPACING_HEIGHT

const int Visualization::VViewItemNode::DEFAULT_SPACING_HEIGHT = 50
private

◆ defaultClassHandler_

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

◆ reference_

Item* Visualization::VViewItemNode::reference_ {}
private

◆ spacing_

EmptyItem* Visualization::VViewItemNode::spacing_ {}
private