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::SelectionOverlay Class Reference
Inheritance diagram for Visualization::SelectionOverlay:
Core::Reflect< Base >

Public Types

typedef ItemStyle StyleType
 

Public Member Functions

 SelectionOverlay (Item *selectedItem, const StyleType *style=itemStyles().get())
 
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< SelectionOverlay > & itemStyles ()
 
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
 

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

◆ SelectionOverlay()

Visualization::SelectionOverlay::SelectionOverlay ( Item selectedItem,
const StyleType style = itemStyles().get() 
)

Member Function Documentation

◆ addAddOn()

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

◆ addOns()

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

◆ defaultClassHandler()

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

◆ determineChildren()

void Visualization::SelectionOverlay::determineChildren ( )
overrideprotectedvirtual

◆ handler()

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

◆ itemStyles()

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

◆ removeAddOn()

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

◆ setDefaultClassHandler()

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

◆ setStyle()

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

◆ staticAddOns()

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

◆ style()

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

◆ updateGeometry()

void Visualization::SelectionOverlay::updateGeometry ( int  availableWidth,
int  availableHeight 
)
overrideprotectedvirtual

Member Data Documentation

◆ defaultClassHandler_

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