OpenStudio:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | Protected Member Functions | List of all members
openstudio::ModelObjectTreeWidget Class Referenceabstract

#include <ModelObjectTreeWidget.hpp>

+ Inheritance diagram for openstudio::ModelObjectTreeWidget:

Public Member Functions

openstudio::model::Model model () const
 
 ModelObjectTreeWidget (const model::Model &model,*parent=nullptr)
 
virtual OSItemselectedItem () const override
 
treeWidget () const
 
QVBoxLayout * vLayout () const
 
virtual ~ModelObjectTreeWidget ()
 
- Public Member Functions inherited from openstudio::OSItemSelector
virtual ~OSItemSelector ()
 

Protected Member Functions

virtual void onObjectAdded (const openstudio::model::ModelObject &modelObject, const openstudio::IddObjectType &iddObjectType, const openstudio::UUID &handle)=0
 
virtual void onObjectRemoved (const openstudio::model::ModelObject &modelObject, const openstudio::IddObjectType &iddObjectType, const openstudio::UUID &handle)=0
 
void refresh ()
 

Additional Inherited Members

- 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
 

Constructor & Destructor Documentation

openstudio::ModelObjectTreeWidget::ModelObjectTreeWidget ( const model::Model &  model,
parent = nullptr 
)
virtual openstudio::ModelObjectTreeWidget::~ModelObjectTreeWidget ( )
inlinevirtual

Member Function Documentation

openstudio::model::Model openstudio::ModelObjectTreeWidget::model ( ) const
virtual void openstudio::ModelObjectTreeWidget::onObjectAdded ( const openstudio::model::ModelObject &  modelObject,
const openstudio::IddObjectType &  iddObjectType,
const openstudio::UUID &  handle 
)
protectedpure virtual
virtual void openstudio::ModelObjectTreeWidget::onObjectRemoved ( const openstudio::model::ModelObject &  modelObject,
const openstudio::IddObjectType &  iddObjectType,
const openstudio::UUID &  handle 
)
protectedpure virtual
void openstudio::ModelObjectTreeWidget::refresh ( )
protected
virtual OSItem* openstudio::ModelObjectTreeWidget::selectedItem ( ) const
overridevirtual
* openstudio::ModelObjectTreeWidget::treeWidget ( ) const
QVBoxLayout* openstudio::ModelObjectTreeWidget::vLayout ( ) const