OpenStudio:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
openstudio::SpacesSubtabGridView Class Reference

#include <SpacesSubtabGridView.hpp>

+ Inheritance diagram for openstudio::SpacesSubtabGridView:

Public Member Functions

 SpacesSubtabGridView (bool isIP, const model::Model &model,*parent=nullptr)
 
virtual ~SpacesSubtabGridView ()
 
- Public Member Functions inherited from openstudio::GridViewSubTab
 GridViewSubTab (bool isIP, const model::Model &model,*parent=nullptr)
 
virtual ~GridViewSubTab ()
 

Public Attributes

QComboBox * m_interiorPartitionGroupFilter = nullptr
 
QComboBox * m_loadTypeFilter = nullptr
 
QComboBox * m_outsideBoundaryConditionFilter = nullptr
 
QLineEdit * m_spaceNameFilter = nullptr
 
QComboBox * m_spaceTypeFilter = nullptr
 
QComboBox * m_storyFilter = nullptr
 
QComboBox * m_sunExposureFilter = nullptr
 
QComboBox * m_surfaceTypeFilter = nullptr
 
QComboBox * m_thermalZoneFilter = nullptr
 
QLineEdit * m_thermalZoneNameFilter = nullptr
 
QComboBox * m_windExposureFilter = nullptr
 
- Public Attributes inherited from openstudio::GridViewSubTab
openstudio::IddObjectType m_iddObjectType
 

Protected Slots

virtual void interiorPartitionGroupFilterChanged (const QString &text)
 
virtual void loadTypeFilterChanged (const QString &text)
 
virtual void outsideBoundaryConditionFilterChanged (const QString &text)
 
virtual void spaceNameFilterChanged ()
 
virtual void spaceTypeFilterChanged (const QString &text)
 
virtual void storyFilterChanged (const QString &text)
 
virtual void sunExposureFilterChanged (const QString &text)
 
virtual void surfaceTypeFilterChanged (const QString &text)
 
virtual void thermalZoneFilterChanged (const QString &text)
 
virtual void windExposureFilterChanged (const QString &text)
 
- Protected Slots inherited from openstudio::GridViewSubTab
void onAddClicked ()
 
virtual void onClearSelection ()=0
 
void onCopyClicked ()
 
void onPurgeClicked ()
 
void onRemoveClicked ()
 
virtual void onSelectItem ()=0
 
void toggleUnits (bool isIP)
 

Protected Member Functions

virtual void addObject (const openstudio::IddObjectType &iddObjectType)
 
void filterChanged ()
 
void initializeInteriorPartitionGroupFilter ()
 
void initializeLoadTypeFilter ()
 
void initializeOutsideBoundaryConditionFilter ()
 
void initializeSpaceTypeFilter ()
 
void initializeStoryFilter ()
 
void initializeSunExposureFilter ()
 
void initializeSurfaceTypeFilter ()
 
void initializeThermalZoneFilter ()
 
void initializeWindExposureFilter ()
 
virtual void purgeObjects (const openstudio::IddObjectType &iddObjectType)
 
void showInteriorPartitionGroupFilter ()
 
void showLoadTypeFilter ()
 
void showOutsideBoundaryConditionFilter ()
 
void showSpaceNameFilter ()
 
void showSpaceTypeFilter ()
 
void showStoryFilter ()
 
void showSunExposureFilter ()
 
void showSurfaceTypeFilter ()
 
void showThermalZoneFilter ()
 
void showWindExposureFilter ()
 
- Protected Member Functions inherited from openstudio::GridViewSubTab
virtual void addObject (const openstudio::model::ModelObject &modelObject)
 
virtual void copyObject (const openstudio::model::ModelObject &modelObject)
 
virtual void removeObject (openstudio::model::ModelObject modelObject)
 
virtual std::vector
< model::ModelObject > 
selectedObjects () const
 
void setGridController (OSGridController *gridController)
 
void setGridView (OSGridView *gridView)
 

Static Protected Member Functions

static openstudio::LogChannel logChannel ()
 

Protected Attributes

QGridLayout * m_filterGridLayout = nullptr
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilterdBySpaceType
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredByInteriorPartitionGroup
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredByOutsideBoundaryCondition
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredBySpaceName
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredByStory
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredBySunExposure
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredBySurfaceType
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredByThermalZone
 
std::set
< openstudio::model::ModelObject > 
m_objectsFilteredByWindExposure
 
std::vector< model::ModelObject > m_spacesModelObjects = std::vector<model::ModelObject>()
 
- Protected Attributes inherited from openstudio::GridViewSubTab
OSGridControllerm_gridController = nullptr
 
OSGridView * m_gridView = nullptr
 
bool m_isIP
 
OSItemSelectorButtonsm_itemSelectorButtons = nullptr
 
model::Model m_model
 
QVBoxLayout * m_scrollLayout = nullptr
 
bool m_supportsMultipleObjectSelection = true
 

Additional Inherited Members

- Public Slots inherited from openstudio::GridViewSubTab
void gridRowSelectionChanged (int checkState)
 
void onDropZoneItemClicked (OSItem *item)
 
- Signals inherited from openstudio::GridViewSubTab
void dropZoneItemSelected (OSItem *item, bool readOnly)
 
void selectionCleared ()
 
void toggleUnitsClicked (bool displayIP)
 

Constructor & Destructor Documentation

openstudio::SpacesSubtabGridView::SpacesSubtabGridView ( bool  isIP,
const model::Model &  model,
parent = nullptr 
)
virtual openstudio::SpacesSubtabGridView::~SpacesSubtabGridView ( )
inlinevirtual

Member Function Documentation

virtual void openstudio::SpacesSubtabGridView::addObject ( const openstudio::IddObjectType &  iddObjectType)
protectedvirtual
void openstudio::SpacesSubtabGridView::filterChanged ( )
protected
void openstudio::SpacesSubtabGridView::initializeInteriorPartitionGroupFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeLoadTypeFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeOutsideBoundaryConditionFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeSpaceTypeFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeStoryFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeSunExposureFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeSurfaceTypeFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeThermalZoneFilter ( )
protected
void openstudio::SpacesSubtabGridView::initializeWindExposureFilter ( )
protected
virtual void openstudio::SpacesSubtabGridView::interiorPartitionGroupFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::loadTypeFilterChanged ( const QString &  text)
protectedvirtualslot
static openstudio::LogChannel openstudio::SpacesSubtabGridView::logChannel ( )
inlinestaticprotected
virtual void openstudio::SpacesSubtabGridView::outsideBoundaryConditionFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::purgeObjects ( const openstudio::IddObjectType &  iddObjectType)
protectedvirtual
void openstudio::SpacesSubtabGridView::showInteriorPartitionGroupFilter ( )
protected
void openstudio::SpacesSubtabGridView::showLoadTypeFilter ( )
protected
void openstudio::SpacesSubtabGridView::showOutsideBoundaryConditionFilter ( )
protected
void openstudio::SpacesSubtabGridView::showSpaceNameFilter ( )
protected
void openstudio::SpacesSubtabGridView::showSpaceTypeFilter ( )
protected
void openstudio::SpacesSubtabGridView::showStoryFilter ( )
protected
void openstudio::SpacesSubtabGridView::showSunExposureFilter ( )
protected
void openstudio::SpacesSubtabGridView::showSurfaceTypeFilter ( )
protected
void openstudio::SpacesSubtabGridView::showThermalZoneFilter ( )
protected
void openstudio::SpacesSubtabGridView::showWindExposureFilter ( )
protected
virtual void openstudio::SpacesSubtabGridView::spaceNameFilterChanged ( )
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::spaceTypeFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::storyFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::sunExposureFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::surfaceTypeFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::thermalZoneFilterChanged ( const QString &  text)
protectedvirtualslot
virtual void openstudio::SpacesSubtabGridView::windExposureFilterChanged ( const QString &  text)
protectedvirtualslot

Member Data Documentation

QGridLayout* openstudio::SpacesSubtabGridView::m_filterGridLayout = nullptr
protected
QComboBox* openstudio::SpacesSubtabGridView::m_interiorPartitionGroupFilter = nullptr
QComboBox* openstudio::SpacesSubtabGridView::m_loadTypeFilter = nullptr
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilterdBySpaceType
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredByInteriorPartitionGroup
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredByOutsideBoundaryCondition
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredBySpaceName
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredByStory
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredBySunExposure
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredBySurfaceType
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredByThermalZone
protected
std::set<openstudio::model::ModelObject> openstudio::SpacesSubtabGridView::m_objectsFilteredByWindExposure
protected
QComboBox* openstudio::SpacesSubtabGridView::m_outsideBoundaryConditionFilter = nullptr
QLineEdit* openstudio::SpacesSubtabGridView::m_spaceNameFilter = nullptr
std::vector<model::ModelObject> openstudio::SpacesSubtabGridView::m_spacesModelObjects = std::vector<model::ModelObject>()
protected
QComboBox* openstudio::SpacesSubtabGridView::m_spaceTypeFilter = nullptr
QComboBox* openstudio::SpacesSubtabGridView::m_storyFilter = nullptr
QComboBox* openstudio::SpacesSubtabGridView::m_sunExposureFilter = nullptr
QComboBox* openstudio::SpacesSubtabGridView::m_surfaceTypeFilter = nullptr
QComboBox* openstudio::SpacesSubtabGridView::m_thermalZoneFilter = nullptr
QLineEdit* openstudio::SpacesSubtabGridView::m_thermalZoneNameFilter = nullptr
QComboBox* openstudio::SpacesSubtabGridView::m_windExposureFilter = nullptr