QtBase  v6.3.1
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
QCalendarWidget Class Reference

The QCalendarWidget class provides a monthly based calendar widget allowing the user to select a date. More...

#include <qcalendarwidget.h>

Inheritance diagram for QCalendarWidget:
Inheritance graph
[legend]
Collaboration diagram for QCalendarWidget:
Collaboration graph
[legend]

Public Types

enum  HorizontalHeaderFormat { NoHorizontalHeader , SingleLetterDayNames , ShortDayNames , LongDayNames }
 
enum  VerticalHeaderFormat { NoVerticalHeader , ISOWeekNumbers }
 
enum  SelectionMode { NoSelection , SingleSelection }
 
- Public Types inherited from QWidget
enum  RenderFlag { DrawWindowBackground = 0x1 , DrawChildren = 0x2 , IgnoreMask = 0x4 }
 
- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric {
  PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM ,
  PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY ,
  PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled
}
 

Public Slots

void setSelectedDate (QDate date)
 
void setDateRange (QDate min, QDate max)
 
void setCurrentPage (int year, int month)
 
void setGridVisible (bool show)
 
void setNavigationBarVisible (bool visible)
 
void showNextMonth ()
 
void showPreviousMonth ()
 
void showNextYear ()
 
void showPreviousYear ()
 
void showSelectedDate ()
 
void showToday ()
 
- Public Slots inherited from QWidget
void setEnabled (bool)
 
void setDisabled (bool)
 
void setWindowModified (bool)
 
void setWindowTitle (const QString &)
 
void setStyleSheet (const QString &styleSheet)
 
void setFocus ()
 
void update ()
 
void repaint ()
 
virtual void setVisible (bool visible)
 
void setHidden (bool hidden)
 
void show ()
 
void hide ()
 
void showMinimized ()
 
void showMaximized ()
 
void showFullScreen ()
 
void showNormal ()
 
bool close ()
 
void raise ()
 
void lower ()
 
- Public Slots inherited from QObject
void deleteLater ()
 

Signals

void selectionChanged ()
 
void clicked (QDate date)
 
void activated (QDate date)
 
void currentPageChanged (int year, int month)
 
- Signals inherited from QWidget
void windowTitleChanged (const QString &title)
 
void windowIconChanged (const QIcon &icon)
 
void windowIconTextChanged (const QString &iconText)
 
void customContextMenuRequested (const QPoint &pos)
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 

Public Member Functions

 QCalendarWidget (QWidget *parent=nullptr)
 
 ~QCalendarWidget ()
 
virtual QSize sizeHint () const override
 
virtual QSize minimumSizeHint () const override
 
QDate selectedDate () const
 
int yearShown () const
 
int monthShown () const
 
QDate minimumDate () const
 
void setMinimumDate (QDate date)
 
QDate maximumDate () const
 
void setMaximumDate (QDate date)
 
Qt::DayOfWeek firstDayOfWeek () const
 
void setFirstDayOfWeek (Qt::DayOfWeek dayOfWeek)
 
bool isNavigationBarVisible () const
 
bool isGridVisible () const
 
QCalendar calendar () const
 
void setCalendar (QCalendar calendar)
 
SelectionMode selectionMode () const
 
void setSelectionMode (SelectionMode mode)
 
HorizontalHeaderFormat horizontalHeaderFormat () const
 
void setHorizontalHeaderFormat (HorizontalHeaderFormat format)
 
VerticalHeaderFormat verticalHeaderFormat () const
 
void setVerticalHeaderFormat (VerticalHeaderFormat format)
 
QTextCharFormat headerTextFormat () const
 
void setHeaderTextFormat (const QTextCharFormat &format)
 
QTextCharFormat weekdayTextFormat (Qt::DayOfWeek dayOfWeek) const
 
void setWeekdayTextFormat (Qt::DayOfWeek dayOfWeek, const QTextCharFormat &format)
 
QMap< QDate, QTextCharFormatdateTextFormat () const
 
QTextCharFormat dateTextFormat (QDate date) const
 
void setDateTextFormat (QDate date, const QTextCharFormat &format)
 
bool isDateEditEnabled () const
 
void setDateEditEnabled (bool enable)
 
int dateEditAcceptDelay () const
 
void setDateEditAcceptDelay (int delay)
 
- Public Member Functions inherited from QWidget
 QWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~QWidget ()
 
int devType () const override
 
WId winId () const
 
void createWinId ()
 
WId internalWinId () const
 
WId effectiveWinId () const
 
QStylestyle () const
 
void setStyle (QStyle *)
 
bool isWindow () const
 
bool isModal () const
 
Qt::WindowModality windowModality () const
 
void setWindowModality (Qt::WindowModality windowModality)
 
bool isEnabled () const
 
bool isEnabledTo (const QWidget *) const
 
QRect frameGeometry () const
 
const QRectgeometry () const
 
QRect normalGeometry () const
 
int x () const
 
int y () const
 
QPoint pos () const
 
QSize frameSize () const
 
QSize size () const
 
int width () const
 
int height () const
 
QRect rect () const
 
QRect childrenRect () const
 
QRegion childrenRegion () const
 
QSize minimumSize () const
 
QSize maximumSize () const
 
int minimumWidth () const
 
int minimumHeight () const
 
int maximumWidth () const
 
int maximumHeight () const
 
void setMinimumSize (const QSize &)
 
void setMinimumSize (int minw, int minh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMinimumWidth (int minw)
 
void setMinimumHeight (int minh)
 
void setMaximumWidth (int maxw)
 
void setMaximumHeight (int maxh)
 
QSize sizeIncrement () const
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
QSize baseSize () const
 
void setBaseSize (const QSize &)
 
void setBaseSize (int basew, int baseh)
 
void setFixedSize (const QSize &)
 
void setFixedSize (int w, int h)
 
void setFixedWidth (int w)
 
void setFixedHeight (int h)
 
QPointF mapToGlobal (const QPointF &) const
 
QPoint mapToGlobal (const QPoint &) const
 
QPointF mapFromGlobal (const QPointF &) const
 
QPoint mapFromGlobal (const QPoint &) const
 
QPointF mapToParent (const QPointF &) const
 
QPoint mapToParent (const QPoint &) const
 
QPointF mapFromParent (const QPointF &) const
 
QPoint mapFromParent (const QPoint &) const
 
QPointF mapTo (const QWidget *, const QPointF &) const
 
QPoint mapTo (const QWidget *, const QPoint &) const
 
QPointF mapFrom (const QWidget *, const QPointF &) const
 
QPoint mapFrom (const QWidget *, const QPoint &) const
 
QWidgetwindow () const
 
QWidgetnativeParentWidget () const
 
QWidgettopLevelWidget () const
 
const QPalettepalette () const
 
void setPalette (const QPalette &)
 
void setBackgroundRole (QPalette::ColorRole)
 
QPalette::ColorRole backgroundRole () const
 
void setForegroundRole (QPalette::ColorRole)
 
QPalette::ColorRole foregroundRole () const
 
const QFontfont () const
 
void setFont (const QFont &)
 
QFontMetrics fontMetrics () const
 
QFontInfo fontInfo () const
 
QCursor cursor () const
 
void setCursor (const QCursor &)
 
void unsetCursor ()
 
void setMouseTracking (bool enable)
 
bool hasMouseTracking () const
 
bool underMouse () const
 
void setTabletTracking (bool enable)
 
bool hasTabletTracking () const
 
void setMask (const QBitmap &)
 
void setMask (const QRegion &)
 
QRegion mask () const
 
void clearMask ()
 
void render (QPaintDevice *target, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren))
 
void render (QPainter *painter, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren))
 
Q_INVOKABLE QPixmap grab (const QRect &rectangle=QRect(QPoint(0, 0), QSize(-1, -1)))
 
void grabGesture (Qt::GestureType type, Qt::GestureFlags flags=Qt::GestureFlags())
 
void ungrabGesture (Qt::GestureType type)
 
QString styleSheet () const
 
QString windowTitle () const
 
void setWindowIcon (const QIcon &icon)
 
QIcon windowIcon () const
 
void setWindowIconText (const QString &)
 
QString windowIconText () const
 
void setWindowRole (const QString &)
 
QString windowRole () const
 
void setWindowFilePath (const QString &filePath)
 
QString windowFilePath () const
 
void setWindowOpacity (qreal level)
 
qreal windowOpacity () const
 
bool isWindowModified () const
 
QString accessibleName () const
 
void setAccessibleName (const QString &name)
 
QString accessibleDescription () const
 
void setAccessibleDescription (const QString &description)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
Qt::LayoutDirection layoutDirection () const
 
void unsetLayoutDirection ()
 
void setLocale (const QLocale &locale)
 
QLocale locale () const
 
void unsetLocale ()
 
bool isRightToLeft () const
 
bool isLeftToRight () const
 
bool isActiveWindow () const
 
void activateWindow ()
 
void clearFocus ()
 
void setFocus (Qt::FocusReason reason)
 
Qt::FocusPolicy focusPolicy () const
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
bool hasFocus () const
 
void setFocusProxy (QWidget *)
 
QWidgetfocusProxy () const
 
Qt::ContextMenuPolicy contextMenuPolicy () const
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void grabMouse ()
 
void grabMouse (const QCursor &)
 
void releaseMouse ()
 
void grabKeyboard ()
 
void releaseKeyboard ()
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context=Qt::WindowShortcut)
 
void releaseShortcut (int id)
 
void setShortcutEnabled (int id, bool enable=true)
 
void setShortcutAutoRepeat (int id, bool enable=true)
 
bool updatesEnabled () const
 
void setUpdatesEnabled (bool enable)
 
void update (int x, int y, int w, int h)
 
void update (const QRect &)
 
void update (const QRegion &)
 
void repaint (int x, int y, int w, int h)
 
void repaint (const QRect &)
 
void repaint (const QRegion &)
 
void stackUnder (QWidget *)
 
void move (int x, int y)
 
void move (const QPoint &)
 
void resize (int w, int h)
 
void resize (const QSize &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGeometry (const QRect &)
 
QByteArray saveGeometry () const
 
bool restoreGeometry (const QByteArray &geometry)
 
void adjustSize ()
 
bool isVisible () const
 
bool isVisibleTo (const QWidget *) const
 
bool isHidden () const
 
bool isMinimized () const
 
bool isMaximized () const
 
bool isFullScreen () const
 
Qt::WindowStates windowState () const
 
void setWindowState (Qt::WindowStates state)
 
void overrideWindowState (Qt::WindowStates state)
 
QSizePolicy sizePolicy () const
 
void setSizePolicy (QSizePolicy)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
virtual int heightForWidth (int) const
 
virtual bool hasHeightForWidth () const
 
QRegion visibleRegion () const
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContentsMargins (const QMargins &margins)
 The setContentsMargins function sets the margins around the widget's contents. More...
 
QMargins contentsMargins () const
 The contentsMargins function returns the widget's contents margins. More...
 
QRect contentsRect () const
 
QLayoutlayout () const
 
void setLayout (QLayout *)
 
void updateGeometry ()
 
void setParent (QWidget *parent)
 
void setParent (QWidget *parent, Qt::WindowFlags f)
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &)
 
QWidgetfocusWidget () const
 
QWidgetnextInFocusChain () const
 
QWidgetpreviousInFocusChain () const
 The previousInFocusChain function returns the previous widget in this widget's focus chain. More...
 
bool acceptDrops () const
 
void setAcceptDrops (bool on)
 
void addAction (QAction *action)
 
void addActions (const QList< QAction * > &actions)
 
void insertActions (QAction *before, const QList< QAction * > &actions)
 
void insertAction (QAction *before, QAction *action)
 
void removeAction (QAction *action)
 
QList< QAction * > actions () const
 
QActionaddAction (const QString &text)
 
QActionaddAction (const QIcon &icon, const QString &text)
 
QActionaddAction (const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type=Qt::AutoConnection)
 
QActionaddAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename... Args, typename = compatible_action_slot_args<Args...>>
QActionaddAction (const QString &text, Args &&...args)
 
template<typename... Args, typename = compatible_action_slot_args<Args...>>
QActionaddAction (const QIcon &icon, const QString &text, Args &&...args)
 
QWidgetparentWidget () const
 
void setWindowFlags (Qt::WindowFlags type)
 
Qt::WindowFlags windowFlags () const
 
void setWindowFlag (Qt::WindowType, bool on=true)
 
void overrideWindowFlags (Qt::WindowFlags type)
 
Qt::WindowType windowType () const
 
QWidgetchildAt (int x, int y) const
 
QWidgetchildAt (const QPoint &p) const
 
void setAttribute (Qt::WidgetAttribute, bool on=true)
 
bool testAttribute (Qt::WidgetAttribute) const
 
QPaintEnginepaintEngine () const override
 
void ensurePolished () const
 
bool isAncestorOf (const QWidget *child) const
 
bool autoFillBackground () const
 
void setAutoFillBackground (bool enabled)
 
QBackingStorebackingStore () const
 
QWindowwindowHandle () const
 
QScreenscreen () const
 
void setScreen (QScreen *)
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery) const
 
Qt::InputMethodHints inputMethodHints () const
 
void setInputMethodHints (Qt::InputMethodHints hints)
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
QString objectName () const
 
void setObjectName (const QString &name)
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const noexcept
 
bool blockSignals (bool b) noexcept
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 
template<typename T >
T findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
const QObjectListchildren () const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 
void dumpObjectInfo () const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 
- Public Member Functions inherited from QPaintDevice
virtual ~QPaintDevice ()
 
bool paintingActive () const
 
int width () const
 
int height () const
 
int widthMM () const
 
int heightMM () const
 
int logicalDpiX () const
 
int logicalDpiY () const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
qreal devicePixelRatio () const
 
qreal devicePixelRatioF () const
 
int colorCount () const
 
int depth () const
 

Protected Member Functions

bool event (QEvent *event) override
 
bool eventFilter (QObject *watched, QEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 
virtual void paintCell (QPainter *painter, const QRect &rect, QDate date) const
 
void updateCell (QDate date)
 
void updateCells ()
 
- Protected Member Functions inherited from QWidget
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
virtual void focusOutEvent (QFocusEvent *event)
 
virtual void enterEvent (QEnterEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
virtual void actionEvent (QActionEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual void hideEvent (QHideEvent *event)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result)
 
virtual void changeEvent (QEvent *)
 
int metric (PaintDeviceMetric) const override
 
void initPainter (QPainter *painter) const override
 
QPaintDeviceredirected (QPoint *offset) const override
 
QPaintersharedPainter () const override
 
virtual void inputMethodEvent (QInputMethodEvent *)
 
void create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true)
 
void destroy (bool destroyWindow=true, bool destroySubWindows=true)
 
virtual bool focusNextPrevChild (bool next)
 
bool focusNextChild ()
 
bool focusPreviousChild ()
 
 QWidget (QWidgetPrivate &d, QWidget *parent, Qt::WindowFlags f)
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Member Functions inherited from QPaintDevice
 QPaintDevice () noexcept
 

Properties

QDate selectedDate
 the currently selected date. More...
 
QDate minimumDate
 the minimum date of the currently specified date range. More...
 
QDate maximumDate
 the maximum date of the currently specified date range. More...
 
Qt::DayOfWeek firstDayOfWeek
 a value identifying the day displayed in the first column. More...
 
bool gridVisible
 whether the table grid is displayed. More...
 
SelectionMode selectionMode
 the type of selection the user can make in the calendar More...
 
HorizontalHeaderFormat horizontalHeaderFormat
 the format of the horizontal header. More...
 
VerticalHeaderFormat verticalHeaderFormat
 the format of the vertical header. More...
 
bool navigationBarVisible
 whether the navigation bar is shown or not More...
 
bool dateEditEnabled
 whether the date edit popup is enabled More...
 
int dateEditAcceptDelay
 the time an inactive date edit is shown before its contents are accepted More...
 
- Properties inherited from QWidget
bool modal
 whether the widget is a modal widget More...
 
Qt::WindowModality windowModality
 which windows are blocked by the modal widget More...
 
bool enabled
 whether the widget is enabled More...
 
QRect geometry
 the geometry of the widget relative to its parent and excluding the window frame More...
 
QRect frameGeometry
 geometry of the widget relative to its parent including any window frame More...
 
QRect normalGeometry
 the geometry of the widget as it will appear when shown as a normal (not maximized or full screen) top-level widget More...
 
int x
 the x coordinate of the widget relative to its parent including any window frame More...
 
int y
 the y coordinate of the widget relative to its parent and including any window frame More...
 
QPoint pos
 the position of the widget within its parent widget More...
 
QSize frameSize
 the size of the widget including any window frame More...
 
QSize size
 the size of the widget excluding any window frame More...
 
int width
 the width of the widget excluding any window frame More...
 
int height
 the height of the widget excluding any window frame More...
 
QRect rect
 the internal geometry of the widget excluding any window frame More...
 
QRect childrenRect
 the bounding rectangle of the widget's children More...
 
QRegion childrenRegion
 the combined region occupied by the widget's children More...
 
QSizePolicy sizePolicy
 the default layout behavior of the widget More...
 
QSize minimumSize
 the widget's minimum size More...
 
QSize maximumSize
 the widget's maximum size in pixels More...
 
int minimumWidth
 the widget's minimum width in pixels More...
 
int minimumHeight
 the widget's minimum height in pixels More...
 
int maximumWidth
 the widget's maximum width in pixels More...
 
int maximumHeight
 the widget's maximum height in pixels More...
 
QSize sizeIncrement
 the size increment of the widget More...
 
QSize baseSize
 the base size of the widget More...
 
QPalette palette
 the widget's palette More...
 
QFont font
 the font currently set for the widget More...
 
QCursor cursor
 the cursor shape for this widget More...
 
bool mouseTracking
 whether mouse tracking is enabled for the widget More...
 
bool tabletTracking
 whether tablet tracking is enabled for the widget More...
 
bool isActiveWindow
 whether this widget's window is the active window More...
 
Qt::FocusPolicy focusPolicy
 the way the widget accepts keyboard focus More...
 
bool focus
 whether this widget (or its focus proxy) has the keyboard input focus More...
 
Qt::ContextMenuPolicy contextMenuPolicy
 how the widget shows a context menu More...
 
bool updatesEnabled
 whether updates are enabled More...
 
bool visible
 whether the widget is visible More...
 
bool minimized
 whether this widget is minimized (iconified) More...
 
bool maximized
 whether this widget is maximized More...
 
bool fullScreen
 whether the widget is shown in full screen mode More...
 
QSize sizeHint
 the recommended size for the widget More...
 
QSize minimumSizeHint
 the recommended minimum size for the widget More...
 
bool acceptDrops
 whether drop events are enabled for this widget More...
 
QString windowTitle
 the window title (caption) More...
 
QIcon windowIcon
 the widget's icon More...
 
QString windowIconText
 the text to be displayed on the icon of a minimized window More...
 
double windowOpacity
 The level of opacity for the window. More...
 
bool windowModified
 whether the document shown in the window has unsaved changes More...
 
QString accessibleName
 the widget's name as seen by assistive technologies More...
 
QString accessibleDescription
 the widget's description as seen by assistive technologies More...
 
Qt::LayoutDirection layoutDirection
 the layout direction for this widget. More...
 
bool autoFillBackground
 whether the widget background is filled automatically More...
 
QString styleSheet
 the widget's style sheet More...
 
QLocale locale
 the widget's locale More...
 
QString windowFilePath
 the file path associated with a widget More...
 
Qt::InputMethodHints inputMethodHints
 What input method specific hints the widget has. More...
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QWidget
static void setTabOrder (QWidget *, QWidget *)
 
static QWidgetmouseGrabber ()
 
static QWidgetkeyboardGrabber ()
 
static QWidgetfind (WId)
 
static QWidgetcreateWindowContainer (QWindow *window, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 
- Static Public Member Functions inherited from QPaintDevice
static qreal devicePixelRatioFScale ()
 
- Protected Slots inherited from QWidget
void updateMicroFocus (Qt::InputMethodQuery query=Qt::ImQueryAll)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Protected Attributes inherited from QPaintDevice
ushort painters
 

Detailed Description

The QCalendarWidget class provides a monthly based calendar widget allowing the user to select a date.

Since
4.2

\inmodule QtWidgets

The widget is initialized with the current month and year, but QCalendarWidget provides several public slots to change the year and month that is shown.

By default, today's date is selected, and the user can select a date using both mouse and keyboard. The currently selected date can be retrieved using the selectedDate() function. It is possible to constrain the user selection to a given date range by setting the minimumDate and maximumDate properties. Alternatively, both properties can be set in one go using the setDateRange() convenience slot. Set the \l selectionMode property to NoSelection to prohibit the user from selecting at all. Note that a date also can be selected programmatically using the setSelectedDate() slot.

The currently displayed month and year can be retrieved using the monthShown() and yearShown() functions, respectively.

A newly created calendar widget uses abbreviated day names, and both Saturdays and Sundays are marked in red. The calendar grid is not visible. The week numbers are displayed, and the first column day is the first day of the week for the calendar's locale.

The notation of the days can be altered to a single letter abbreviations ("M" for "Monday") by setting the horizontalHeaderFormat property to QCalendarWidget::SingleLetterDayNames. Setting the same property to QCalendarWidget::LongDayNames makes the header display the complete day names. The week numbers can be removed by setting the verticalHeaderFormat property to QCalendarWidget::NoVerticalHeader. The calendar grid can be turned on by setting the gridVisible property to true using the setGridVisible() function:

\table \row

Finally, the day in the first column can be altered using the setFirstDayOfWeek() function.

The QCalendarWidget class also provides three signals, selectionChanged(), activated() and currentPageChanged() making it possible to respond to user interaction.

The rendering of the headers, weekdays or single days can be largely customized by setting QTextCharFormat's for some special weekday, a special date or for the rendering of the headers.

Only a subset of the properties in QTextCharFormat are used by the calendar widget. Currently, the foreground, background and font properties are used to determine the rendering of individual cells in the widget.

See also
QDate, QDateEdit, QTextCharFormat

Definition at line 55 of file qcalendarwidget.h.

Member Enumeration Documentation

◆ HorizontalHeaderFormat

This enum type defines the various formats the horizontal header can display.

\value SingleLetterDayNames The header displays a single letter abbreviation for day names (e.g. M for Monday). \value ShortDayNames The header displays a short abbreviation for day names (e.g. Mon for Monday). \value LongDayNames The header displays complete day names (e.g. Monday). \value NoHorizontalHeader The header is hidden.

See also
horizontalHeaderFormat(), VerticalHeaderFormat
Enumerator
NoHorizontalHeader 
SingleLetterDayNames 
ShortDayNames 
LongDayNames 

Definition at line 74 of file qcalendarwidget.h.

◆ SelectionMode

This enum describes the types of selection offered to the user for selecting dates in the calendar.

\value NoSelection Dates cannot be selected. \value SingleSelection Single dates can be selected.

See also
selectionMode
Enumerator
NoSelection 
SingleSelection 

Definition at line 88 of file qcalendarwidget.h.

◆ VerticalHeaderFormat

This enum type defines the various formats the vertical header can display.

\value ISOWeekNumbers The header displays ISO week numbers as described by \l QDate::weekNumber(). \value NoVerticalHeader The header is hidden.

See also
verticalHeaderFormat(), HorizontalHeaderFormat
Enumerator
NoVerticalHeader 
ISOWeekNumbers 

Definition at line 82 of file qcalendarwidget.h.

Constructor & Destructor Documentation

◆ QCalendarWidget()

QCalendarWidget::QCalendarWidget ( QWidget parent = nullptr)
explicit

Constructs a calendar widget with the given parent.

The widget is initialized with the current month and year, and the currently selected date is today.

See also
setCurrentPage()

Definition at line 2122 of file qcalendarwidget.cpp.

◆ ~QCalendarWidget()

QCalendarWidget::~QCalendarWidget ( )

Destroys the calendar widget.

Definition at line 2190 of file qcalendarwidget.cpp.

Member Function Documentation

◆ activated

void QCalendarWidget::activated ( QDate  date)
signal

This signal is emitted whenever the user presses the Return or Enter key or double-clicks a date in the calendar widget.

◆ calendar()

QCalendar QCalendarWidget::calendar ( ) const

Definition at line 2743 of file qcalendarwidget.cpp.

◆ clicked

void QCalendarWidget::clicked ( QDate  date)
signal

This signal is emitted when a mouse button is clicked. The date the mouse was clicked on is specified by date. The signal is only emitted when clicked on a valid date, e.g., dates are not outside the minimumDate() and maximumDate(). If the selection mode is NoSelection, this signal will not be emitted.

◆ currentPageChanged

void QCalendarWidget::currentPageChanged ( int  year,
int  month 
)
signal

This signal is emitted when the currently shown month is changed. The new year and month are passed as parameters.

See also
setCurrentPage()

◆ dateEditAcceptDelay()

int QCalendarWidget::dateEditAcceptDelay ( ) const

Definition at line 2957 of file qcalendarwidget.cpp.

◆ dateTextFormat() [1/2]

QMap< QDate, QTextCharFormat > QCalendarWidget::dateTextFormat ( ) const

Returns a QMap from QDate to QTextCharFormat showing all dates that use a special format that alters their rendering.

Definition at line 2878 of file qcalendarwidget.cpp.

◆ dateTextFormat() [2/2]

QTextCharFormat QCalendarWidget::dateTextFormat ( QDate  date) const

Returns a QTextCharFormat for date. The char format can be be empty if the date is not renderd specially.

Definition at line 2888 of file qcalendarwidget.cpp.

◆ event()

bool QCalendarWidget::event ( QEvent event)
overrideprotectedvirtual

\reimp

Reimplemented from QWidget.

Definition at line 3086 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ eventFilter()

bool QCalendarWidget::eventFilter ( QObject watched,
QEvent event 
)
overrideprotectedvirtual

\reimp

Reimplemented from QObject.

Definition at line 3120 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ firstDayOfWeek()

Qt::DayOfWeek QCalendarWidget::firstDayOfWeek ( ) const

Definition at line 2816 of file qcalendarwidget.cpp.

◆ headerTextFormat()

QTextCharFormat QCalendarWidget::headerTextFormat ( ) const

Returns the text char format for rendering the header.

Definition at line 2825 of file qcalendarwidget.cpp.

◆ horizontalHeaderFormat()

QCalendarWidget::HorizontalHeaderFormat QCalendarWidget::horizontalHeaderFormat ( ) const

Definition at line 2674 of file qcalendarwidget.cpp.

◆ isDateEditEnabled()

bool QCalendarWidget::isDateEditEnabled ( ) const

Definition at line 2928 of file qcalendarwidget.cpp.

Here is the caller graph for this function:

◆ isGridVisible()

bool QCalendarWidget::isGridVisible ( ) const

Definition at line 2737 of file qcalendarwidget.cpp.

◆ isNavigationBarVisible()

bool QCalendarWidget::isNavigationBarVisible ( ) const

Definition at line 3067 of file qcalendarwidget.cpp.

◆ keyPressEvent()

void QCalendarWidget::keyPressEvent ( QKeyEvent event)
overrideprotectedvirtual

\reimp

Reimplemented from QWidget.

Definition at line 3174 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ maximumDate()

QDate QCalendarWidget::maximumDate ( ) const

Definition at line 2576 of file qcalendarwidget.cpp.

◆ minimumDate()

QDate QCalendarWidget::minimumDate ( ) const

Definition at line 2525 of file qcalendarwidget.cpp.

◆ minimumSizeHint()

QSize QCalendarWidget::minimumSizeHint ( ) const
overridevirtual

\reimp

Reimplemented from QWidget.

Definition at line 2205 of file qcalendarwidget.cpp.

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

◆ monthShown()

int QCalendarWidget::monthShown ( ) const

Returns the currently displayed month. Months are numbered from 1 to 12.

See also
yearShown(), setCurrentPage()

Definition at line 2359 of file qcalendarwidget.cpp.

Here is the caller graph for this function:

◆ mousePressEvent()

void QCalendarWidget::mousePressEvent ( QMouseEvent event)
overrideprotectedvirtual

\reimp

Reimplemented from QWidget.

Definition at line 3148 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ paintCell()

void QCalendarWidget::paintCell ( QPainter painter,
const QRect rect,
QDate  date 
) const
protectedvirtual

Paints the cell specified by the given date, using the given painter and rect.

Definition at line 2299 of file qcalendarwidget.cpp.

◆ resizeEvent()

void QCalendarWidget::resizeEvent ( QResizeEvent event)
overrideprotectedvirtual

\reimp

Reimplemented from QWidget.

Definition at line 3158 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ selectedDate()

QDate QCalendarWidget::selectedDate ( ) const

Definition at line 2316 of file qcalendarwidget.cpp.

◆ selectionChanged

void QCalendarWidget::selectionChanged ( )
signal

This signal is emitted when the currently selected date is changed.

The currently selected date can be changed by the user using the mouse or keyboard, or by the programmer using setSelectedDate().

See also
selectedDate()
Here is the caller graph for this function:

◆ selectionMode()

QCalendarWidget::SelectionMode QCalendarWidget::selectionMode ( ) const

Definition at line 2784 of file qcalendarwidget.cpp.

◆ setCalendar()

void QCalendarWidget::setCalendar ( QCalendar  calendar)

Definition at line 2749 of file qcalendarwidget.cpp.

◆ setCurrentPage

void QCalendarWidget::setCurrentPage ( int  year,
int  month 
)
slot

Displays the given month of the given year without changing the selected date. Use the setSelectedDate() function to alter the selected date.

The currently displayed month and year can be retrieved using the monthShown() and yearShown() functions respectively.

See also
yearShown(), monthShown(), showPreviousMonth(), showNextMonth(), showPreviousYear(), showNextYear()

Definition at line 2377 of file qcalendarwidget.cpp.

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

◆ setDateEditAcceptDelay()

void QCalendarWidget::setDateEditAcceptDelay ( int  delay)

Definition at line 2963 of file qcalendarwidget.cpp.

◆ setDateEditEnabled()

void QCalendarWidget::setDateEditEnabled ( bool  enable)

Definition at line 2934 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setDateRange

void QCalendarWidget::setDateRange ( QDate  min,
QDate  max 
)
slot

Defines a date range by setting the minimumDate and maximumDate properties.

The date range restricts the user selection, i.e. the user can only select dates within the specified date range. Note that

is analogous to

If either the min or max parameters are not valid QDate objects, this function does nothing.

See also
setMinimumDate(), setMaximumDate()

Definition at line 2620 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setDateTextFormat()

void QCalendarWidget::setDateTextFormat ( QDate  date,
const QTextCharFormat format 
)

Sets the format used to render the given date to that specified by format.

If date is null, all date formats are cleared.

Definition at line 2899 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setFirstDayOfWeek()

void QCalendarWidget::setFirstDayOfWeek ( Qt::DayOfWeek  dayOfWeek)

Definition at line 2806 of file qcalendarwidget.cpp.

Here is the caller graph for this function:

◆ setGridVisible

void QCalendarWidget::setGridVisible ( bool  show)
slot

Definition at line 2759 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setHeaderTextFormat()

void QCalendarWidget::setHeaderTextFormat ( const QTextCharFormat format)

Sets the text char format for rendering the header to format. If you also set a weekday text format, this format's foreground and background color will take precedence over the header's format. The other formatting information will still be decided by the header's format.

Definition at line 2838 of file qcalendarwidget.cpp.

◆ setHorizontalHeaderFormat()

void QCalendarWidget::setHorizontalHeaderFormat ( QCalendarWidget::HorizontalHeaderFormat  format)

Definition at line 2662 of file qcalendarwidget.cpp.

◆ setMaximumDate()

void QCalendarWidget::setMaximumDate ( QDate  date)

Definition at line 2582 of file qcalendarwidget.cpp.

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

◆ setMinimumDate()

void QCalendarWidget::setMinimumDate ( QDate  date)

Definition at line 2531 of file qcalendarwidget.cpp.

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

◆ setNavigationBarVisible

void QCalendarWidget::setNavigationBarVisible ( bool  visible)
slot

Definition at line 3074 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setSelectedDate

void QCalendarWidget::setSelectedDate ( QDate  date)
slot

Definition at line 2322 of file qcalendarwidget.cpp.

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

◆ setSelectionMode()

void QCalendarWidget::setSelectionMode ( SelectionMode  mode)

Definition at line 2790 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setVerticalHeaderFormat()

void QCalendarWidget::setVerticalHeaderFormat ( QCalendarWidget::VerticalHeaderFormat  format)

Definition at line 2708 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ setWeekdayTextFormat()

void QCalendarWidget::setWeekdayTextFormat ( Qt::DayOfWeek  dayOfWeek,
const QTextCharFormat format 
)

Sets the text char format for rendering of day in the week dayOfWeek to format. The format will take precedence over the header format in case of foreground and background color. Other text formatting information is taken from the headers format.

See also
setHeaderTextFormat()

Definition at line 2865 of file qcalendarwidget.cpp.

◆ showNextMonth

void QCalendarWidget::showNextMonth ( )
slot

Shows the next month relative to the currently displayed month. Note that the selected date is not changed.

See also
showPreviousMonth(), setCurrentPage(), setSelectedDate()

Definition at line 2405 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ showNextYear

void QCalendarWidget::showNextYear ( )
slot

Shows the currently displayed month in the next year relative to the currently displayed year. Note that the selected date is not changed.

See also
showPreviousYear(), setCurrentPage(), setSelectedDate()

Definition at line 2449 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ showPreviousMonth

void QCalendarWidget::showPreviousMonth ( )
slot

Shows the previous month relative to the currently displayed month. Note that the selected date is not changed.

See also
showNextMonth(), setCurrentPage(), setSelectedDate()

Definition at line 2426 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ showPreviousYear

void QCalendarWidget::showPreviousYear ( )
slot

Shows the currently displayed month in the previous year relative to the currently displayed year. Note that the selected date is not changed.

See also
showNextYear(), setCurrentPage(), setSelectedDate()

Definition at line 2465 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ showSelectedDate

void QCalendarWidget::showSelectedDate ( )
slot

Shows the month of the selected date.

See also
selectedDate(), setCurrentPage()

Definition at line 2478 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ showToday

void QCalendarWidget::showToday ( )
slot

Shows the month of the today's date.

See also
selectedDate(), setCurrentPage()

Definition at line 2491 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ sizeHint()

QSize QCalendarWidget::sizeHint ( ) const
overridevirtual

\reimp

Reimplemented from QWidget.

Definition at line 2197 of file qcalendarwidget.cpp.

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

◆ updateCell()

void QCalendarWidget::updateCell ( QDate  date)
protected
Since
4.4

Updates the cell specified by the given date unless updates are disabled or the cell is hidden.

See also
updateCells(), yearShown(), monthShown()

Definition at line 2977 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ updateCells()

void QCalendarWidget::updateCells ( )
protected
Since
4.4

Updates all visible cells unless updates are disabled.

See also
updateCell()

Definition at line 3007 of file qcalendarwidget.cpp.

Here is the call graph for this function:

◆ verticalHeaderFormat()

QCalendarWidget::VerticalHeaderFormat QCalendarWidget::verticalHeaderFormat ( ) const

Definition at line 2699 of file qcalendarwidget.cpp.

◆ weekdayTextFormat()

QTextCharFormat QCalendarWidget::weekdayTextFormat ( Qt::DayOfWeek  dayOfWeek) const

Returns the text char format for rendering of day in the week dayOfWeek.

See also
headerTextFormat()

Definition at line 2852 of file qcalendarwidget.cpp.

◆ yearShown()

int QCalendarWidget::yearShown ( ) const

Returns the year of the currently displayed month. Months are numbered from 1 to 12.

See also
monthShown(), setCurrentPage()

Definition at line 2346 of file qcalendarwidget.cpp.

Here is the caller graph for this function:

Property Documentation

◆ dateEditAcceptDelay

QCalendarWidget::dateEditAcceptDelay
readwrite

the time an inactive date edit is shown before its contents are accepted

Since
4.3

If the calendar widget's \l{dateEditEnabled}{date edit is enabled}, this property specifies the amount of time (in milliseconds) that the date edit remains open after the most recent user input. Once this time has elapsed, the date specified in the date edit is accepted and the popup is closed.

By default, the delay is defined to be 1500 milliseconds (1.5 seconds).

Definition at line 191 of file qcalendarwidget.h.

◆ dateEditEnabled

QCalendarWidget::dateEditEnabled
readwrite

whether the date edit popup is enabled

Since
4.3

If this property is enabled, pressing a non-modifier key will cause a date edit to popup if the calendar widget has focus, allowing the user to specify a date in the form specified by the current locale.

By default, this property is enabled.

The date edit is simpler in appearance than QDateEdit, but allows the user to navigate between fields using the left and right cursor keys, increment and decrement individual fields using the up and down cursor keys, and enter values directly using the number keys.

See also
QCalendarWidget::dateEditAcceptDelay

Definition at line 191 of file qcalendarwidget.h.

◆ firstDayOfWeek

QCalendarWidget::firstDayOfWeek
readwrite

a value identifying the day displayed in the first column.

By default, the day displayed in the first column is the first day of the week for the calendar's locale.

Definition at line 191 of file qcalendarwidget.h.

◆ gridVisible

QCalendarWidget::gridVisible
readwrite

whether the table grid is displayed.

\table \row

  • \inlineimage qcalendarwidget-grid.png \row
  • \endtable

The default value is false.

Definition at line 191 of file qcalendarwidget.h.

◆ horizontalHeaderFormat

QCalendarWidget::horizontalHeaderFormat
readwrite

the format of the horizontal header.

The default value is QCalendarWidget::ShortDayNames.

Definition at line 191 of file qcalendarwidget.h.

◆ maximumDate

QCalendarWidget::maximumDate
readwrite

the maximum date of the currently specified date range.

The user will not be able to select a date which is after the currently set maximum date.

\table \row

  • \row
  • \endtable

By default, the maximum date is the last day the QDate class can handle.

When setting a maximum date, the minimumDate and selectedDate properties are adjusted if the selection range becomes invalid. If the provided date is not a valid QDate object, the setMaximumDate() function does nothing.

See also
setDateRange()

Definition at line 191 of file qcalendarwidget.h.

◆ minimumDate

QCalendarWidget::minimumDate
readwrite

the minimum date of the currently specified date range.

The user will not be able to select a date that is before the currently set minimum date.

\table \row

  • \row
  • \endtable

By default, the minimum date is the earliest date that the QDate class can handle.

When setting a minimum date, the maximumDate and selectedDate properties are adjusted if the selection range becomes invalid. If the provided date is not a valid QDate object, the setMinimumDate() function does nothing.

See also
setDateRange()

Definition at line 191 of file qcalendarwidget.h.

◆ navigationBarVisible

QCalendarWidget::navigationBarVisible
readwrite

whether the navigation bar is shown or not

Since
4.3

When this property is true (the default), the next month, previous month, month selection, year selection controls are shown on top.

When the property is set to false, these controls are hidden.

Definition at line 191 of file qcalendarwidget.h.

◆ selectedDate

QCalendarWidget::selectedDate
readwrite

the currently selected date.

The selected date must be within the date range specified by the minimumDate and maximumDate properties. By default, the selected date is the current date.

See also
setDateRange()

Definition at line 191 of file qcalendarwidget.h.

◆ selectionMode

QCalendarWidget::selectionMode
readwrite

the type of selection the user can make in the calendar

When this property is set to SingleSelection, the user can select a date within the minimum and maximum allowed dates, using either the mouse or the keyboard.

When the property is set to NoSelection, the user will be unable to select dates, but they can still be selected programmatically. Note that the date that is selected when the property is set to NoSelection will still be the selected date of the calendar.

The default value is SingleSelection.

Definition at line 191 of file qcalendarwidget.h.

◆ verticalHeaderFormat

QCalendarWidget::verticalHeaderFormat
readwrite

the format of the vertical header.

The default value is QCalendarWidget::ISOWeekNumber.

Definition at line 191 of file qcalendarwidget.h.


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