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

#include <UtilityBillAllFuelTypesListView.hpp>

+ Inheritance diagram for openstudio::UtilityBillAllFuelTypesListView:

Public Member Functions

void addModelObjectType (const IddObjectType &iddObjectType, const std::string &name)
 
void addUtilityBillFuelType (const FuelType &fuelType, const std::string &name)
 
FuelType currentFuelType () const
 
boost::optional
< openstudio::FuelType > 
selectedFuelType () const
 
virtual boost::optional
< openstudio::model::ModelObject > 
selectedModelObject () const
 
 UtilityBillAllFuelTypesListView (const model::Model &model, bool addScrollArea, OSItemType headerType,*parent=nullptr)
 
 UtilityBillAllFuelTypesListView (const std::vector< std::pair< FuelType, std::string > > &utilityBillFuelTypesAndNames, const model::Model &model, bool addScrollArea, OSItemType headerType,*parent=nullptr)
 
virtual ~UtilityBillAllFuelTypesListView ()
 
- 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::UtilityBillAllFuelTypesListView::UtilityBillAllFuelTypesListView ( const model::Model &  model,
bool  addScrollArea,
OSItemType  headerType,
parent = nullptr 
)
openstudio::UtilityBillAllFuelTypesListView::UtilityBillAllFuelTypesListView ( const std::vector< std::pair< FuelType, std::string > > &  utilityBillFuelTypesAndNames,
const model::Model &  model,
bool  addScrollArea,
OSItemType  headerType,
parent = nullptr 
)
virtual openstudio::UtilityBillAllFuelTypesListView::~UtilityBillAllFuelTypesListView ( )
inlinevirtual

Member Function Documentation

void openstudio::UtilityBillAllFuelTypesListView::addModelObjectType ( const IddObjectType &  iddObjectType,
const std::string &  name 
)
void openstudio::UtilityBillAllFuelTypesListView::addUtilityBillFuelType ( const FuelType &  fuelType,
const std::string &  name 
)
FuelType openstudio::UtilityBillAllFuelTypesListView::currentFuelType ( ) const
boost::optional<openstudio::FuelType> openstudio::UtilityBillAllFuelTypesListView::selectedFuelType ( ) const
virtual boost::optional<openstudio::model::ModelObject> openstudio::UtilityBillAllFuelTypesListView::selectedModelObject ( ) const
virtual