QCalendarWidget¶

PyQt5.QtWidgets.QCalendarWidget

Inherits from QWidget.

Description¶

TODO

Enums¶

HorizontalHeaderFormat

TODO

Member

Value

Description

LongDayNames

TODO

TODO

NoHorizontalHeader

TODO

TODO

ShortDayNames

TODO

TODO

SingleLetterDayNames

TODO

TODO


SelectionMode

TODO

Member

Value

Description

NoSelection

TODO

TODO

SingleSelection

TODO

TODO


VerticalHeaderFormat

TODO

Member

Value

Description

ISOWeekNumbers

TODO

TODO

NoVerticalHeader

TODO

TODO

Methods¶

__init__(parent: QWidget = None)

TODO


calendar() → QCalendar

TODO


dateEditAcceptDelay() → int

TODO


dateTextFormat() → Dict[QDate, QTextCharFormat]

TODO


dateTextFormat(Union[QDate, datetime.date]) → QTextCharFormat

TODO


event(QEvent) → bool

TODO


eventFilter(QObject, QEvent) → bool

TODO


firstDayOfWeek() → DayOfWeek

TODO


headerTextFormat() → QTextCharFormat

TODO


horizontalHeaderFormat() → HorizontalHeaderFormat

TODO


isDateEditEnabled() → bool

TODO


isGridVisible() → bool

TODO


isNavigationBarVisible() → bool

TODO


keyPressEvent(QKeyEvent)

TODO


maximumDate() → QDate

TODO


minimumDate() → QDate

TODO


minimumSizeHint() → QSize

TODO


monthShown() → int

TODO


mousePressEvent(QMouseEvent)

TODO


paintCell(QPainter, QRect, Union[QDate, datetime.date])

TODO


resizeEvent(QResizeEvent)

TODO


selectedDate() → QDate

TODO


selectionMode() → SelectionMode

TODO


setCalendar(QCalendar)

TODO


setCurrentPage(int, int)

TODO


setDateEditAcceptDelay(int)

TODO


setDateEditEnabled(bool)

TODO


setDateRange(Union[QDate, datetime.date], Union[QDate, datetime.date])

TODO


setDateTextFormat(Union[QDate, datetime.date], QTextCharFormat)

TODO


setFirstDayOfWeek(DayOfWeek)

TODO


setGridVisible(bool)

TODO


setHeaderTextFormat(QTextCharFormat)

TODO


setHorizontalHeaderFormat(HorizontalHeaderFormat)

TODO


setMaximumDate(Union[QDate, datetime.date])

TODO


setMinimumDate(Union[QDate, datetime.date])

TODO


setNavigationBarVisible(bool)

TODO


setSelectedDate(Union[QDate, datetime.date])

TODO


setSelectionMode(SelectionMode)

TODO


setVerticalHeaderFormat(VerticalHeaderFormat)

TODO


setWeekdayTextFormat(DayOfWeek, QTextCharFormat)

TODO


showNextMonth()

TODO


showNextYear()

TODO


showPreviousMonth()

TODO


showPreviousYear()

TODO


showSelectedDate()

TODO


showToday()

TODO


sizeHint() → QSize

TODO


updateCell(Union[QDate, datetime.date])

TODO


updateCells()

TODO


verticalHeaderFormat() → VerticalHeaderFormat

TODO


weekdayTextFormat(DayOfWeek) → QTextCharFormat

TODO


yearShown() → int

TODO

Signals¶

activated(Union[QDate, datetime.date])

TODO


clicked(Union[QDate, datetime.date])

TODO


currentPageChanged(int, int)

TODO


selectionChanged()

TODO