Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPrivate::QCalendarMonthValidator Class Reference
+ Inheritance diagram for QtPrivate::QCalendarMonthValidator:
+ Collaboration diagram for QtPrivate::QCalendarMonthValidator:

Public Member Functions

 QCalendarMonthValidator ()
 
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
 
 QCalendarMonthValidator ()
 
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 ()
 
 QCalendarDateSectionValidator ()
 
virtual ~QCalendarDateSectionValidator ()
 

Additional Inherited Members

- Public Types inherited from QtPrivate::QCalendarDateSectionValidator
enum  Section {
  NextSection , ThisSection , PrevSection , NextSection ,
  ThisSection , PrevSection
}
 
enum  Section {
  NextSection , ThisSection , PrevSection , 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)
 
static QString highlightString (const QString &str, int pos)
 

Detailed Description

Definition at line 185 of file qcalendarwidget.cpp.

Constructor & Destructor Documentation

◆ QCalendarMonthValidator() [1/2]

QtPrivate::QCalendarMonthValidator::QCalendarMonthValidator ( )

Definition at line 201 of file qcalendarwidget.cpp.

References QtPrivate::QCalendarDateSectionValidator::QCalendarDateSectionValidator().

+ Here is the call graph for this function:

◆ QCalendarMonthValidator() [2/2]

QtPrivate::QCalendarMonthValidator::QCalendarMonthValidator ( )

Member Function Documentation

◆ applyToDate() [1/2]

QDate QtPrivate::QCalendarMonthValidator::applyToDate ( QDate date,
QCalendar cal ) const
overridevirtual

Implements QtPrivate::QCalendarDateSectionValidator.

Definition at line 255 of file qcalendarwidget.cpp.

◆ applyToDate() [2/2]

virtual QDate QtPrivate::QCalendarMonthValidator::applyToDate ( QDate date,
QCalendar cal ) const
overridevirtual

◆ handleKey() [1/2]

◆ handleKey() [2/2]

virtual Section QtPrivate::QCalendarMonthValidator::handleKey ( int key)
overridevirtual

◆ setDate() [1/2]

void QtPrivate::QCalendarMonthValidator::setDate ( QDate date,
QCalendar cal )
overridevirtual

Implements QtPrivate::QCalendarDateSectionValidator.

Definition at line 265 of file qcalendarwidget.cpp.

◆ setDate() [2/2]

virtual void QtPrivate::QCalendarMonthValidator::setDate ( QDate date,
QCalendar cal )
overridevirtual

◆ text() [1/4]

QString QtPrivate::QCalendarMonthValidator::text ( ) const
overridevirtual

Implements QtPrivate::QCalendarDateSectionValidator.

Definition at line 271 of file qcalendarwidget.cpp.

◆ text() [2/4]

virtual QString QtPrivate::QCalendarMonthValidator::text ( ) const
overridevirtual

◆ text() [3/4]

QString QtPrivate::QCalendarMonthValidator::text ( QDate date,
QCalendar cal,
int repeat ) const
overridevirtual

Implements QtPrivate::QCalendarDateSectionValidator.

Definition at line 276 of file qcalendarwidget.cpp.

◆ text() [4/4]

virtual QString QtPrivate::QCalendarMonthValidator::text ( QDate date,
QCalendar cal,
int repeat ) const
overridevirtual

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