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

#include <SchedulesView.hpp>

Public Slots

bool isIP () const
 
void setCurrentSchedule (const model::ScheduleRuleset &schedule)
 
void showAddRulePage (const model::ScheduleRuleset &schedule)
 
void showDefaultScheduleDay (const model::ScheduleRuleset &schedule)
 
void showEmptyPage ()
 
void showScheduleRule (model::ScheduleRule scheduleRule)
 
void showScheduleRuleset (const model::ScheduleRuleset &schedule)
 
void showSummerScheduleDay (model::ScheduleRuleset schedule)
 
void showWinterScheduleDay (model::ScheduleRuleset schedule)
 
void toggleUnits (bool displayIP)
 

Signals

void addRuleClicked (model::ScheduleRuleset &scheduleRuleset, UUID dayScheduleHandle)
 
void addScheduleClicked ()
 
void addSummerProfileClicked (model::ScheduleRuleset &scheduleRuleset, UUID dayScheduleHandle)
 
void addWinterProfileClicked (model::ScheduleRuleset &scheduleRuleset, UUID dayScheduleHandle)
 
void changeVerticalAxisClicked (model::ScheduleDay scheduleDay)
 
void copySelectedScheduleClicked ()
 
void dayScheduleSceneChanged (DayScheduleScene *scene, double lowerValue, double upperValue)
 
void downloadComponentsClicked ()
 
void endDateTimeChanged (model::ScheduleRule &scheduleRule, const QDateTime &newDate)
 
void itemDropped (const OSItemId &itemId)
 
void modelObjectSelected (model::OptionalModelObject &modelObject, bool readOnly)
 
void openLibDlgClicked ()
 
void purgeUnusedScheduleRulesetsClicked ()
 
void removeScheduleRuleClicked (model::ScheduleRule &scheduleRule)
 
void removeSelectedScheduleClicked ()
 
void startDateTimeChanged (model::ScheduleRule &scheduleRule, const QDateTime &newDate)
 
void toggleUnitsClicked (bool displayIP)
 

Public Member Functions

void closeAllTabs () const
 
boost::optional
< model::ScheduleRuleset > 
currentSchedule ()
 
 SchedulesView (bool isIP, const model::Model &model)
 
ScheduleTabtabForSchedule (const model::ScheduleRuleset schedule) const
 
virtual ~SchedulesView ()
 

Static Public Member Functions

static std::vector< QColor > initializeColors ()
 

Static Public Attributes

static const std::vector< QColor > colors
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::SchedulesView::SchedulesView ( bool  isIP,
const model::Model &  model 
)
virtual openstudio::SchedulesView::~SchedulesView ( )
inlinevirtual

Member Function Documentation

void openstudio::SchedulesView::addRuleClicked ( model::ScheduleRuleset &  scheduleRuleset,
UUID  dayScheduleHandle 
)
signal
void openstudio::SchedulesView::addScheduleClicked ( )
signal
void openstudio::SchedulesView::addSummerProfileClicked ( model::ScheduleRuleset &  scheduleRuleset,
UUID  dayScheduleHandle 
)
signal
void openstudio::SchedulesView::addWinterProfileClicked ( model::ScheduleRuleset &  scheduleRuleset,
UUID  dayScheduleHandle 
)
signal
void openstudio::SchedulesView::changeVerticalAxisClicked ( model::ScheduleDay  scheduleDay)
signal
void openstudio::SchedulesView::closeAllTabs ( ) const
void openstudio::SchedulesView::copySelectedScheduleClicked ( )
signal
boost::optional<model::ScheduleRuleset> openstudio::SchedulesView::currentSchedule ( )
void openstudio::SchedulesView::dayScheduleSceneChanged ( DayScheduleScene scene,
double  lowerValue,
double  upperValue 
)
signal
void openstudio::SchedulesView::downloadComponentsClicked ( )
signal
void openstudio::SchedulesView::endDateTimeChanged ( model::ScheduleRule &  scheduleRule,
const QDateTime &  newDate 
)
signal
static std::vector<QColor> openstudio::SchedulesView::initializeColors ( )
static
bool openstudio::SchedulesView::isIP ( ) const
slot
void openstudio::SchedulesView::itemDropped ( const OSItemId itemId)
signal
void openstudio::SchedulesView::modelObjectSelected ( model::OptionalModelObject &  modelObject,
bool  readOnly 
)
signal
void openstudio::SchedulesView::openLibDlgClicked ( )
signal
void openstudio::SchedulesView::paintEvent ( QPaintEvent *  event)
overrideprotected
void openstudio::SchedulesView::purgeUnusedScheduleRulesetsClicked ( )
signal
void openstudio::SchedulesView::removeScheduleRuleClicked ( model::ScheduleRule &  scheduleRule)
signal
void openstudio::SchedulesView::removeSelectedScheduleClicked ( )
signal
void openstudio::SchedulesView::setCurrentSchedule ( const model::ScheduleRuleset &  schedule)
slot
void openstudio::SchedulesView::showAddRulePage ( const model::ScheduleRuleset &  schedule)
slot
void openstudio::SchedulesView::showDefaultScheduleDay ( const model::ScheduleRuleset &  schedule)
slot
void openstudio::SchedulesView::showEmptyPage ( )
slot
void openstudio::SchedulesView::showScheduleRule ( model::ScheduleRule  scheduleRule)
slot
void openstudio::SchedulesView::showScheduleRuleset ( const model::ScheduleRuleset &  schedule)
slot
void openstudio::SchedulesView::showSummerScheduleDay ( model::ScheduleRuleset  schedule)
slot
void openstudio::SchedulesView::showWinterScheduleDay ( model::ScheduleRuleset  schedule)
slot
void openstudio::SchedulesView::startDateTimeChanged ( model::ScheduleRule &  scheduleRule,
const QDateTime &  newDate 
)
signal
ScheduleTab* openstudio::SchedulesView::tabForSchedule ( const model::ScheduleRuleset  schedule) const
void openstudio::SchedulesView::toggleUnits ( bool  displayIP)
slot
void openstudio::SchedulesView::toggleUnitsClicked ( bool  displayIP)
signal

Member Data Documentation

const std::vector<QColor> openstudio::SchedulesView::colors
static