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

#include <CollapsibleComponent.hpp>

+ Inheritance diagram for openstudio::CollapsibleComponent:

Signals

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

Public Member Functions

 CollapsibleComponent (CollapsibleComponentHeader *collapsibleComponentHeader, ComponentList *componentList,*parent=nullptr)
 
CollapsibleComponentHeadercollapsibleComponentHeader () const
 
ComponentListcomponentList () const
 
bool expanded () const
 
void firstPage ()
 
void setExpanded (bool expanded)
 
void setNumPages (int numPages)
 
void setNumResults (int numResults)
 
void setText (const QString &text)
 
virtual ~CollapsibleComponent ()
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::CollapsibleComponent::CollapsibleComponent ( CollapsibleComponentHeader collapsibleComponentHeader,
ComponentList componentList,
parent = nullptr 
)
virtual openstudio::CollapsibleComponent::~CollapsibleComponent ( )
inlinevirtual

Member Function Documentation

CollapsibleComponentHeader* openstudio::CollapsibleComponent::collapsibleComponentHeader ( ) const
void openstudio::CollapsibleComponent::componentClicked ( bool  )
signal
ComponentList* openstudio::CollapsibleComponent::componentList ( ) const
bool openstudio::CollapsibleComponent::expanded ( ) const
void openstudio::CollapsibleComponent::firstPage ( )
void openstudio::CollapsibleComponent::getComponentsByPage ( int  pageNum)
signal
void openstudio::CollapsibleComponent::headerClicked ( bool  )
signal
void openstudio::CollapsibleComponent::paintEvent ( QPaintEvent *  event)
overrideprotected
void openstudio::CollapsibleComponent::setExpanded ( bool  expanded)
void openstudio::CollapsibleComponent::setNumPages ( int  numPages)
void openstudio::CollapsibleComponent::setNumResults ( int  numResults)
void openstudio::CollapsibleComponent::setText ( const QString &  text)