#include <GridItem.hpp>
Inheritance diagram for openstudio::HorizontalBranchItem:Public Member Functions | |
| HorizontalBranchItem (std::vector< model::ModelObject > modelObjects, QGraphicsItem *parent=nullptr, bool dualDuct=false) | |
| HorizontalBranchItem (std::pair< std::vector< model::ModelObject >, std::vector< model::ModelObject > > modelObjectsBeforeTerminal, std::vector< model::ModelObject > modelObjectsAfterTerminal, QGraphicsItem *parent=nullptr) | |
| void | layout () |
| unsigned | padding () |
| void | setHasTwoRightSidePipes (bool dualRight) |
| void | setIsDropZone (bool isDropZone) |
| void | setModelObject (model::OptionalModelObject modelObject) override |
| void | setPadding (unsigned) |
| void | setText (const QString &text) |
Public Member Functions inherited from openstudio::GridItem | |
| virtual QRectF | boundingRect () const override |
| int | getHGridLength () |
| int | getVGridLength () |
| int | getXGridPos () |
| int | getYGridPos () |
| GridItem (QGraphicsItem *parent=nullptr) | |
| void | setGridPos (int x, int y) |
| void | setHGridLength (int l) |
| void | setVGridLength (int l) |
| virtual | ~GridItem () |
Public Member Functions inherited from openstudio::ModelObjectGraphicsItem | |
| void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) override |
| void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) override |
| void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
| model::OptionalModelObject | modelObject () |
| ModelObjectGraphicsItem (QGraphicsItem *parent=nullptr) | |
| void | setDeletable (bool deletable) |
| void | setEnableHighlight (bool highlight) |
| ~ModelObjectGraphicsItem () | |
Static Public Member Functions | |
| static std::vector< GridItem * > | itemFactory (std::vector< model::ModelObject > modelObjects, QGraphicsItem *parent) |
Protected Member Functions | |
| void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option,*widget=nullptr) override |
Protected Member Functions inherited from openstudio::ModelObjectGraphicsItem | |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
Additional Inherited Members | |
Signals inherited from openstudio::ModelObjectGraphicsItem | |
| void | hvacComponentDropped (OSItemId itemid, model::HVACComponent &contextComp) |
| void | hvacComponentDropped (OSItemId itemid) |
| void | innerNodeClicked (model::ModelObject &) |
| void | modelObjectSelected (model::OptionalModelObject &, bool readOnly) |
| void | removeModelObjectClicked (model::ModelObject &) |
Protected Attributes inherited from openstudio::GridItem | |
| int | m_hLength |
| int | m_vLength |
Protected Attributes inherited from openstudio::ModelObjectGraphicsItem | |
| bool | m_deleteAble |
| bool | m_enableHighlight |
| bool | m_highlight |
| model::OptionalModelObject | m_modelObject |
| RemoveButtonItem * | m_removeButtonItem |
| openstudio::HorizontalBranchItem::HorizontalBranchItem | ( | std::vector< model::ModelObject > | modelObjects, |
| QGraphicsItem * | parent = nullptr, |
||
| bool | dualDuct = false |
||
| ) |
| openstudio::HorizontalBranchItem::HorizontalBranchItem | ( | std::pair< std::vector< model::ModelObject >, std::vector< model::ModelObject > > | modelObjectsBeforeTerminal, |
| std::vector< model::ModelObject > | modelObjectsAfterTerminal, | ||
| QGraphicsItem * | parent = nullptr |
||
| ) |
|
overrideprotected |
|
static |
| void openstudio::HorizontalBranchItem::layout | ( | ) |
| unsigned openstudio::HorizontalBranchItem::padding | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from openstudio::GridItem.
| void openstudio::HorizontalBranchItem::setHasTwoRightSidePipes | ( | bool | dualRight | ) |
| void openstudio::HorizontalBranchItem::setIsDropZone | ( | bool | isDropZone | ) |
|
overridevirtual |
Reimplemented from openstudio::ModelObjectGraphicsItem.
| void openstudio::HorizontalBranchItem::setPadding | ( | unsigned | ) |
| void openstudio::HorizontalBranchItem::setText | ( | const QString & | text | ) |