![]()  | 
  
    Qt 6.x
    
   The Qt SDK 
   | 
 
 Inheritance diagram for QtPrivate::QCalendarYearValidator:
 Collaboration diagram for QtPrivate::QCalendarYearValidator:Public Member Functions | |
| QCalendarYearValidator () | |
| virtual Section | handleKey (int key) override | 
| virtual QDate | applyToDate (QDate date, QCalendar cal) const override | 
| virtual void | setDate (QDate date, QCalendar cal) override | 
| virtual QString | text () const override | 
| virtual QString | text (QDate date, QCalendar cal, int repeat) const override | 
  Public Member Functions inherited from QtPrivate::QCalendarDateSectionValidator | |
| QCalendarDateSectionValidator () | |
| virtual | ~QCalendarDateSectionValidator () | 
| virtual Section | handleKey (int key)=0 | 
| virtual QDate | applyToDate (QDate date, QCalendar cal=QCalendar()) const =0 | 
| virtual void | setDate (QDate date, QCalendar cal=QCalendar())=0 | 
| virtual QString | text () const =0 | 
| virtual QString | text (QDate date, QCalendar cal, int repeat) const =0 | 
Additional Inherited Members | |
  Public Types inherited from QtPrivate::QCalendarDateSectionValidator | |
| enum | Section { NextSection , ThisSection , PrevSection } | 
  Public Attributes inherited from QtPrivate::QCalendarDateSectionValidator | |
| QLocale | m_locale | 
  Static Protected Member Functions inherited from QtPrivate::QCalendarDateSectionValidator | |
| static QString | highlightString (const QString &str, int pos) | 
Definition at line 293 of file qcalendarwidget.cpp.
| QtPrivate::QCalendarYearValidator::QCalendarYearValidator | ( | ) | 
Definition at line 310 of file qcalendarwidget.cpp.
      
  | 
  overridevirtual | 
Implements QtPrivate::QCalendarDateSectionValidator.
Definition at line 363 of file qcalendarwidget.cpp.
References date, QCalendar::dateFromParts(), QCalendar::daysInMonth(), QCalendar::partsFromDate(), qMax(), and qMin().
 Here is the call graph for this function:
      
  | 
  overridevirtual | 
Implements QtPrivate::QCalendarDateSectionValidator.
Definition at line 325 of file qcalendarwidget.cpp.
References Qt::Key_0, Qt::Key_9, Qt::Key_Back, Qt::Key_Backspace, Qt::Key_Down, Qt::Key_Left, Qt::Key_Right, Qt::Key_Up, QtPrivate::QCalendarDateSectionValidator::NextSection, QtPrivate::QCalendarDateSectionValidator::PrevSection, and QtPrivate::QCalendarDateSectionValidator::ThisSection.
Implements QtPrivate::QCalendarDateSectionValidator.
Definition at line 374 of file qcalendarwidget.cpp.
References date, and QDate::year().
Referenced by QtPrivate::QCalendarDateValidator::setInitialDate().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  overridevirtual | 
Implements QtPrivate::QCalendarDateSectionValidator.
Definition at line 380 of file qcalendarwidget.cpp.
References formatNumber(), and QtPrivate::QCalendarDateSectionValidator::highlightString().
 Here is the call graph for this function:
      
  | 
  overridevirtual | 
Implements QtPrivate::QCalendarDateSectionValidator.
Definition at line 385 of file qcalendarwidget.cpp.
References date, formatNumber(), QString::number(), and QDate::year().
 Here is the call graph for this function: