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

Public Types

using ClickHandler = std::function< bool(Static *clickedItem)>
 

Public Member Functions

 StaticStyle ()
 
virtual ~StaticStyle ()
 
bool alwaysStretchable () const
 
ClickHandler clickHandler () const
 
bool isEmpty () const
 
const QString & itemClass () const
 
const ItemStyleitemStyle () const
 
void load (StyleLoader &sl)
 
void setClickHandler (ClickHandler clickHandler) const
 
int zValue () const
 

Private Attributes

bool alwaysStretchable_ {}
 
ClickHandler clickHandler_ {}
 
QString itemClass_
 
QSharedPointer< ItemStyleitemStyle_
 
int zValue_ {}
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ClickHandler

using Visualization::StaticStyle::ClickHandler = std::function<bool (Static* clickedItem)>

Constructor & Destructor Documentation

◆ StaticStyle()

Visualization::StaticStyle::StaticStyle ( )

◆ ~StaticStyle()

Visualization::StaticStyle::~StaticStyle ( )
virtual

Member Function Documentation

◆ alwaysStretchable()

bool Visualization::StaticStyle::alwaysStretchable ( ) const
inline

◆ clickHandler()

StaticStyle::ClickHandler Visualization::StaticStyle::clickHandler ( ) const
inline

◆ isEmpty()

bool Visualization::StaticStyle::isEmpty ( ) const
inline

◆ itemClass()

const QString & Visualization::StaticStyle::itemClass ( ) const
inline

◆ itemStyle()

const ItemStyle & Visualization::StaticStyle::itemStyle ( ) const
inline

◆ load()

void Visualization::StaticStyle::load ( StyleLoader sl)

◆ setClickHandler()

void Visualization::StaticStyle::setClickHandler ( ClickHandler  clickHandler) const
inline

◆ zValue()

int Visualization::StaticStyle::zValue ( ) const
inline

Member Data Documentation

◆ alwaysStretchable_

bool Visualization::StaticStyle::alwaysStretchable_ {}
private

◆ clickHandler_

ClickHandler Visualization::StaticStyle::clickHandler_ {}
mutableprivate

◆ itemClass_

QString Visualization::StaticStyle::itemClass_
private

◆ itemStyle_

QSharedPointer<ItemStyle> Visualization::StaticStyle::itemStyle_
private

◆ zValue_

int Visualization::StaticStyle::zValue_ {}
private