4#ifndef QCALENDARWIDGET_H
5#define QCALENDARWIDGET_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qwidget.h>
9#include <QtCore/qdatetime.h>
30 WRITE setHorizontalHeaderFormat)
32 WRITE setVerticalHeaderFormat)
33 Q_PROPERTY(
bool navigationBarVisible READ isNavigationBarVisible WRITE setNavigationBarVisible)
34 Q_PROPERTY(
bool dateEditEnabled READ isDateEditEnabled WRITE setDateEditEnabled)
35 Q_PROPERTY(
int dateEditAcceptDelay READ dateEditAcceptDelay WRITE setDateEditAcceptDelay)
44 Q_ENUM(HorizontalHeaderFormat)
50 Q_ENUM(VerticalHeaderFormat)
64 QDate selectedDate()
const;
66 int yearShown()
const;
67 int monthShown()
const;
69 QDate minimumDate()
const;
71 void clearMinimumDate();
73 QDate maximumDate()
const;
75 void clearMaximumDate();
80 bool isNavigationBarVisible()
const;
81 bool isGridVisible()
const;
86 SelectionMode selectionMode()
const;
87 void setSelectionMode(SelectionMode
mode);
89 HorizontalHeaderFormat horizontalHeaderFormat()
const;
90 void setHorizontalHeaderFormat(HorizontalHeaderFormat
format);
92 VerticalHeaderFormat verticalHeaderFormat()
const;
93 void setVerticalHeaderFormat(VerticalHeaderFormat
format);
105 bool isDateEditEnabled()
const;
106 void setDateEditEnabled(
bool enable);
108 int dateEditAcceptDelay()
const;
109 void setDateEditAcceptDelay(
int delay);
125 void setCurrentPage(
int year,
int month);
127 void setNavigationBarVisible(
bool visible);
128 void showNextMonth();
129 void showPreviousMonth();
131 void showPreviousYear();
132 void showSelectedDate();
The QAction class provides an abstraction for user commands that can be added to different user inter...
The QCalendar class describes calendar systems.
\inmodule QtCore \reentrant
The QKeyEvent class describes a key event.
virtual bool eventFilter(QObject *watched, QEvent *event)
Filters events if this object has been installed as an event filter for the watched object.
The QPainter class performs low-level painting on widgets and other paint devices.
\inmodule QtCore\reentrant
The QResizeEvent class contains event parameters for resize events.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum format
#define QT_REQUIRE_CONFIG(feature)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent