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

Public Member Functions

 TextAndDescription (const QString &text, const QString &description, const StyleType *style=itemStyles().get())
 
 TextAndDescription (Item *parent, const StyleType *style=itemStyles().get())
 
virtual ~TextAndDescription ()
 
void setContents (const QString &text, const QString &description)
 
virtual bool sizeDependsOnParent () const override
 

Protected Member Functions

virtual void determineChildren () override
 

Private Attributes

QString description_
 
Visualization::TextdescriptionVis_
 
QString text_
 
Visualization::TexttextVis_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ TextAndDescription() [1/2]

Interaction::TextAndDescription::TextAndDescription ( Item parent,
const StyleType *  style = itemStyles().get() 
)

◆ TextAndDescription() [2/2]

Interaction::TextAndDescription::TextAndDescription ( const QString &  text,
const QString &  description,
const StyleType *  style = itemStyles().get() 
)

◆ ~TextAndDescription()

Interaction::TextAndDescription::~TextAndDescription ( )
virtual

Member Function Documentation

◆ determineChildren()

void Interaction::TextAndDescription::determineChildren ( )
overrideprotectedvirtual

◆ setContents()

void Interaction::TextAndDescription::setContents ( const QString &  text,
const QString &  description 
)

◆ sizeDependsOnParent()

bool Interaction::TextAndDescription::sizeDependsOnParent ( ) const
overridevirtual

Member Data Documentation

◆ description_

QString Interaction::TextAndDescription::description_
private

◆ descriptionVis_

Visualization::Text* Interaction::TextAndDescription::descriptionVis_
private

◆ text_

QString Interaction::TextAndDescription::text_
private

◆ textVis_

Visualization::Text* Interaction::TextAndDescription::textVis_
private