#include <ModelObjectTreeItems.hpp>
|
static const OSItemType | m_type |
|
openstudio::ModelObjectTreeItem::ModelObjectTreeItem |
( |
const openstudio::model::ModelObject & |
modelObject, |
|
|
bool |
isDefaulted, |
|
|
OSItemType |
type, |
|
|
QTreeWidgetItem * |
parent = nullptr |
|
) |
| |
Constructed with a modelObject this tree item represents that object.
openstudio::ModelObjectTreeItem::ModelObjectTreeItem |
( |
const std::string & |
name, |
|
|
const openstudio::model::Model & |
model, |
|
|
QTreeWidgetItem * |
parent = nullptr |
|
) |
| |
Constructed with no modelObject this tree item represents a container.
virtual openstudio::ModelObjectTreeItem::~ModelObjectTreeItem |
( |
| ) |
|
|
virtual |
virtual void openstudio::ModelObjectTreeItem::addModelObjectChild |
( |
const model::ModelObject & |
child, |
|
|
bool |
isDefaulted |
|
) |
| |
|
protectedvirtual |
Reimplemented in openstudio::InteriorPartitionsTreeItem, openstudio::SpaceShadingTreeItem, openstudio::FloorsTreeItem, openstudio::WallsTreeItem, openstudio::RoofsTreeItem, openstudio::NoSpaceTypeTreeItem, openstudio::SpaceTypeTreeItem, openstudio::NoThermalZoneTreeItem, openstudio::ThermalZoneTreeItem, openstudio::NoBuildingStoryTreeItem, openstudio::BuildingStoryTreeItem, openstudio::BuildingShadingTreeItem, openstudio::BuildingTreeItem, openstudio::ShadingSurfaceGroupTreeItem, and openstudio::SiteShadingTreeItem.
virtual void openstudio::ModelObjectTreeItem::addNonModelObjectChild |
( |
const std::string & |
child | ) |
|
|
protectedvirtual |
void openstudio::ModelObjectTreeItem::change |
( |
| ) |
|
|
slot |
void openstudio::ModelObjectTreeItem::changeRelationship |
( |
int |
index, |
|
|
Handle |
newHandle, |
|
|
Handle |
oldHandle |
|
) |
| |
|
slot |
virtual std::vector<model::ModelObject> openstudio::ModelObjectTreeItem::defaultedModelObjectChildren |
( |
| ) |
const |
|
protectedvirtual |
virtual void openstudio::ModelObjectTreeItem::finalize |
( |
| ) |
|
|
protectedvirtual |
boost::optional<openstudio::Handle> openstudio::ModelObjectTreeItem::handle |
( |
| ) |
const |
static OSItemType openstudio::ModelObjectTreeItem::initializeOSItemType |
( |
| ) |
|
|
staticprotected |
bool openstudio::ModelObjectTreeItem::isDirty |
( |
| ) |
|
OSItem* openstudio::ModelObjectTreeItem::item |
( |
| ) |
const |
void openstudio::ModelObjectTreeItem::makeChildren |
( |
| ) |
|
|
protected |
void openstudio::ModelObjectTreeItem::makeDirty |
( |
| ) |
|
openstudio::model::Model openstudio::ModelObjectTreeItem::model |
( |
| ) |
const |
boost::optional<openstudio::model::ModelObject> openstudio::ModelObjectTreeItem::modelObject |
( |
| ) |
const |
virtual std::vector<model::ModelObject> openstudio::ModelObjectTreeItem::modelObjectChildren |
( |
| ) |
const |
|
protectedvirtual |
Reimplemented in openstudio::LoadsTreeItem, openstudio::DaylightingObjectsTreeItem, openstudio::InteriorPartitionSurfaceGroupTreeItem, openstudio::InteriorPartitionsTreeItem, openstudio::SpaceShadingTreeItem, openstudio::SurfaceTreeItem, openstudio::FloorsTreeItem, openstudio::WallsTreeItem, openstudio::RoofsTreeItem, openstudio::NoSpaceTypeTreeItem, openstudio::SpaceTypeTreeItem, openstudio::NoThermalZoneTreeItem, openstudio::ThermalZoneTreeItem, openstudio::NoBuildingStoryTreeItem, openstudio::BuildingStoryTreeItem, openstudio::BuildingShadingTreeItem, openstudio::BuildingTreeItem, openstudio::ShadingSurfaceGroupTreeItem, and openstudio::SiteShadingTreeItem.
std::string openstudio::ModelObjectTreeItem::name |
( |
| ) |
const |
virtual std::vector<std::string> openstudio::ModelObjectTreeItem::nonModelObjectChildren |
( |
| ) |
const |
|
protectedvirtual |
void openstudio::ModelObjectTreeItem::refresh |
( |
| ) |
|
|
slot |
void openstudio::ModelObjectTreeItem::refreshTree |
( |
| ) |
|
|
slot |
void openstudio::ModelObjectTreeItem::setStyle |
( |
int |
headerLevel, |
|
|
const QString & |
color |
|
) |
| |
const OSItemType openstudio::ModelObjectTreeItem::m_type |
|
staticprotected |