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

#include <VRFGraphicsItems.hpp>

+ Inheritance diagram for openstudio::VRFSystemView:

Signals

void inspectClicked (const OSItemId &id)
 

Public Member Functions

void addVRFTerminalView (VRFTerminalView *view)
 
void adjustLayout ()
 
QRectF boundingRect () const override
 
void removeAllVRFTerminalViews ()
 
void setId (const OSItemId &id)
 
 VRFSystemView ()
 
virtual ~VRFSystemView ()
 

Public Attributes

OSDropZoneItemterminalDropZone
 
ButtonItemvrfIconButton
 
OSDropZoneItemzoneDropZone
 

Static Public Attributes

static const int dropZoneHeight
 
static const int margin
 
static const int terminalDropZoneWidth
 
static const int terminalViewHeight
 
static const int zoneDropZoneWidth
 

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

Member Function Documentation

void openstudio::VRFSystemView::addVRFTerminalView ( VRFTerminalView view)
void openstudio::VRFSystemView::adjustLayout ( )
QRectF openstudio::VRFSystemView::boundingRect ( ) const
override
void openstudio::VRFSystemView::inspectClicked ( const OSItemId id)
signal
void openstudio::VRFSystemView::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected
void openstudio::VRFSystemView::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected
void openstudio::VRFSystemView::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
widget = nullptr 
)
overrideprotected
void openstudio::VRFSystemView::removeAllVRFTerminalViews ( )
void openstudio::VRFSystemView::setId ( const OSItemId id)

Member Data Documentation

const int openstudio::VRFSystemView::dropZoneHeight
static
bool openstudio::VRFSystemView::m_mouseDown
protected
const int openstudio::VRFSystemView::margin
static
OSDropZoneItem* openstudio::VRFSystemView::terminalDropZone
const int openstudio::VRFSystemView::terminalDropZoneWidth
static
const int openstudio::VRFSystemView::terminalViewHeight
static
ButtonItem* openstudio::VRFSystemView::vrfIconButton
OSDropZoneItem* openstudio::VRFSystemView::zoneDropZone
const int openstudio::VRFSystemView::zoneDropZoneWidth
static