Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
Visualization::ElementCache Class Reference

Class to cache information about an element, that varies form item to item. More...

Public Member Functions

 ElementCache ()
 
virtual ~ElementCache ()
 
QPoint pos () const
 Returns the position property of this element cache. More...
 
void setPos (const QPoint &position)
 Sets the position property for this element cache to the specified position. More...
 
void setSize (const QSize &size)
 Sets the size property of this element cache to the specified size. More...
 
QSize size () const
 Returns the size property of this element cache. More...
 

Private Attributes

QPoint pos_ {}
 
QSize size_ {}
 

Detailed Description

Class to cache information about an element, that varies form item to item.

Constructor & Destructor Documentation

◆ ElementCache()

Visualization::ElementCache::ElementCache ( )
inline

◆ ~ElementCache()

virtual Visualization::ElementCache::~ElementCache ( )
inlinevirtual

Member Function Documentation

◆ pos()

QPoint Visualization::ElementCache::pos ( ) const
inline

Returns the position property of this element cache.

◆ setPos()

void Visualization::ElementCache::setPos ( const QPoint &  position)
inline

Sets the position property for this element cache to the specified position.

◆ setSize()

void Visualization::ElementCache::setSize ( const QSize &  size)
inline

Sets the size property of this element cache to the specified size.

◆ size()

QSize Visualization::ElementCache::size ( ) const
inline

Returns the size property of this element cache.

Member Data Documentation

◆ pos_

QPoint Visualization::ElementCache::pos_ {}
private

◆ size_

QSize Visualization::ElementCache::size_ {}
private