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

#include <YearSettingsWidget.hpp>

Public Slots

void scheduleRefresh ()
 

Signals

void calendarYearSelected (int year)
 
void daylightSavingTimeClicked (bool enabled)
 
void dstEndDateChanged (const QDate &newdate)
 
void dstEndDayOfWeekAndMonthChanged (int newWeek, int newDay, int newMonth)
 
void dstStartDateChanged (const QDate &newdate)
 
void dstStartDayOfWeekAndMonthChanged (int newWeek, int intDay, int newMonth)
 
void firstDayofYearSelected (const QString &firstDayofYear)
 

Public Member Functions

bool calendarYearChecked ()
 
 YearSettingsWidget (const model::Model &model,*parent=nullptr)
 
virtual ~YearSettingsWidget ()
 

Static Public Member Functions

static std::vector< std::string > daysOfWeek ()
 
static std::vector< std::string > months ()
 
static std::vector< std::string > weeksInMonth ()
 

Static Public Attributes

static const int FIRSTYEAR
 
static const int LASTYEAR
 

Constructor & Destructor Documentation

openstudio::YearSettingsWidget::YearSettingsWidget ( const model::Model &  model,
parent = nullptr 
)
virtual openstudio::YearSettingsWidget::~YearSettingsWidget ( )
inlinevirtual

Member Function Documentation

bool openstudio::YearSettingsWidget::calendarYearChecked ( )
void openstudio::YearSettingsWidget::calendarYearSelected ( int  year)
signal
void openstudio::YearSettingsWidget::daylightSavingTimeClicked ( bool  enabled)
signal
static std::vector<std::string> openstudio::YearSettingsWidget::daysOfWeek ( )
static
void openstudio::YearSettingsWidget::dstEndDateChanged ( const QDate &  newdate)
signal
void openstudio::YearSettingsWidget::dstEndDayOfWeekAndMonthChanged ( int  newWeek,
int  newDay,
int  newMonth 
)
signal
void openstudio::YearSettingsWidget::dstStartDateChanged ( const QDate &  newdate)
signal
void openstudio::YearSettingsWidget::dstStartDayOfWeekAndMonthChanged ( int  newWeek,
int  intDay,
int  newMonth 
)
signal
void openstudio::YearSettingsWidget::firstDayofYearSelected ( const QString &  firstDayofYear)
signal
static std::vector<std::string> openstudio::YearSettingsWidget::months ( )
static
void openstudio::YearSettingsWidget::scheduleRefresh ( )
slot
static std::vector<std::string> openstudio::YearSettingsWidget::weeksInMonth ( )
static

Member Data Documentation

const int openstudio::YearSettingsWidget::FIRSTYEAR
static
const int openstudio::YearSettingsWidget::LASTYEAR
static