Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtWidgets »

Classe « QCalendarWidget »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QCalendarWidget

Définition

class QCalendarWidget(QWidget):

Description [extrait de QCalendarWidget.__doc__]

QCalendarWidget(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None __init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
DrawChildrenPySide6.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide6.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
IgnoreMaskPySide6.QtWidgets.QWidget.RenderFlag.IgnoreMask
ISOWeekNumbersPySide6.QtWidgets.QCalendarWidget.VerticalHeaderFormat.ISOWeekNumbers
LongDayNamesPySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat.LongDayNames
NoHorizontalHeaderPySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat.NoHorizontalHeader
NoSelectionPySide6.QtWidgets.QCalendarWidget.SelectionMode.NoSelection
NoVerticalHeaderPySide6.QtWidgets.QCalendarWidget.VerticalHeaderFormat.NoVerticalHeader
PdmDepthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
ShortDayNamesPySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat.ShortDayNames
SingleLetterDayNamesPySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat.SingleLetterDayNames
SingleSelectionPySide6.QtWidgets.QCalendarWidget.SelectionMode.SingleSelection
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfe26400>

Attributs statiques hérités de la classe QPaintDevice

painters

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
activated
calendar(self) -> PySide6.QtCore.QCalendar calendar(self) -> PySide6.QtCore.QCalendar [extrait de calendar.__doc__]
clicked
currentPageChanged
customContextMenuRequested
dateEditAcceptDelay(self) -> int dateEditAcceptDelay(self) -> int [extrait de dateEditAcceptDelay.__doc__]
dateTextFormat dateTextFormat(self) -> Dict[PySide6.QtCore.QDate, PySide6.QtGui.QTextCharFormat] [extrait de dateTextFormat.__doc__]
destroyed
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, watched: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent) -> bool eventFilter(self, watched: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
firstDayOfWeek(self) -> PySide6.QtCore.Qt.DayOfWeek firstDayOfWeek(self) -> PySide6.QtCore.Qt.DayOfWeek [extrait de firstDayOfWeek.__doc__]
headerTextFormat(self) -> PySide6.QtGui.QTextCharFormat headerTextFormat(self) -> PySide6.QtGui.QTextCharFormat [extrait de headerTextFormat.__doc__]
HorizontalHeaderFormat
horizontalHeaderFormat(self) -> PySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat horizontalHeaderFormat(self) -> PySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat [extrait de horizontalHeaderFormat.__doc__]
isDateEditEnabled(self) -> bool isDateEditEnabled(self) -> bool [extrait de isDateEditEnabled.__doc__]
isGridVisible(self) -> bool isGridVisible(self) -> bool [extrait de isGridVisible.__doc__]
isNavigationBarVisible(self) -> bool isNavigationBarVisible(self) -> bool [extrait de isNavigationBarVisible.__doc__]
keyPressEvent(self, event: PySide6.QtGui.QKeyEvent) -> None keyPressEvent(self, event: PySide6.QtGui.QKeyEvent) -> None [extrait de keyPressEvent.__doc__]
maximumDate(self) -> PySide6.QtCore.QDate maximumDate(self) -> PySide6.QtCore.QDate [extrait de maximumDate.__doc__]
minimumDate(self) -> PySide6.QtCore.QDate minimumDate(self) -> PySide6.QtCore.QDate [extrait de minimumDate.__doc__]
minimumSizeHint(self) -> PySide6.QtCore.QSize minimumSizeHint(self) -> PySide6.QtCore.QSize [extrait de minimumSizeHint.__doc__]
monthShown(self) -> int monthShown(self) -> int [extrait de monthShown.__doc__]
mousePressEvent(self, event: PySide6.QtGui.QMouseEvent) -> None mousePressEvent(self, event: PySide6.QtGui.QMouseEvent) -> None [extrait de mousePressEvent.__doc__]
objectNameChanged
paintCell(self, painter: PySide6.QtGui.QPainter, rect: PySide6.QtCore.QRect, date: PySide6.QtCore.QDate) -> None paintCell(self, painter: PySide6.QtGui.QPainter, rect: PySide6.QtCore.QRect, date: PySide6.QtCore.QDate) -> None [extrait de paintCell.__doc__]
resizeEvent(self, event: PySide6.QtGui.QResizeEvent) -> None resizeEvent(self, event: PySide6.QtGui.QResizeEvent) -> None [extrait de resizeEvent.__doc__]
selectedDate(self) -> PySide6.QtCore.QDate selectedDate(self) -> PySide6.QtCore.QDate [extrait de selectedDate.__doc__]
selectionChanged
SelectionMode
selectionMode(self) -> PySide6.QtWidgets.QCalendarWidget.SelectionMode selectionMode(self) -> PySide6.QtWidgets.QCalendarWidget.SelectionMode [extrait de selectionMode.__doc__]
setCalendar(self, calendar: PySide6.QtCore.QCalendar) -> None setCalendar(self, calendar: PySide6.QtCore.QCalendar) -> None [extrait de setCalendar.__doc__]
setCurrentPage(self, year: int, month: int) -> None setCurrentPage(self, year: int, month: int) -> None [extrait de setCurrentPage.__doc__]
setDateEditAcceptDelay(self, delay: int) -> None setDateEditAcceptDelay(self, delay: int) -> None [extrait de setDateEditAcceptDelay.__doc__]
setDateEditEnabled(self, enable: bool) -> None setDateEditEnabled(self, enable: bool) -> None [extrait de setDateEditEnabled.__doc__]
setDateRange(self, min: PySide6.QtCore.QDate, max: PySide6.QtCore.QDate) -> None setDateRange(self, min: PySide6.QtCore.QDate, max: PySide6.QtCore.QDate) -> None [extrait de setDateRange.__doc__]
setDateTextFormat(self, date: PySide6.QtCore.QDate, format: PySide6.QtGui.QTextCharFormat) -> None setDateTextFormat(self, date: PySide6.QtCore.QDate, format: PySide6.QtGui.QTextCharFormat) -> None [extrait de setDateTextFormat.__doc__]
setFirstDayOfWeek(self, dayOfWeek: PySide6.QtCore.Qt.DayOfWeek) -> None setFirstDayOfWeek(self, dayOfWeek: PySide6.QtCore.Qt.DayOfWeek) -> None [extrait de setFirstDayOfWeek.__doc__]
setGridVisible(self, show: bool) -> None setGridVisible(self, show: bool) -> None [extrait de setGridVisible.__doc__]
setHeaderTextFormat(self, format: PySide6.QtGui.QTextCharFormat) -> None setHeaderTextFormat(self, format: PySide6.QtGui.QTextCharFormat) -> None [extrait de setHeaderTextFormat.__doc__]
setHorizontalHeaderFormat(self, format: PySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat) -> None setHorizontalHeaderFormat(self, format: PySide6.QtWidgets.QCalendarWidget.HorizontalHeaderFormat) -> None [extrait de setHorizontalHeaderFormat.__doc__]
setMaximumDate(self, date: PySide6.QtCore.QDate) -> None setMaximumDate(self, date: PySide6.QtCore.QDate) -> None [extrait de setMaximumDate.__doc__]
setMinimumDate(self, date: PySide6.QtCore.QDate) -> None setMinimumDate(self, date: PySide6.QtCore.QDate) -> None [extrait de setMinimumDate.__doc__]
setNavigationBarVisible(self, visible: bool) -> None setNavigationBarVisible(self, visible: bool) -> None [extrait de setNavigationBarVisible.__doc__]
setSelectedDate(self, date: PySide6.QtCore.QDate) -> None setSelectedDate(self, date: PySide6.QtCore.QDate) -> None [extrait de setSelectedDate.__doc__]
setSelectionMode(self, mode: PySide6.QtWidgets.QCalendarWidget.SelectionMode) -> None setSelectionMode(self, mode: PySide6.QtWidgets.QCalendarWidget.SelectionMode) -> None [extrait de setSelectionMode.__doc__]
setVerticalHeaderFormat(self, format: PySide6.QtWidgets.QCalendarWidget.VerticalHeaderFormat) -> None setVerticalHeaderFormat(self, format: PySide6.QtWidgets.QCalendarWidget.VerticalHeaderFormat) -> None [extrait de setVerticalHeaderFormat.__doc__]
setWeekdayTextFormat(self, dayOfWeek: PySide6.QtCore.Qt.DayOfWeek, format: PySide6.QtGui.QTextCharFormat) -> None setWeekdayTextFormat(self, dayOfWeek: PySide6.QtCore.Qt.DayOfWeek, format: PySide6.QtGui.QTextCharFormat) -> None [extrait de setWeekdayTextFormat.__doc__]
showNextMonth(self) -> None showNextMonth(self) -> None [extrait de showNextMonth.__doc__]
showNextYear(self) -> None showNextYear(self) -> None [extrait de showNextYear.__doc__]
showPreviousMonth(self) -> None showPreviousMonth(self) -> None [extrait de showPreviousMonth.__doc__]
showPreviousYear(self) -> None showPreviousYear(self) -> None [extrait de showPreviousYear.__doc__]
showSelectedDate(self) -> None showSelectedDate(self) -> None [extrait de showSelectedDate.__doc__]
showToday(self) -> None showToday(self) -> None [extrait de showToday.__doc__]
sizeHint(self) -> PySide6.QtCore.QSize sizeHint(self) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
tr
updateCell(self, date: PySide6.QtCore.QDate) -> None updateCell(self, date: PySide6.QtCore.QDate) -> None [extrait de updateCell.__doc__]
updateCells(self) -> None updateCells(self) -> None [extrait de updateCells.__doc__]
VerticalHeaderFormat
verticalHeaderFormat(self) -> PySide6.QtWidgets.QCalendarWidget.VerticalHeaderFormat verticalHeaderFormat(self) -> PySide6.QtWidgets.QCalendarWidget.VerticalHeaderFormat [extrait de verticalHeaderFormat.__doc__]
weekdayTextFormat(self, dayOfWeek: PySide6.QtCore.Qt.DayOfWeek) -> PySide6.QtGui.QTextCharFormat weekdayTextFormat(self, dayOfWeek: PySide6.QtCore.Qt.DayOfWeek) -> PySide6.QtGui.QTextCharFormat [extrait de weekdayTextFormat.__doc__]
windowIconChanged
windowIconTextChanged
windowTitleChanged
yearShown(self) -> int yearShown(self) -> int [extrait de yearShown.__doc__]

Méthodes héritées de la classe QWidget

__init_subclass__, __repr__, __subclasshook__, acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, backingStore, baseSize, changeEvent, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuEvent, contextMenuPolicy, create, createWindowContainer, createWinId, cursor, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, hide, hideEvent, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, keyReleaseEvent, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mouseReleaseEvent, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, paintEvent, palette, parentWidget, pos, previousInFocusChain, raise_, rect, redirected, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, RenderFlag, RenderFlags, repaint, resize, restoreGeometry, saveGeometry, screen, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setScreen, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, toolTipDuration, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, wheelEvent, width, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, winId, x, y

Méthodes héritées de la classe QPaintDevice

__init_subclass__, __subclasshook__, colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, devType, height, heightMM, initPainter, logicalDpiX, logicalDpiY, metric, PaintDeviceMetric, paintEngine, paintingActive, physicalDpiX, physicalDpiY, redirected, sharedPainter, width, widthMM

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__