Doc: Mention reset methods for QCalendarWidget::maximumDate, minimumDate

Pick-to: 6.6
Change-Id: Ic3bfbcec1ac7d31ab704b52e6560d44f4a2054e7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Kai Köhne 2023-08-27 16:13:02 +02:00
parent 9937181159
commit bd9a32adca

View File

@ -2492,13 +2492,14 @@ void QCalendarWidget::showToday()
\snippet code/src_gui_widgets_qcalendarwidget.cpp 1
\endtable
The default minimum date is November 25, 4714 BCE.
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.
The default minimum date is November 25, 4714 BCE.
You can restore this default by calling clearMinimumDate() (since Qt 6.6).
\sa setDateRange()
*/
@ -2547,13 +2548,14 @@ void QCalendarWidget::clearMinimumDate()
\snippet code/src_gui_widgets_qcalendarwidget.cpp 2
\endtable
The default maximum date is December 31, 9999 CE.
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.
The default maximum date is December 31, 9999 CE.
You can restore this default by calling clearMaximumDate() (since Qt 6.6).
\sa setDateRange()
*/