#include <GridItem.hpp>
Signals | |
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 &) |
Public Member Functions | |
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) |
virtual void | setModelObject (model::OptionalModelObject modelObject) |
~ModelObjectGraphicsItem () | |
Protected Member Functions | |
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
Protected Attributes | |
bool | m_deleteAble |
bool | m_enableHighlight |
bool | m_highlight |
model::OptionalModelObject | m_modelObject |
RemoveButtonItem * | m_removeButtonItem |
openstudio::ModelObjectGraphicsItem::ModelObjectGraphicsItem | ( | QGraphicsItem * | parent = nullptr | ) |
|
inline |
|
override |
|
override |
|
override |
|
override |
|
override |
|
signal |
|
signal |
|
signal |
|
overrideprotected |
model::OptionalModelObject openstudio::ModelObjectGraphicsItem::modelObject | ( | ) |
|
signal |
|
signal |
void openstudio::ModelObjectGraphicsItem::setDeletable | ( | bool | deletable | ) |
void openstudio::ModelObjectGraphicsItem::setEnableHighlight | ( | bool | highlight | ) |
|
virtual |
Reimplemented in openstudio::HorizontalBranchItem, openstudio::TwoFourNodeItem, openstudio::OAStraightNodeItem, openstudio::OneThreeWaterToWaterItem, openstudio::OneThreeWaterToAirItem, openstudio::ReturnPlenumItem, openstudio::SupplyPlenumItem, openstudio::OneThreeDualDuctItem, openstudio::OneThreeNodeItem, and openstudio::WaterUseEquipmentItem.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |