Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcalendarwidget.cpp File Reference
#include "qcalendarwidget.h"
#include <qabstractitemmodel.h>
#include <qstyleditemdelegate.h>
#include <qdatetime.h>
#include <qtableview.h>
#include <qlayout.h>
#include <qevent.h>
#include <qtextformat.h>
#include <qheaderview.h>
#include <private/qwidget_p.h>
#include <qpushbutton.h>
#include <qtoolbutton.h>
#include <qlabel.h>
#include <qspinbox.h>
#include <qmenu.h>
#include <qapplication.h>
#include <private/qapplication_p.h>
#include <qbasictimer.h>
#include <qstylepainter.h>
#include <qcalendar.h>
#include <vector>
#include "qcalendarwidget.moc"
#include "moc_qcalendarwidget.cpp"
+ Include dependency graph for qcalendarwidget.cpp:

Go to the source code of this file.

Classes

class  QtPrivate::QCalendarDateSectionValidator
 
class  QtPrivate::QCalendarDayValidator
 
class  QtPrivate::QCalendarMonthValidator
 
class  QtPrivate::QCalendarYearValidator
 
struct  QtPrivate::SectionToken
 
class  QtPrivate::QCalendarDateValidator
 
class  QtPrivate::QCalendarTextNavigator
 
class  QtPrivate::StaticDayOfWeekAssociativeArray< T >
 
class  QtPrivate::QCalendarModel
 
class  QtPrivate::QCalendarView
 
class  QtPrivate::QCalendarDelegate
 
class  QtPrivate::QCalToolButton
 
class  QtPrivate::QPrevNextCalButton
 
class  QCalendarWidgetPrivate
 

Namespaces

namespace  QtPrivate
 \macro QT_NAMESPACE
 

Typedefs

using QCalendarDateSectionValidator = QtPrivate::QCalendarDateSectionValidator
 
using QCalendarDayValidator = QtPrivate::QCalendarDayValidator
 
using QCalendarMonthValidator = QtPrivate::QCalendarMonthValidator
 
using QCalendarYearValidator = QtPrivate::QCalendarYearValidator
 
using QCalendarDateValidator = QtPrivate::QCalendarDateValidator
 
using QPrevNextCalButton = QtPrivate::QPrevNextCalButton
 
using QCalendarDelegate = QtPrivate::QCalendarDelegate
 
using QCalToolButton = QtPrivate::QCalToolButton
 
using QCalendarModel = QtPrivate::QCalendarModel
 
using QCalendarView = QtPrivate::QCalendarView
 
using QCalendarTextNavigator = QtPrivate::QCalendarTextNavigator
 

Enumerations

enum  {
  RowCount = 6 , ColumnCount = 7 , HeaderColumn = 0 , HeaderRow = 0 ,
  MinimumDayOffset = 1
}
 

Functions

static QString formatNumber (int number, int fieldWidth)
 
 Q_DECLARE_TYPEINFO (QtPrivate::SectionToken, Q_PRIMITIVE_TYPE)
 

Typedef Documentation

◆ QCalendarDateSectionValidator

◆ QCalendarDateValidator

◆ QCalendarDayValidator

◆ QCalendarDelegate

◆ QCalendarModel

◆ QCalendarMonthValidator

◆ QCalendarTextNavigator

◆ QCalendarView

Definition at line 1623 of file qcalendarwidget.cpp.

◆ QCalendarYearValidator

◆ QCalToolButton

◆ QPrevNextCalButton

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RowCount 
ColumnCount 
HeaderColumn 
HeaderRow 
MinimumDayOffset 

Definition at line 32 of file qcalendarwidget.cpp.

Function Documentation

◆ formatNumber()

static QString formatNumber ( int  number,
int  fieldWidth 
)
static

Definition at line 40 of file qcalendarwidget.cpp.

References number, QString::number(), and QString::rightJustified().

Referenced by QtPrivate::QCalendarDayValidator::text(), QtPrivate::QCalendarMonthValidator::text(), QtPrivate::QCalendarYearValidator::text(), QtPrivate::QCalendarDayValidator::text(), QtPrivate::QCalendarMonthValidator::text(), and QtPrivate::QCalendarYearValidator::text().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( QtPrivate::SectionToken  ,
Q_PRIMITIVE_TYPE   
)