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

Public Types

typedef IconStyle StyleType
 

Public Member Functions

 Icon (Item *parent, const IconStyle *style)
 
virtual QList< Visualization::VisualizationAddOn * > addOns () override
 
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 Visualization::StyleSet< Icon > & itemStyles ()
 
static bool removeAddOn (Visualization::VisualizationAddOn *addOn)
 
static void setDefaultClassHandler (Visualization::InteractionHandler *handler)
 

Protected Member Functions

virtual void determineChildren () override
 
QSize innerSize () const
 
void setInnerSize (int width, int height)
 
int xOffset () const
 
int yOffset () const
 

Static Private Member Functions

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

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

◆ Icon()

Visualization::Icon::Icon ( Item parent,
const IconStyle style 
)

Member Function Documentation

◆ addAddOn()

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

◆ addOns()

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

◆ defaultClassHandler()

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

◆ determineChildren()

void Visualization::Icon::determineChildren ( )
overrideprotectedvirtual

◆ handler()

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

◆ innerSize()

QSize Visualization::Icon::innerSize ( ) const
protected

◆ itemStyles()

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

◆ removeAddOn()

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

◆ setDefaultClassHandler()

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

◆ setInnerSize()

void Visualization::Icon::setInnerSize ( int  width,
int  height 
)
protected

◆ setStyle()

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

◆ staticAddOns()

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

◆ style()

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

◆ xOffset()

int Visualization::Icon::xOffset ( ) const
protected

◆ yOffset()

int Visualization::Icon::yOffset ( ) const
protected

Member Data Documentation

◆ defaultClassHandler_

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