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 « QMdiArea »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QFrame
                    QAbstractScrollArea
                        QMdiArea

Définition

class QMdiArea(QAbstractScrollArea):

Description [extrait de QMdiArea.__doc__]

QMdiArea(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
ActivationHistoryOrderPySide6.QtWidgets.QMdiArea.WindowOrder.ActivationHistoryOrder
AdjustIgnoredPySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustIgnored
AdjustToContentsPySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents
AdjustToContentsOnFirstShowPySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContentsOnFirstShow
BoxPySide6.QtWidgets.QFrame.Shape.Box
CreationOrderPySide6.QtWidgets.QMdiArea.WindowOrder.CreationOrder
DontMaximizeSubWindowOnActivationPySide6.QtWidgets.QMdiArea.AreaOption.DontMaximizeSubWindowOnActivation
DrawChildrenPySide6.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide6.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
HLinePySide6.QtWidgets.QFrame.Shape.HLine
IgnoreMaskPySide6.QtWidgets.QWidget.RenderFlag.IgnoreMask
NoFramePySide6.QtWidgets.QFrame.Shape.NoFrame
PanelPySide6.QtWidgets.QFrame.Shape.Panel
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
PlainPySide6.QtWidgets.QFrame.Shadow.Plain
RaisedPySide6.QtWidgets.QFrame.Shadow.Raised
Shadow_MaskPySide6.QtWidgets.QFrame.StyleMask.Shadow_Mask
Shape_MaskPySide6.QtWidgets.QFrame.StyleMask.Shape_Mask
StackingOrderPySide6.QtWidgets.QMdiArea.WindowOrder.StackingOrder
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e25eb9c0>
StyledPanelPySide6.QtWidgets.QFrame.Shape.StyledPanel
SubWindowViewPySide6.QtWidgets.QMdiArea.ViewMode.SubWindowView
SunkenPySide6.QtWidgets.QFrame.Shadow.Sunken
TabbedViewPySide6.QtWidgets.QMdiArea.ViewMode.TabbedView
VLinePySide6.QtWidgets.QFrame.Shape.VLine
WinPanelPySide6.QtWidgets.QFrame.Shape.WinPanel

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__]
activateNextSubWindow(self) -> None activateNextSubWindow(self) -> None [extrait de activateNextSubWindow.__doc__]
activatePreviousSubWindow(self) -> None activatePreviousSubWindow(self) -> None [extrait de activatePreviousSubWindow.__doc__]
activationOrder(self) -> PySide6.QtWidgets.QMdiArea.WindowOrder activationOrder(self) -> PySide6.QtWidgets.QMdiArea.WindowOrder [extrait de activationOrder.__doc__]
activeSubWindow(self) -> PySide6.QtWidgets.QMdiSubWindow activeSubWindow(self) -> PySide6.QtWidgets.QMdiSubWindow [extrait de activeSubWindow.__doc__]
addSubWindow(self, widget: PySide6.QtWidgets.QWidget, flags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> PySide6.QtWidgets.QMdiSubWindow addSubWindow(self, widget: PySide6.QtWidgets.QWidget, flags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> PySide6.QtWidgets.QMdiSubWindow [extrait de addSubWindow.__doc__]
AreaOption
AreaOptions
background(self) -> PySide6.QtGui.QBrush background(self) -> PySide6.QtGui.QBrush [extrait de background.__doc__]
cascadeSubWindows(self) -> None cascadeSubWindows(self) -> None [extrait de cascadeSubWindows.__doc__]
childEvent(self, childEvent: PySide6.QtCore.QChildEvent) -> None childEvent(self, childEvent: PySide6.QtCore.QChildEvent) -> None [extrait de childEvent.__doc__]
closeActiveSubWindow(self) -> None closeActiveSubWindow(self) -> None [extrait de closeActiveSubWindow.__doc__]
closeAllSubWindows(self) -> None closeAllSubWindows(self) -> None [extrait de closeAllSubWindows.__doc__]
currentSubWindow(self) -> PySide6.QtWidgets.QMdiSubWindow currentSubWindow(self) -> PySide6.QtWidgets.QMdiSubWindow [extrait de currentSubWindow.__doc__]
customContextMenuRequested
destroyed
documentMode(self) -> bool documentMode(self) -> bool [extrait de documentMode.__doc__]
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, object: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent) -> bool eventFilter(self, object: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
minimumSizeHint(self) -> PySide6.QtCore.QSize minimumSizeHint(self) -> PySide6.QtCore.QSize [extrait de minimumSizeHint.__doc__]
objectNameChanged
paintEvent(self, paintEvent: PySide6.QtGui.QPaintEvent) -> None paintEvent(self, paintEvent: PySide6.QtGui.QPaintEvent) -> None [extrait de paintEvent.__doc__]
removeSubWindow(self, widget: PySide6.QtWidgets.QWidget) -> None removeSubWindow(self, widget: PySide6.QtWidgets.QWidget) -> None [extrait de removeSubWindow.__doc__]
resizeEvent(self, resizeEvent: PySide6.QtGui.QResizeEvent) -> None resizeEvent(self, resizeEvent: PySide6.QtGui.QResizeEvent) -> None [extrait de resizeEvent.__doc__]
scrollContentsBy(self, dx: int, dy: int) -> None scrollContentsBy(self, dx: int, dy: int) -> None [extrait de scrollContentsBy.__doc__]
setActivationOrder(self, order: PySide6.QtWidgets.QMdiArea.WindowOrder) -> None setActivationOrder(self, order: PySide6.QtWidgets.QMdiArea.WindowOrder) -> None [extrait de setActivationOrder.__doc__]
setActiveSubWindow(self, window: PySide6.QtWidgets.QMdiSubWindow) -> None setActiveSubWindow(self, window: PySide6.QtWidgets.QMdiSubWindow) -> None [extrait de setActiveSubWindow.__doc__]
setBackground(self, background: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None setBackground(self, background: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de setBackground.__doc__]
setDocumentMode(self, enabled: bool) -> None setDocumentMode(self, enabled: bool) -> None [extrait de setDocumentMode.__doc__]
setOption(self, option: PySide6.QtWidgets.QMdiArea.AreaOption, on: bool = True) -> None setOption(self, option: PySide6.QtWidgets.QMdiArea.AreaOption, on: bool = True) -> None [extrait de setOption.__doc__]
setTabPosition(self, position: PySide6.QtWidgets.QTabWidget.TabPosition) -> None setTabPosition(self, position: PySide6.QtWidgets.QTabWidget.TabPosition) -> None [extrait de setTabPosition.__doc__]
setTabsClosable(self, closable: bool) -> None setTabsClosable(self, closable: bool) -> None [extrait de setTabsClosable.__doc__]
setTabShape(self, shape: PySide6.QtWidgets.QTabWidget.TabShape) -> None setTabShape(self, shape: PySide6.QtWidgets.QTabWidget.TabShape) -> None [extrait de setTabShape.__doc__]
setTabsMovable(self, movable: bool) -> None setTabsMovable(self, movable: bool) -> None [extrait de setTabsMovable.__doc__]
setupViewport(self, viewport: PySide6.QtWidgets.QWidget) -> None setupViewport(self, viewport: PySide6.QtWidgets.QWidget) -> None [extrait de setupViewport.__doc__]
setViewMode(self, mode: PySide6.QtWidgets.QMdiArea.ViewMode) -> None setViewMode(self, mode: PySide6.QtWidgets.QMdiArea.ViewMode) -> None [extrait de setViewMode.__doc__]
showEvent(self, showEvent: PySide6.QtGui.QShowEvent) -> None showEvent(self, showEvent: PySide6.QtGui.QShowEvent) -> None [extrait de showEvent.__doc__]
sizeHint(self) -> PySide6.QtCore.QSize sizeHint(self) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
subWindowActivated
subWindowList(self, order: PySide6.QtWidgets.QMdiArea.WindowOrder = PySide6.QtWidgets.QMdiArea.WindowOrder.CreationOrder) -> List[PySide6.QtWidgets.QMdiSubWindow] subWindowList(self, order: PySide6.QtWidgets.QMdiArea.WindowOrder = PySide6.QtWidgets.QMdiArea.WindowOrder.CreationOrder) -> List[PySide6.QtWidgets.QMdiSubWindow] [extrait de subWindowList.__doc__]
tabPosition(self) -> PySide6.QtWidgets.QTabWidget.TabPosition tabPosition(self) -> PySide6.QtWidgets.QTabWidget.TabPosition [extrait de tabPosition.__doc__]
tabsClosable(self) -> bool tabsClosable(self) -> bool [extrait de tabsClosable.__doc__]
tabShape(self) -> PySide6.QtWidgets.QTabWidget.TabShape tabShape(self) -> PySide6.QtWidgets.QTabWidget.TabShape [extrait de tabShape.__doc__]
tabsMovable(self) -> bool tabsMovable(self) -> bool [extrait de tabsMovable.__doc__]
testOption(self, opton: PySide6.QtWidgets.QMdiArea.AreaOption) -> bool testOption(self, opton: PySide6.QtWidgets.QMdiArea.AreaOption) -> bool [extrait de testOption.__doc__]
tileSubWindows(self) -> None tileSubWindows(self) -> None [extrait de tileSubWindows.__doc__]
timerEvent(self, timerEvent: PySide6.QtCore.QTimerEvent) -> None timerEvent(self, timerEvent: PySide6.QtCore.QTimerEvent) -> None [extrait de timerEvent.__doc__]
tr
ViewMode
viewMode(self) -> PySide6.QtWidgets.QMdiArea.ViewMode viewMode(self) -> PySide6.QtWidgets.QMdiArea.ViewMode [extrait de viewMode.__doc__]
viewportEvent(self, event: PySide6.QtCore.QEvent) -> bool viewportEvent(self, event: PySide6.QtCore.QEvent) -> bool [extrait de viewportEvent.__doc__]
windowIconChanged
windowIconTextChanged
WindowOrder
windowTitleChanged

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

__init_subclass__, __subclasshook__, addScrollBarWidget, contextMenuEvent, cornerWidget, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, horizontalScrollBar, horizontalScrollBarPolicy, keyPressEvent, maximumViewportSize, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, scrollBarWidgets, setCornerWidget, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setSizeAdjustPolicy, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportMargins, SizeAdjustPolicy, sizeAdjustPolicy, verticalScrollBar, verticalScrollBarPolicy, viewport, viewportMargins, viewportSizeHint, wheelEvent

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

__init_subclass__, __subclasshook__, changeEvent, drawFrame, frameRect, frameShadow, frameShape, frameStyle, frameWidth, initStyleOption, lineWidth, midLineWidth, setFrameRect, setFrameShadow, setFrameShape, setFrameStyle, setLineWidth, setMidLineWidth, Shadow, Shape, StyleMask

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, keyPressEvent, keyReleaseEvent, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, 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, 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, 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

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__