OpenStudioCore:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
openstudio::RefrigerationCaseDetailView Class Reference

#include <RefrigerationGraphicsItems.hpp>

+ Inheritance diagram for openstudio::RefrigerationCaseDetailView:

Signals

void inspectClicked (OSItemId id)
 
void removeClicked (OSItemId id)
 

Public Member Functions

QRectF boundingRect () const override
 
 RefrigerationCaseDetailView ()
 
void setId (const OSItemId &id)
 
void setName (const QString &name)
 
virtual ~RefrigerationCaseDetailView ()
 

Static Public Member Functions

static QRectF iconRect ()
 
static QRectF nameRect ()
 
static QSizeF size ()
 

Public Attributes

RemoveButtonItem * removeButtonItem
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option,*widget=nullptr) override
 

Protected Attributes

bool m_mouseDown
 

Constructor & Destructor Documentation

openstudio::RefrigerationCaseDetailView::RefrigerationCaseDetailView ( )
virtual openstudio::RefrigerationCaseDetailView::~RefrigerationCaseDetailView ( )
inlinevirtual

Member Function Documentation

QRectF openstudio::RefrigerationCaseDetailView::boundingRect ( ) const
override
static QRectF openstudio::RefrigerationCaseDetailView::iconRect ( )
static
void openstudio::RefrigerationCaseDetailView::inspectClicked ( OSItemId  id)
signal
void openstudio::RefrigerationCaseDetailView::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected
void openstudio::RefrigerationCaseDetailView::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected
static QRectF openstudio::RefrigerationCaseDetailView::nameRect ( )
static
void openstudio::RefrigerationCaseDetailView::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
widget = nullptr 
)
overrideprotected
void openstudio::RefrigerationCaseDetailView::removeClicked ( OSItemId  id)
signal
void openstudio::RefrigerationCaseDetailView::setId ( const OSItemId id)
void openstudio::RefrigerationCaseDetailView::setName ( const QString &  name)
static QSizeF openstudio::RefrigerationCaseDetailView::size ( )
static

Member Data Documentation

bool openstudio::RefrigerationCaseDetailView::m_mouseDown
protected
RemoveButtonItem* openstudio::RefrigerationCaseDetailView::removeButtonItem