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

#include <RefrigerationGraphicsItems.hpp>

+ Inheritance diagram for openstudio::RefrigerationSHXView:

Signals

void inspectClicked (OSItemId id)
 
void removeClicked (OSItemId id)
 
- Signals inherited from openstudio::OSDropZoneItem
void componentDropped (const OSItemId &itemid)
 
void mouseClicked ()
 

Public Member Functions

QRectF boundingRect () const override
 
 RefrigerationSHXView ()
 
void setId (const OSItemId &id)
 
void setName (const QString &name)
 
virtual ~RefrigerationSHXView ()
 
- Public Member Functions inherited from openstudio::RefrigerationSystemDropZoneView
QRectF boundingRect () const override
 
- Public Member Functions inherited from openstudio::OSDropZoneItem
QRectF boundingRect () const override
 
 OSDropZoneItem ()
 
void setSize (double width, double height)
 
void setText (const QString &text)
 
virtual ~OSDropZoneItem ()
 

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 Member Functions inherited from openstudio::RefrigerationSystemDropZoneView
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option,*widget) override
 
- Protected Member Functions inherited from openstudio::OSDropZoneItem
void dropEvent (QGraphicsSceneDragDropEvent *event) override
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option,*widget) override
 

Protected Attributes

bool m_mouseDown
 
- Protected Attributes inherited from openstudio::OSDropZoneItem
QString m_text
 

Constructor & Destructor Documentation

openstudio::RefrigerationSHXView::RefrigerationSHXView ( )
virtual openstudio::RefrigerationSHXView::~RefrigerationSHXView ( )
inlinevirtual

Member Function Documentation

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

Member Data Documentation

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