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

#include <ModelObjectListView.hpp>

+ Inheritance diagram for openstudio::ModelObjectListView:

Public Member Functions

IddObjectType iddObjectType () const
 
 ModelObjectListView (const openstudio::IddObjectType &iddObjectType, const model::Model &model, bool addScrollArea, bool showLocalBCL=false,*parent=nullptr)
 
boost::optional
< openstudio::model::ModelObject > 
selectedModelObject () const
 
virtual ~ModelObjectListView ()
 
- Public Member Functions inherited from openstudio::OSItemList
OSItemfirstItem ()
 
std::vector< OSItem * > items ()
 
bool itemsDraggable () const
 
bool itemsRemoveable () const
 
OSItemType itemsType () const
 
OSItemlastItem ()
 
 OSItemList (OSVectorController *vectorController, bool addScrollArea,*parent=nullptr)
 
OSItemselectedItem () const override
 
void setItemsDraggable (bool itemsDraggable)
 
void setItemsRemoveable (bool itemsRemoveable)
 
void setItemsType (OSItemType type)
 
OSVectorControllervectorController () const
 
virtual ~OSItemList ()
 
- Public Member Functions inherited from openstudio::OSItemSelector
virtual ~OSItemSelector ()
 

Additional Inherited Members

- Public Slots inherited from openstudio::OSItemList
void addItem (OSItem *item, bool selectItem=true)
 
void clearSelection ()
 
void selectItem (OSItem *item)
 
void selectItemId (const OSItemId &itemId)
 
- Signals inherited from openstudio::OSItemList
void itemsRequested ()
 
- 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::OSItemList
void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::ModelObjectListView::ModelObjectListView ( const openstudio::IddObjectType &  iddObjectType,
const model::Model &  model,
bool  addScrollArea,
bool  showLocalBCL = false,
parent = nullptr 
)
virtual openstudio::ModelObjectListView::~ModelObjectListView ( )
inlinevirtual

Member Function Documentation

IddObjectType openstudio::ModelObjectListView::iddObjectType ( ) const
boost::optional<openstudio::model::ModelObject> openstudio::ModelObjectListView::selectedModelObject ( ) const