Navigator2Go  2.0
Manage your local Ocean Navigator installation.
WidgetMonthPicker Class Reference
Inheritance diagram for WidgetMonthPicker:
Collaboration diagram for WidgetMonthPicker:

Public Member Functions

 WidgetMonthPicker (QWidget *parent=nullptr)
 
void setStartEndDate (const QDate &start, const QDate &end)
 
NODISCARD std::pair< QDate, QDate > getStartEndDate () const
 

Private Slots

void on_comboBoxStartMonth_currentIndexChanged (int index)
 
void on_comboBoxEndMonth_currentIndexChanged (int index)
 
void on_comboBoxStartYear_currentIndexChanged (const QString &arg1)
 
void on_comboBoxEndYear_currentIndexChanged (const QString &arg1)
 

Private Member Functions

void populateMonth (const int year, QComboBox *comboBox)
 
void validateMonthSelection ()
 

Private Attributes

Ui::WidgetMonthPicker * m_ui {nullptr}
 Pointer to UI widgets.
 
QDate m_startDate
 
QDate m_endDate
 
bool m_showErrorDialog {false}
 

The documentation for this class was generated from the following files: