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

#include <ScheduleDayView.hpp>

+ Inheritance diagram for openstudio::DayScheduleScene:

Public Slots

void scheduleRefresh ()
 

Public Member Functions

void addSegment (double untilTime, double value)
 
CalendarSegmentItemaddSegment (double untilTime)
 
void clearSegments ()
 
 DayScheduleScene (ScheduleDayView *scheduleRuleView, const model::ScheduleDay &scheduleDay)
 
model::ScheduleDay scheduleDay () const
 
ScheduleDayViewscheduleDayView () const
 
CalendarSegmentItemsegmentAt (double time) const
 
QGraphicsItemsegmentAt (double x, double y, double zoom) const
 
std::vector
< CalendarSegmentItem * > 
segments () const
 
double timeAt (double x) const
 
boost::optional< double > valueAt (double time) const
 
double xAt (double time) const
 
virtual ~DayScheduleScene ()
 

Constructor & Destructor Documentation

openstudio::DayScheduleScene::DayScheduleScene ( ScheduleDayView scheduleRuleView,
const model::ScheduleDay &  scheduleDay 
)
virtual openstudio::DayScheduleScene::~DayScheduleScene ( )
inlinevirtual

Member Function Documentation

void openstudio::DayScheduleScene::addSegment ( double  untilTime,
double  value 
)
CalendarSegmentItem* openstudio::DayScheduleScene::addSegment ( double  untilTime)
void openstudio::DayScheduleScene::clearSegments ( )
model::ScheduleDay openstudio::DayScheduleScene::scheduleDay ( ) const
ScheduleDayView* openstudio::DayScheduleScene::scheduleDayView ( ) const
void openstudio::DayScheduleScene::scheduleRefresh ( )
slot
CalendarSegmentItem* openstudio::DayScheduleScene::segmentAt ( double  time) const
QGraphicsItem* openstudio::DayScheduleScene::segmentAt ( double  x,
double  y,
double  zoom 
) const
std::vector<CalendarSegmentItem *> openstudio::DayScheduleScene::segments ( ) const
double openstudio::DayScheduleScene::timeAt ( double  x) const
boost::optional<double> openstudio::DayScheduleScene::valueAt ( double  time) const
double openstudio::DayScheduleScene::xAt ( double  time) const