OpenStudioCore:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Signals | Public Member Functions | Protected Member Functions | List of all members
openstudio::ScheduleTabHeader Class Reference

#include <SchedulesView.hpp>

Signals

void scheduleClicked (const model::ScheduleRuleset &schedule)
 
void toggleHeaderClicked (bool close)
 

Public Member Functions

void collapse ()
 
void expand ()
 
ScheduleTabscheduleTab () const
 
 ScheduleTabHeader (ScheduleTab *scheduleTab,*parent=nullptr)
 
void setSelected (bool selected)
 
void setText (const QString &text)
 
void toggle ()
 
virtual ~ScheduleTabHeader ()
 

Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 

Constructor & Destructor Documentation

openstudio::ScheduleTabHeader::ScheduleTabHeader ( ScheduleTab scheduleTab,
parent = nullptr 
)
virtual openstudio::ScheduleTabHeader::~ScheduleTabHeader ( )
inlinevirtual

Member Function Documentation

void openstudio::ScheduleTabHeader::collapse ( )
void openstudio::ScheduleTabHeader::expand ( )
void openstudio::ScheduleTabHeader::mousePressEvent ( QMouseEvent *  event)
overrideprotected
void openstudio::ScheduleTabHeader::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected
void openstudio::ScheduleTabHeader::paintEvent ( QPaintEvent *  event)
overrideprotected
void openstudio::ScheduleTabHeader::resizeEvent ( QResizeEvent *  event)
overrideprotected
void openstudio::ScheduleTabHeader::scheduleClicked ( const model::ScheduleRuleset &  schedule)
signal
ScheduleTab* openstudio::ScheduleTabHeader::scheduleTab ( ) const
void openstudio::ScheduleTabHeader::setSelected ( bool  selected)
void openstudio::ScheduleTabHeader::setText ( const QString &  text)
void openstudio::ScheduleTabHeader::toggle ( )
void openstudio::ScheduleTabHeader::toggleHeaderClicked ( bool  close)
signal