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::RefrigerationCompressorDetailView Class Reference

#include <RefrigerationGraphicsItems.hpp>

+ Inheritance diagram for openstudio::RefrigerationCompressorDetailView:

Signals

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

Public Member Functions

QRectF boundingRect () const override
 
 RefrigerationCompressorDetailView ()
 
void setId (const OSItemId &id)
 
void setLabel (const QString &label)
 
virtual ~RefrigerationCompressorDetailView ()
 

Static Public Member Functions

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::RefrigerationCompressorDetailView::RefrigerationCompressorDetailView ( )
virtual openstudio::RefrigerationCompressorDetailView::~RefrigerationCompressorDetailView ( )
inlinevirtual

Member Function Documentation

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

Member Data Documentation

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