OpenStudio:shared_gui_components
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
openstudio::ComponentList Class Reference

#include <ComponentList.hpp>

Signals

void componentClicked (bool checked)
 

Public Member Functions

void addComponent (Component *component)
 
ComponentcheckedComponent () const
 
 ComponentList (const std::vector< Component * > &components,*parent=nullptr)
 
std::vector< Component * > components ()
 
ComponentfirstComponent ()
 
ComponentlastComponent ()
 
virtual ~ComponentList ()
 

Public Attributes

ComponentListparent
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::ComponentList::ComponentList ( const std::vector< Component * > &  components,
parent = nullptr 
)
virtual openstudio::ComponentList::~ComponentList ( )
inlinevirtual

Member Function Documentation

void openstudio::ComponentList::addComponent ( Component component)
Component* openstudio::ComponentList::checkedComponent ( ) const
void openstudio::ComponentList::componentClicked ( bool  checked)
signal
std::vector<Component *> openstudio::ComponentList::components ( )
Component* openstudio::ComponentList::firstComponent ( )
Component* openstudio::ComponentList::lastComponent ( )
void openstudio::ComponentList::paintEvent ( QPaintEvent *  event)
overrideprotected

Member Data Documentation

ComponentList * openstudio::ComponentList::parent