Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1936

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QCalendarWidget" doc="/**
&lt;p&gt;The &lt;a href=&quot;QCalendarWidget.html#QCalendarWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QCalendarWidget&lt;/tt&gt;&lt;/a&gt; class provides a monthly based calendar widget allowing the user to select a date.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/cleanlooks-calendarwidget.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;The widget is initialized with the current month and year, but &lt;a href=&quot;QCalendarWidget.html#QCalendarWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QCalendarWidget&lt;/tt&gt;&lt;/a&gt; provides several public slots to change the year and month that is shown. The currently displayed month and year can be retrieved using the currentPageMonth() and currentPageYear() functions, respectively.&lt;/p&gt;
&lt;p&gt;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 &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt; function. It is possible to constrain the user selection to a given date range by setting the &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt; properties. Alternatively, both properties can be set in one go using the &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; convenience slot. Set the &lt;a href=&quot;QCalendarWidget.html#selectionMode()&quot;&gt;&lt;tt&gt;selectionMode&lt;/tt&gt;&lt;/a&gt; property to &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;NoSelection&lt;/tt&gt;&lt;/a&gt; to prohibit the user from selecting at all. Note that a date also can be selected programmatically using the &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt; slot.&lt;/p&gt;
&lt;p&gt;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 Sunday.&lt;/p&gt;
&lt;p&gt;The notation of the days can be altered to a single letter abbreviations (&amp;quot;M&amp;quot; for &amp;quot;Monday&amp;quot;) by setting the &lt;a href=&quot;QCalendarWidget.html#horizontalHeaderFormat()&quot;&gt;&lt;tt&gt;horizontalHeaderFormat&lt;/tt&gt;&lt;/a&gt; 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 &lt;a href=&quot;QCalendarWidget.html#verticalHeaderFormat()&quot;&gt;&lt;tt&gt;verticalHeaderFormat&lt;/tt&gt;&lt;/a&gt; property to QCalendarWidget::NoVerticalHeader. The calendar grid can be turned on by setting the gridVisible property to true using the &lt;a href=&quot;QCalendarWidget.html#setGridVisible(boolean)&quot;&gt;&lt;tt&gt;setGridVisible&lt;/tt&gt;&lt;/a&gt; function:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-grid.png&quot; /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;Finally, the day in the first column can be altered using the &lt;a href=&quot;QCalendarWidget.html#setFirstDayOfWeek(com.trolltech.qt.core.Qt.DayOfWeek)&quot;&gt;&lt;tt&gt;setFirstDayOfWeek&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QCalendarWidget.html#QCalendarWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QCalendarWidget&lt;/tt&gt;&lt;/a&gt; class also provides three signals, &lt;a href=&quot;QCalendarWidget.html#selectionChanged()&quot;&gt;&lt;tt&gt;selectionChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QCalendarWidget.html#activated(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#currentPageChanged(int, int)&quot;&gt;&lt;tt&gt;currentPageChanged&lt;/tt&gt;&lt;/a&gt; making it possible to respond to user interaction.&lt;/p&gt;
&lt;p&gt;The rendering of the headers, weekdays or single days can be largely customized by setting &lt;a href=&quot;QTextCharFormat.html&quot;&gt;&lt;tt&gt;QTextCharFormat&lt;/tt&gt;&lt;/a&gt;'s for some special weekday, a special date or for the rendering of the headers.&lt;/p&gt;
&lt;p&gt;Only a subset of the properties in &lt;a href=&quot;QTextCharFormat.html&quot;&gt;&lt;tt&gt;QTextCharFormat&lt;/tt&gt;&lt;/a&gt; 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.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDateEdit.html&quot;&gt;&lt;tt&gt;QDateEdit&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html&quot;&gt;&lt;tt&gt;QTextCharFormat&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void activated(com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;This signal is emitted whenever the user presses the Return or Enter key or double-clicks a &lt;tt&gt;date&lt;/tt&gt; in the calendar widget.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QDate date)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void clicked(com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is clicked. The date the mouse was clicked on is specified by &lt;tt&gt;date&lt;/tt&gt;. The signal is only emitted when clicked on a valid date.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QDate date)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentPageChanged(int year, int month)" doc="/**
&lt;p&gt;This signal is emitted when the currently shown month is changed. The new &lt;tt&gt;year&lt;/tt&gt; and &lt;tt&gt;month&lt;/tt&gt; are passed as parameters.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int year, int month)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int year)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void selectionChanged()" doc="/**
&lt;p&gt;This signal is emitted when the currently selected date is changed.&lt;/p&gt;
&lt;p&gt;The currently selected date can be changed by the user using the mouse or keyboard, or by the programmer using &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QCalendarWidget(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a calendar widget with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The widget is initialized with the current month and year, and the currently selected date is today.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QCalendarWidget()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QCalendarWidget.html#QCalendarWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QCalendarWidget&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final int dateEditAcceptDelay()" doc="/**
&lt;p&gt;Returns the time an inactive date edit is shown before its contents are accepted.&lt;/p&gt;
&lt;p&gt;If the calendar widget's date edit is enabled&lt;/tt&gt;, this property specifies the amount of time (in millseconds) 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.&lt;/p&gt;
&lt;p&gt;By default, the delay is defined to be 1500 milliseconds (1.5 seconds).&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setDateEditAcceptDelay(int)&quot;&gt;&lt;tt&gt;setDateEditAcceptDelay&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.SortedMap&lt;com.trolltech.qt.core.QDate, com.trolltech.qt.gui.QTextCharFormat&gt; dateTextFormat()" doc="/**
&lt;p&gt;Returns a QMap from &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; to &lt;a href=&quot;QTextCharFormat.html&quot;&gt;&lt;tt&gt;QTextCharFormat&lt;/tt&gt;&lt;/a&gt; showing all dates that use a special format that alters their rendering.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTextCharFormat dateTextFormat(com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;Returns a &lt;a href=&quot;QTextCharFormat.html&quot;&gt;&lt;tt&gt;QTextCharFormat&lt;/tt&gt;&lt;/a&gt; for &lt;tt&gt;date&lt;/tt&gt;. The char format can be be empty if the date is not renderd specially.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setDateTextFormat(com.trolltech.qt.core.QDate, com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setDateTextFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.DayOfWeek firstDayOfWeek()" doc="/**
&lt;p&gt;Returns a value identifying the day displayed in the first column..&lt;/p&gt;
&lt;p&gt;By default, the day displayed in the first column is Sunday&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setFirstDayOfWeek(com.trolltech.qt.core.Qt.DayOfWeek)&quot;&gt;&lt;tt&gt;setFirstDayOfWeek&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCharFormat headerTextFormat()" doc="/**
&lt;p&gt;Returns the text char format for rendering the header.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setHeaderTextFormat(com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setHeaderTextFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QCalendarWidget.HorizontalHeaderFormat horizontalHeaderFormat()" doc="/**
&lt;p&gt;Returns the format of the horizontal header..&lt;/p&gt;
&lt;p&gt;The default value is QCalendarWidget::ShortDayNames.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setHorizontalHeaderFormat(com.trolltech.qt.gui.QCalendarWidget.HorizontalHeaderFormat)&quot;&gt;&lt;tt&gt;setHorizontalHeaderFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isDateEditEnabled()" doc="/**
&lt;p&gt;Returns whether the date edit popup is enabled.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;By default, this property is enabled.&lt;/p&gt;
&lt;p&gt;The date edit is simpler in appearance than &lt;a href=&quot;QDateEdit.html&quot;&gt;&lt;tt&gt;QDateEdit&lt;/tt&gt;&lt;/a&gt;, 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.&lt;/p&gt;

@see &lt;tt&gt;QCalendarWidget::dateEditAcceptDelay&lt;/tt&gt; */"/>
    <method name="public final boolean isGridVisible()" doc="/**
&lt;p&gt;Returns whether the table grid is displayed..&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-grid.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isNavigationBarVisible()" doc="/**
&lt;p&gt;Returns whether the navigation bar is shown or not.&lt;/p&gt;
&lt;p&gt;When this property is true (the default), the next month, previous month, month selection, year selection controls are shown on top.&lt;/p&gt;
&lt;p&gt;When the property is set to false, these controls are hidden.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QDate maximumDate()" doc="/**
&lt;p&gt;Returns the maximum date of the currently specified date range..&lt;/p&gt;
&lt;p&gt;The user will not be able to select a date which is after the currently set maximum date.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-maximum.png&quot; /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);
    calendar-&amp;gt;setMaximumDate(QDate(2006, 7, 3));&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;By default, the maximum date is the last day the &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; class can handle.&lt;/p&gt;
&lt;p&gt;When setting a maximum date, the &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt; properties are adjusted if the selection range becomes invalid. If the provided date is not a valid &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; object, the &lt;a href=&quot;QCalendarWidget.html#setMaximumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMaximumDate&lt;/tt&gt;&lt;/a&gt; function does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setMaximumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMaximumDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QDate minimumDate()" doc="/**
&lt;p&gt;Returns the minimum date of the currently specified date range..&lt;/p&gt;
&lt;p&gt;The user will not be able to select a date that is before the currently set minimum date.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-minimum.png&quot; /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);
    calendar-&amp;gt;setMinimumDate(QDate(2006, 6, 19));&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;By default, the minimum date is the earliest date that the &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; class can handle.&lt;/p&gt;
&lt;p&gt;When setting a minimum date, the &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt; properties are adjusted if the selection range becomes invalid. If the provided date is not a valid &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; object, the &lt;a href=&quot;QCalendarWidget.html#setMinimumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMinimumDate&lt;/tt&gt;&lt;/a&gt; function does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setMinimumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMinimumDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int monthShown()" doc="/**
&lt;p&gt;Returns the currently displayed month. Months are numbered from 1 to 12.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#yearShown()&quot;&gt;&lt;tt&gt;yearShown&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QDate selectedDate()" doc="/**
&lt;p&gt;Returns the currently selected date..&lt;/p&gt;
&lt;p&gt;The selected date must be within the date range specified by the &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt; properties. By default, the selected date is the current date.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QCalendarWidget.SelectionMode selectionMode()" doc="/**
&lt;p&gt;Returns the type of selection the user can make in the calendar.&lt;/p&gt;
&lt;p&gt;When this property is set to &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SingleSelection&lt;/tt&gt;&lt;/a&gt;, the user can select a date within the minimum and maximum allowed dates, using either the mouse or the keyboard.&lt;/p&gt;
&lt;p&gt;When the property is set to &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;NoSelection&lt;/tt&gt;&lt;/a&gt;, 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 &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;NoSelection&lt;/tt&gt;&lt;/a&gt; will still be the selected date of the calendar.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SingleSelection&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setSelectionMode(com.trolltech.qt.gui.QCalendarWidget.SelectionMode)&quot;&gt;&lt;tt&gt;setSelectionMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentPage(int year, int month)" doc="/**
&lt;p&gt;Displays the given &lt;tt&gt;month&lt;/tt&gt; of the given &lt;tt&gt;year&lt;/tt&gt; without changing the selected date. Use the &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt; function to alter the selected date.&lt;/p&gt;
&lt;p&gt;The currently displayed month and year can be retrieved using the currentPageMonth() and currentPageYear() functions respectively.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#yearShown()&quot;&gt;&lt;tt&gt;yearShown&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#monthShown()&quot;&gt;&lt;tt&gt;monthShown&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#showPreviousMonth()&quot;&gt;&lt;tt&gt;showPreviousMonth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#showNextMonth()&quot;&gt;&lt;tt&gt;showNextMonth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#showPreviousYear()&quot;&gt;&lt;tt&gt;showPreviousYear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#showNextYear()&quot;&gt;&lt;tt&gt;showNextYear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDateEditAcceptDelay(int delay)" doc="/**
&lt;p&gt;Sets the time an inactive date edit is shown before its contents are accepted to &lt;tt&gt;delay&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the calendar widget's date edit is enabled&lt;/tt&gt;, this property specifies the amount of time (in millseconds) 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.&lt;/p&gt;
&lt;p&gt;By default, the delay is defined to be 1500 milliseconds (1.5 seconds).&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#dateEditAcceptDelay()&quot;&gt;&lt;tt&gt;dateEditAcceptDelay&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDateEditEnabled(boolean enable)" doc="/**
&lt;p&gt;Sets whether the date edit popup is enabled to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;By default, this property is enabled.&lt;/p&gt;
&lt;p&gt;The date edit is simpler in appearance than &lt;a href=&quot;QDateEdit.html&quot;&gt;&lt;tt&gt;QDateEdit&lt;/tt&gt;&lt;/a&gt;, 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.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#isDateEditEnabled()&quot;&gt;&lt;tt&gt;isDateEditEnabled&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QCalendarWidget::dateEditAcceptDelay&lt;/tt&gt; */"/>
    <method name="public final void setDateRange(com.trolltech.qt.core.QDate min, com.trolltech.qt.core.QDate max)" doc="/**
&lt;p&gt;Defines a date range by setting the &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt; properties.&lt;/p&gt;
&lt;p&gt;The date range restricts the user selection, i.e&amp;#x2e; the user can only select dates within the specified date range. Note that&lt;/p&gt;
&lt;pre&gt;    QCalendarWidget *calendar;

    calendar-&amp;gt;setDateRange(min, max);&lt;/pre&gt;
&lt;p&gt;is analogous to&lt;/p&gt;
&lt;pre&gt;    QCalendarWidget *calendar;

    calendar-&amp;gt;setMinimumDate(min);
    calendar-&amp;gt;setMaximumDate(max);&lt;/pre&gt;
&lt;p&gt;If either the &lt;tt&gt;min&lt;/tt&gt; or &lt;tt&gt;max&lt;/tt&gt; parameters are not valid &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; objects, this function does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setMinimumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMinimumDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setMaximumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMaximumDate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDateTextFormat(com.trolltech.qt.core.QDate date, com.trolltech.qt.gui.QTextCharFormat color)" doc="/**
&lt;p&gt;Sets &lt;tt&gt;color&lt;/tt&gt; to render &lt;tt&gt;date&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#dateTextFormat(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;dateTextFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFirstDayOfWeek(com.trolltech.qt.core.Qt.DayOfWeek dayOfWeek)" doc="/**
&lt;p&gt;Sets a value identifying the day displayed in the first column. to &lt;tt&gt;dayOfWeek&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;By default, the day displayed in the first column is Sunday&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#firstDayOfWeek()&quot;&gt;&lt;tt&gt;firstDayOfWeek&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setGridVisible(boolean show)" doc="/**
&lt;p&gt;Sets whether the table grid is displayed. to &lt;tt&gt;show&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-grid.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#isGridVisible()&quot;&gt;&lt;tt&gt;isGridVisible&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHeaderTextFormat(com.trolltech.qt.gui.QTextCharFormat format)" doc="/**
&lt;p&gt;Sets the text char format for rendering the header to &lt;tt&gt;format&lt;/tt&gt;. 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.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#headerTextFormat()&quot;&gt;&lt;tt&gt;headerTextFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHorizontalHeaderFormat(com.trolltech.qt.gui.QCalendarWidget.HorizontalHeaderFormat format)" doc="/**
&lt;p&gt;Sets the format of the horizontal header. to &lt;tt&gt;format&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QCalendarWidget::ShortDayNames.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#horizontalHeaderFormat()&quot;&gt;&lt;tt&gt;horizontalHeaderFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaximumDate(com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;Sets the maximum date of the currently specified date range. to &lt;tt&gt;date&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The user will not be able to select a date which is after the currently set maximum date.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-maximum.png&quot; /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);
    calendar-&amp;gt;setMaximumDate(QDate(2006, 7, 3));&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;By default, the maximum date is the last day the &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; class can handle.&lt;/p&gt;
&lt;p&gt;When setting a maximum date, the &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt; properties are adjusted if the selection range becomes invalid. If the provided date is not a valid &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; object, the &lt;a href=&quot;QCalendarWidget.html#setMaximumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMaximumDate&lt;/tt&gt;&lt;/a&gt; function does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMinimumDate(com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;Sets the minimum date of the currently specified date range. to &lt;tt&gt;date&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The user will not be able to select a date that is before the currently set minimum date.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qcalendarwidget-minimum.png&quot; /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;pre&gt;    QCalendarWidget *calendar;
    calendar-&amp;gt;setGridVisible(true);
    calendar-&amp;gt;setMinimumDate(QDate(2006, 6, 19));&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;By default, the minimum date is the earliest date that the &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; class can handle.&lt;/p&gt;
&lt;p&gt;When setting a minimum date, the &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt; properties are adjusted if the selection range becomes invalid. If the provided date is not a valid &lt;a href=&quot;%2E%2E/core/QDate.html&quot;&gt;&lt;tt&gt;QDate&lt;/tt&gt;&lt;/a&gt; object, the &lt;a href=&quot;QCalendarWidget.html#setMinimumDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setMinimumDate&lt;/tt&gt;&lt;/a&gt; function does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setNavigationBarVisible(boolean visible)" doc="/**
&lt;p&gt;Sets whether the navigation bar is shown or not to &lt;tt&gt;visible&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When this property is true (the default), the next month, previous month, month selection, year selection controls are shown on top.&lt;/p&gt;
&lt;p&gt;When the property is set to false, these controls are hidden.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#isNavigationBarVisible()&quot;&gt;&lt;tt&gt;isNavigationBarVisible&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelectedDate(com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;Sets the currently selected date. to &lt;tt&gt;date&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The selected date must be within the date range specified by the &lt;a href=&quot;QCalendarWidget.html#minimumDate()&quot;&gt;&lt;tt&gt;minimumDate&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QCalendarWidget.html#maximumDate()&quot;&gt;&lt;tt&gt;maximumDate&lt;/tt&gt;&lt;/a&gt; properties. By default, the selected date is the current date.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setDateRange(com.trolltech.qt.core.QDate, com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setDateRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelectionMode(com.trolltech.qt.gui.QCalendarWidget.SelectionMode mode)" doc="/**
&lt;p&gt;Sets the type of selection the user can make in the calendar to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When this property is set to &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SingleSelection&lt;/tt&gt;&lt;/a&gt;, the user can select a date within the minimum and maximum allowed dates, using either the mouse or the keyboard.&lt;/p&gt;
&lt;p&gt;When the property is set to &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;NoSelection&lt;/tt&gt;&lt;/a&gt;, 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 &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;NoSelection&lt;/tt&gt;&lt;/a&gt; will still be the selected date of the calendar.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;QCalendarWidget.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SingleSelection&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#selectionMode()&quot;&gt;&lt;tt&gt;selectionMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalHeaderFormat(com.trolltech.qt.gui.QCalendarWidget.VerticalHeaderFormat format)" doc="/**
&lt;p&gt;Sets the format of the vertical header. to &lt;tt&gt;format&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QCalendarWidget::ISOWeekNumber.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#verticalHeaderFormat()&quot;&gt;&lt;tt&gt;verticalHeaderFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWeekdayTextFormat(com.trolltech.qt.core.Qt.DayOfWeek dayOfWeek, com.trolltech.qt.gui.QTextCharFormat format)" doc="/**
&lt;p&gt;Sets the text char format for rendering of day in the week &lt;tt&gt;dayOfWeek&lt;/tt&gt; to &lt;tt&gt;format&lt;/tt&gt;. 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.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#weekdayTextFormat(com.trolltech.qt.core.Qt.DayOfWeek)&quot;&gt;&lt;tt&gt;weekdayTextFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setHeaderTextFormat(com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setHeaderTextFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showNextMonth()" doc="/**
&lt;p&gt;Shows the next month relative to the currently displayed month. Note that the selected date is not changed.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#showPreviousMonth()&quot;&gt;&lt;tt&gt;showPreviousMonth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showNextYear()" doc="/**
&lt;p&gt;Shows the currently displayed month in the &lt;i&gt;next&lt;/i&gt; year relative to the currently displayed year. Note that the selected date is not changed.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#showPreviousYear()&quot;&gt;&lt;tt&gt;showPreviousYear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showPreviousMonth()" doc="/**
&lt;p&gt;Shows the previous month relative to the currently displayed month. Note that the selected date is not changed.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#showNextMonth()&quot;&gt;&lt;tt&gt;showNextMonth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showPreviousYear()" doc="/**
&lt;p&gt;Shows the currently displayed month in the &lt;i&gt;previous&lt;/i&gt; year relative to the currently displayed year. Note that the selected date is not changed.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#showNextYear()&quot;&gt;&lt;tt&gt;showNextYear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setSelectedDate(com.trolltech.qt.core.QDate)&quot;&gt;&lt;tt&gt;setSelectedDate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showSelectedDate()" doc="/**
&lt;p&gt;Shows the month of the selected date.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showToday()" doc="/**
&lt;p&gt;Shows the month of the today's date.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#selectedDate()&quot;&gt;&lt;tt&gt;selectedDate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QCalendarWidget.VerticalHeaderFormat verticalHeaderFormat()" doc="/**
&lt;p&gt;Returns the format of the vertical header..&lt;/p&gt;
&lt;p&gt;The default value is QCalendarWidget::ISOWeekNumber.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setVerticalHeaderFormat(com.trolltech.qt.gui.QCalendarWidget.VerticalHeaderFormat)&quot;&gt;&lt;tt&gt;setVerticalHeaderFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCharFormat weekdayTextFormat(com.trolltech.qt.core.Qt.DayOfWeek dayOfWeek)" doc="/**
&lt;p&gt;Returns the text char format for rendering of day in the week &lt;tt&gt;dayOfWeek&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#setWeekdayTextFormat(com.trolltech.qt.core.Qt.DayOfWeek, com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setWeekdayTextFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#headerTextFormat()&quot;&gt;&lt;tt&gt;headerTextFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int yearShown()" doc="/**
&lt;p&gt;Returns the year of the currently displayed month. Months are numbered from 1 to 12.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#monthShown()&quot;&gt;&lt;tt&gt;monthShown&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#setCurrentPage(int, int)&quot;&gt;&lt;tt&gt;setCurrentPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintCell(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.core.QRect rect, com.trolltech.qt.core.QDate date)" doc="/**
&lt;p&gt;Paints the cell specified by the given &lt;tt&gt;date&lt;/tt&gt;, using the given &lt;tt&gt;painter&lt;/tt&gt; and &lt;tt&gt;rect&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="HorizontalHeaderFormat" doc="/**
&lt;p&gt;This enum type defines the various formats the horizontal header can display.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#horizontalHeaderFormat()&quot;&gt;&lt;tt&gt;horizontalHeaderFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#VerticalHeaderFormat-enum&quot;&gt;&lt;tt&gt;VerticalHeaderFormat&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="NoHorizontalHeader" doc="/**
&lt;p&gt;The header is hidden.&lt;/p&gt;
 */"/>
        <enum-value name="SingleLetterDayNames" doc="/**
&lt;p&gt;The header displays a single letter abbreviation for day names (e.g&amp;#x2e; M for Monday).&lt;/p&gt;
 */"/>
        <enum-value name="ShortDayNames" doc="/**
&lt;p&gt;The header displays a short abbreviation for day names (e.g&amp;#x2e; Mon for Monday).&lt;/p&gt;
 */"/>
        <enum-value name="LongDayNames" doc="/**
&lt;p&gt;The header displays complete day names (e.g&amp;#x2e; Monday).&lt;/p&gt;
 */"/>
</enum>
    <enum name="VerticalHeaderFormat" doc="/**
&lt;p&gt;This enum type defines the various formats the vertical header can display.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#verticalHeaderFormat()&quot;&gt;&lt;tt&gt;verticalHeaderFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCalendarWidget.html#HorizontalHeaderFormat-enum&quot;&gt;&lt;tt&gt;HorizontalHeaderFormat&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="NoVerticalHeader" doc="/**
&lt;p&gt;The header is hidden.&lt;/p&gt;
 */"/>
        <enum-value name="ISOWeekNumbers" doc="/**
&lt;p&gt;The header displays a ISO week numbers &lt;tt&gt;QDate::weekNumber&lt;/tt&gt;.&lt;/p&gt;
 */"/>
</enum>
    <enum name="SelectionMode" doc="/**
&lt;p&gt;This enum describes the types of selection offered to the user for selecting dates in the calendar.&lt;/p&gt;

@see &lt;a href=&quot;QCalendarWidget.html#selectionMode()&quot;&gt;&lt;tt&gt;selectionMode&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="NoSelection" doc="/**
&lt;p&gt;Dates cannot be selected.&lt;/p&gt;
 */"/>
        <enum-value name="SingleSelection" doc="/**
&lt;p&gt;Single dates can be selected.&lt;/p&gt;
 */"/>
</enum>
</class>