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::CollapsibleComponentList Class Reference

#include <CollapsibleComponentList.hpp>

Signals

void collapsibleComponentClicked (bool checked)
 
void componentClicked (bool checked)
 
void getComponentsByPage (int pageNum)
 
void headerClicked (bool checked)
 

Public Member Functions

void addCollapsibleComponent (CollapsibleComponent *collapsibleComponent)
 
CollapsibleComponentcheckedCollapsibleComponent () const
 
ComponentcheckedComponent () const
 
 CollapsibleComponentList (const std::vector< CollapsibleComponent * > &collapsibleComponents,*parent=nullptr)
 
std::vector
< CollapsibleComponent * > 
collapsibleComponents ()
 
std::vector< Component * > components ()
 
CollapsibleComponentfirstCollapsibleComponent ()
 
void firstPage ()
 ! set the page nav to display first page (pageIdx = 0) More...
 
CollapsibleComponentlastCollapsibleComponent ()
 
void setNumPages (int numPages)
 
void setNumResults (int numResults)
 
void setText (const QString &text)
 
virtual ~CollapsibleComponentList ()
 

Public Attributes

CollapsibleComponentListparent
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::CollapsibleComponentList::CollapsibleComponentList ( const std::vector< CollapsibleComponent * > &  collapsibleComponents,
parent = nullptr 
)
virtual openstudio::CollapsibleComponentList::~CollapsibleComponentList ( )
inlinevirtual

Member Function Documentation

void openstudio::CollapsibleComponentList::addCollapsibleComponent ( CollapsibleComponent collapsibleComponent)
CollapsibleComponent* openstudio::CollapsibleComponentList::checkedCollapsibleComponent ( ) const
Component* openstudio::CollapsibleComponentList::checkedComponent ( ) const
void openstudio::CollapsibleComponentList::collapsibleComponentClicked ( bool  checked)
signal
std::vector<CollapsibleComponent *> openstudio::CollapsibleComponentList::collapsibleComponents ( )
void openstudio::CollapsibleComponentList::componentClicked ( bool  checked)
signal
std::vector<Component *> openstudio::CollapsibleComponentList::components ( )
CollapsibleComponent* openstudio::CollapsibleComponentList::firstCollapsibleComponent ( )
void openstudio::CollapsibleComponentList::firstPage ( )

! set the page nav to display first page (pageIdx = 0)

void openstudio::CollapsibleComponentList::getComponentsByPage ( int  pageNum)
signal
void openstudio::CollapsibleComponentList::headerClicked ( bool  checked)
signal
CollapsibleComponent* openstudio::CollapsibleComponentList::lastCollapsibleComponent ( )
void openstudio::CollapsibleComponentList::paintEvent ( QPaintEvent *  event)
overrideprotected
void openstudio::CollapsibleComponentList::setNumPages ( int  numPages)
void openstudio::CollapsibleComponentList::setNumResults ( int  numResults)
void openstudio::CollapsibleComponentList::setText ( const QString &  text)

Member Data Documentation

CollapsibleComponentList * openstudio::CollapsibleComponentList::parent