bool SurfaceNetworkBuilder::linkInteriorSubSurface(model::ThermalZone zone, model::Space space, model::Surface surface, model::SubSurface subSurface, model::SubSurface adjacentSubSurface, model::Surface adjacentSurface, model::Space adjacentSpace, model::ThermalZone adjacentZone) { LOG(Info, "Subsurfaces '" << subSurface.name().get() << "' and '" << adjacentSubSurface.name().get() << "' connect zone '" << zone.name().get() << "' to zone '" << adjacentZone.name().get() << "'"); return true; }
ZoneChooserItem::ZoneChooserItem(model::ThermalZone & zone, ZoneChooserView * parent) : QWidget(parent), m_zoneChooserView(parent), m_thermalZone(zone) { QHBoxLayout * hLayout = new QHBoxLayout(); m_checkBox = new QCheckBox(); m_checkBox->setText(toQString(zone.name().get())); connect( m_checkBox, SIGNAL(clicked(bool)), this, SLOT(sendClickedSignal(bool)) ); connect( this, SIGNAL(addZoneClicked(model::ThermalZone &)), m_zoneChooserView,SIGNAL(addZoneClicked(model::ThermalZone &)) ); connect( this, SIGNAL(removeZoneClicked(model::ThermalZone &)), m_zoneChooserView,SIGNAL(removeZoneClicked(model::ThermalZone &)) ); hLayout->addWidget(m_checkBox); setLayout(hLayout); }
bool SurfaceNetworkBuilder::linkExteriorSubSurface(model::ThermalZone zone, model::Space space, model::Surface surface, model::SubSurface subSurface) { LOG(Info, "Subsurface '" << subSurface.name().get() << "' connects zone '" << zone.name().get() << "' to the ambient"); return true; }