OpenStudio:shared_gui_components
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Slots | Public Member Functions | Protected Member Functions | List of all members
openstudio::GridLayoutItem Class Reference

#include <GraphicsItems.hpp>

+ Inheritance diagram for openstudio::GridLayoutItem:

Public Slots

void refreshAllItemViews ()
 

Public Member Functions

QRectF boundingRect () const override
 
QSizeF cellSize () const
 
 GridLayoutItem ()
 
QSharedPointer< OSListControllerlistController () const
 
int margin () const
 
void setCellSize (const QSizeF &size)
 
void setDelegate (QSharedPointer< OSGraphicsItemDelegate > delegate)
 
void setListController (QSharedPointer< OSListController > listController)
 
void setMargin (int margin)
 
virtual ~GridLayoutItem ()
 

Protected Member Functions

void paint (QPainter *painter, const QStyleOptionGraphicsItem *option,*widget=nullptr) override
 

Constructor & Destructor Documentation

openstudio::GridLayoutItem::GridLayoutItem ( )
virtual openstudio::GridLayoutItem::~GridLayoutItem ( )
virtual

Member Function Documentation

QRectF openstudio::GridLayoutItem::boundingRect ( ) const
override
QSizeF openstudio::GridLayoutItem::cellSize ( ) const
QSharedPointer<OSListController> openstudio::GridLayoutItem::listController ( ) const
int openstudio::GridLayoutItem::margin ( ) const
void openstudio::GridLayoutItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
widget = nullptr 
)
inlineoverrideprotected
void openstudio::GridLayoutItem::refreshAllItemViews ( )
slot
void openstudio::GridLayoutItem::setCellSize ( const QSizeF &  size)
void openstudio::GridLayoutItem::setDelegate ( QSharedPointer< OSGraphicsItemDelegate delegate)
void openstudio::GridLayoutItem::setListController ( QSharedPointer< OSListController listController)
void openstudio::GridLayoutItem::setMargin ( int  margin)