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

Public Types

typedef TextStyle StyleType
 

Public Member Functions

 Text (Item *parent, const QString &text={})
 
 Text (Item *parent, const StyleType *style, const QString &text={})
 
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< Text > & itemStyles ()
 
static bool removeAddOn (Visualization::VisualizationAddOn *addOn)
 
static void setDefaultClassHandler (Visualization::InteractionHandler *handler)
 

Protected Member Functions

virtual QString currentText () 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

◆ Text() [1/2]

Visualization::Text::Text ( Item parent,
const QString &  text = {} 
)

◆ Text() [2/2]

Visualization::Text::Text ( Item parent,
const StyleType style,
const QString &  text = {} 
)

Member Function Documentation

◆ addAddOn()

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

◆ addOns()

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

◆ currentText()

QString Visualization::Text::currentText ( )
overrideprotectedvirtual

◆ defaultClassHandler()

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

◆ handler()

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

◆ itemStyles()

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

◆ removeAddOn()

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

◆ setDefaultClassHandler()

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

◆ setStyle()

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

◆ staticAddOns()

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

◆ style()

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

Member Data Documentation

◆ defaultClassHandler_

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