digiKam
Digikam::DatePickerYearSelector Class Reference
+ Inheritance diagram for Digikam::DatePickerYearSelector:

Public Slots

void yearEnteredSlot ()
 

Signals

void closeMe (int)
 

Public Member Functions

 DatePickerYearSelector (const QDate &currentDate, QWidget *const parent=nullptr)
 
void setYear (int year)
 
int year () const
 

Protected Attributes

int result
 
QIntValidator * val
 

Constructor & Destructor Documentation

◆ DatePickerYearSelector()

Digikam::DatePickerYearSelector::DatePickerYearSelector ( const QDate &  currentDate,
QWidget *const  parent = nullptr 
)
explicit

NOTE: Week numbers are defined by ISO 8601 See https://en.wikipedia.org/wiki/Week#Week_numbering for details

References val, and yearEnteredSlot().

Member Function Documentation

◆ closeMe

void Digikam::DatePickerYearSelector::closeMe ( int  )
signal

Referenced by yearEnteredSlot().

◆ setYear()

void Digikam::DatePickerYearSelector::setYear ( int  year)

◆ year()

int Digikam::DatePickerYearSelector::year ( ) const

◆ yearEnteredSlot

void Digikam::DatePickerYearSelector::yearEnteredSlot ( )
slot

References closeMe(), and result.

Referenced by DatePickerYearSelector().

Member Data Documentation

◆ result

int Digikam::DatePickerYearSelector::result
protected

Referenced by year(), and yearEnteredSlot().

◆ val

QIntValidator* Digikam::DatePickerYearSelector::val
protected

Referenced by DatePickerYearSelector().


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