digiKam
Digikam::DDatePicker::Private Class Reference

Public Member Functions

void fillWeeksCombo ()
 
 Private (DDatePicker *const qq)
 
QDate validDateInYearMonth (int year, int month)
 

Public Attributes

QToolButton * closeButton
 
int fontsize
 the font size for the widget More...
 
QLineEdit * line
 the line edit to enter the date directly More...
 
QSize maxMonthRect
 the widest month string in pixels: More...
 
QToolButton * monthBackward
 the month backward button More...
 
QToolButton * monthForward
 the month forward button More...
 
QBoxLayout * navigationLayout
 
DDatePickerq
 the date table More...
 
QToolButton * selectMonth
 the button for selecting the month directly More...
 
QComboBox * selectWeek
 
QToolButton * selectYear
 the button for selecting the year directly More...
 
DDateTabletable
 the date table More...
 
QToolButton * todayButton
 
DatePickerValidatorval
 the validator for the line edit: More...
 
QToolButton * yearBackward
 the year backward button More...
 
QToolButton * yearForward
 the year forward button More...
 

Constructor & Destructor Documentation

◆ Private()

Digikam::DDatePicker::Private::Private ( DDatePicker *const  qq)
explicit

Member Function Documentation

◆ fillWeeksCombo()

void Digikam::DDatePicker::Private::fillWeeksCombo ( )

NOTE: every year can have a different number of weeks it could be that we had 53,1..52 and now 1..53 which is the same number but different so always fill with new values We show all week numbers for all weeks between first day of year to last day of year This of course can be a list like 53,1,2..52

Referenced by Digikam::DDatePicker::dateChangedSlot().

◆ validDateInYearMonth()

QDate Digikam::DDatePicker::Private::validDateInYearMonth ( int  year,
int  month 
)

Member Data Documentation

◆ closeButton

QToolButton* Digikam::DDatePicker::Private::closeButton

◆ fontsize

int Digikam::DDatePicker::Private::fontsize

the font size for the widget

Referenced by Digikam::DDatePicker::fontSize(), and Digikam::DDatePicker::setFontSize().

◆ line

QLineEdit* Digikam::DDatePicker::Private::line

the line edit to enter the date directly

Referenced by Digikam::DDatePicker::dateChangedSlot(), and Digikam::DDatePicker::lineEnterPressed().

◆ maxMonthRect

QSize Digikam::DDatePicker::Private::maxMonthRect

the widest month string in pixels:

Referenced by Digikam::DDatePicker::setFontSize().

◆ monthBackward

QToolButton* Digikam::DDatePicker::Private::monthBackward

the month backward button

◆ monthForward

QToolButton* Digikam::DDatePicker::Private::monthForward

the month forward button

◆ navigationLayout

QBoxLayout* Digikam::DDatePicker::Private::navigationLayout

◆ q

DDatePicker* Digikam::DDatePicker::Private::q

the date table

◆ selectMonth

QToolButton* Digikam::DDatePicker::Private::selectMonth

◆ selectWeek

QComboBox* Digikam::DDatePicker::Private::selectWeek

◆ selectYear

QToolButton* Digikam::DDatePicker::Private::selectYear

◆ table

◆ todayButton

QToolButton* Digikam::DDatePicker::Private::todayButton

◆ val

DatePickerValidator* Digikam::DDatePicker::Private::val

the validator for the line edit:

◆ yearBackward

QToolButton* Digikam::DDatePicker::Private::yearBackward

the year backward button

◆ yearForward

QToolButton* Digikam::DDatePicker::Private::yearForward

the year forward button


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