OpenStudio:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | List of all members
openstudio::ModelObjectTypeListView Class Reference

#include <ModelObjectTypeListView.hpp>

+ Inheritance diagram for openstudio::ModelObjectTypeListView:

Public Member Functions

void addModelObjectType (const IddObjectType &iddObjectType, const std::string &name)
 
virtual IddObjectType currentIddObjectType () const
 
 ModelObjectTypeListView (const model::Model &model, bool addScrollArea, OSItemType headerType, bool showLocalBCL=false,*parent=nullptr)
 
 ModelObjectTypeListView (const std::vector< std::pair< IddObjectType, std::string > > &modelObjectTypesAndNames, const model::Model &model, bool addScrollArea, OSItemType headerType, bool showLocalBCL=false,*parent=nullptr)
 
virtual boost::optional
< openstudio::model::ModelObject > 
selectedModelObject () const
 
virtual ~ModelObjectTypeListView ()
 
- Public Member Functions inherited from openstudio::OSCollapsibleItemList
void addCollapsibleItem (OSCollapsibleItem *collapsibleItem)
 
bool itemsDraggable () const
 
bool itemsRemoveable () const
 
OSItemType itemsType () const
 
 OSCollapsibleItemList (bool addScrollArea,*parent=nullptr)
 
OSCollapsibleItemselectedCollapsibleItem () const
 
OSItemselectedItem () const override
 
void setItemsDraggable (bool itemsDraggable)
 
void setItemsRemoveable (bool itemsRemoveable)
 
void setItemsType (OSItemType type)
 
void setShowFilterLayout (const bool showFilterLayout)
 
bool showFilterLayout () const
 
virtual ~OSCollapsibleItemList ()
 
- Public Member Functions inherited from openstudio::OSItemSelector
virtual ~OSItemSelector ()
 

Additional Inherited Members

- Signals inherited from openstudio::OSCollapsibleItemList
void openLibDlgClicked ()
 
- Signals inherited from openstudio::OSItemSelector
void itemRemoveClicked (OSItem *item)
 
void itemReplacementDropped (OSItem *currentItem, const OSItemId &replacementItemId)
 
void itemSelected (OSItem *item)
 
void selectionCleared ()
 
- Public Attributes inherited from openstudio::OSItemSelector
OSItemSelectorparent
 
- Protected Member Functions inherited from openstudio::OSCollapsibleItemList
void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::ModelObjectTypeListView::ModelObjectTypeListView ( const model::Model &  model,
bool  addScrollArea,
OSItemType  headerType,
bool  showLocalBCL = false,
parent = nullptr 
)
openstudio::ModelObjectTypeListView::ModelObjectTypeListView ( const std::vector< std::pair< IddObjectType, std::string > > &  modelObjectTypesAndNames,
const model::Model &  model,
bool  addScrollArea,
OSItemType  headerType,
bool  showLocalBCL = false,
parent = nullptr 
)
virtual openstudio::ModelObjectTypeListView::~ModelObjectTypeListView ( )
inlinevirtual

Member Function Documentation

void openstudio::ModelObjectTypeListView::addModelObjectType ( const IddObjectType &  iddObjectType,
const std::string &  name 
)
virtual IddObjectType openstudio::ModelObjectTypeListView::currentIddObjectType ( ) const
virtual
virtual boost::optional<openstudio::model::ModelObject> openstudio::ModelObjectTypeListView::selectedModelObject ( ) const
virtual