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

Public Types

typedef FrameStyle StyleType
 

Public Member Functions

 Frame (Item *parent, StyleType *style=itemStyles().get())
 
virtual int contentLeft () override
 
virtual QRect contentRect () override
 
virtual int contentTop () override
 
virtual QSize innerSize (QSize outerSize) const override
 
virtual QSize outerSize (QSize innerSize) const override
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
virtual void setStyle (const Visualization::ShapeStyle *shapeStyle) override
 
const StyleTypestyle () const
 
virtual void update () override
 

Static Public Member Functions

static StyleSet< Frame > & itemStyles ()
 

Protected Attributes

int outerHeight_ {}
 
int outerWidth_ {}
 

Additional Inherited Members

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

Member Typedef Documentation

◆ StyleType

Constructor & Destructor Documentation

◆ Frame()

Visualization::Frame::Frame ( Item parent,
StyleType style = itemStyles().get() 
)

Member Function Documentation

◆ contentLeft()

int Visualization::Frame::contentLeft ( )
overridevirtual

◆ contentRect()

QRect Visualization::Frame::contentRect ( )
overridevirtual

◆ contentTop()

int Visualization::Frame::contentTop ( )
overridevirtual

◆ innerSize()

QSize Visualization::Frame::innerSize ( QSize  outerSize) const
overridevirtual

◆ itemStyles()

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

◆ outerSize()

QSize Visualization::Frame::outerSize ( QSize  innerSize) const
overridevirtual

◆ paint()

void Visualization::Frame::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
overridevirtual

◆ setStyle()

void Visualization::Frame::setStyle ( const Visualization::ShapeStyle shapeStyle)
overridevirtual

◆ style()

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

◆ update()

void Visualization::Frame::update ( )
overridevirtual

Member Data Documentation

◆ outerHeight_

int Visualization::Frame::outerHeight_ {}
protected

◆ outerWidth_

int Visualization::Frame::outerWidth_ {}
protected