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 « PySide2.QtWidgets »

Classe « QMdiSubWindow »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QMdiSubWindow

Définition

class QMdiSubWindow(QWidget):

Description [extrait de QMdiSubWindow.__doc__]

QMdiSubWindow(self, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

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, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AllowOutsideAreaHorizontallyPySide2.QtWidgets.QMdiSubWindow.SubWindowOption.AllowOutsideAreaHorizontally
AllowOutsideAreaVerticallyPySide2.QtWidgets.QMdiSubWindow.SubWindowOption.AllowOutsideAreaVertically
DrawChildrenPySide2.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
IgnoreMaskPySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask
PdmDepthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
RubberBandMovePySide2.QtWidgets.QMdiSubWindow.SubWindowOption.RubberBandMove
RubberBandResizePySide2.QtWidgets.QMdiSubWindow.SubWindowOption.RubberBandResize
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe35a0a440>

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__]
aboutToActivate
changeEvent(self, changeEvent: PySide2.QtCore.QEvent) changeEvent(self, changeEvent: PySide2.QtCore.QEvent) [extrait de changeEvent.__doc__]
childEvent(self, childEvent: PySide2.QtCore.QChildEvent) childEvent(self, childEvent: PySide2.QtCore.QChildEvent) [extrait de childEvent.__doc__]
closeEvent(self, closeEvent: PySide2.QtGui.QCloseEvent) closeEvent(self, closeEvent: PySide2.QtGui.QCloseEvent) [extrait de closeEvent.__doc__]
contextMenuEvent(self, contextMenuEvent: PySide2.QtGui.QContextMenuEvent) contextMenuEvent(self, contextMenuEvent: PySide2.QtGui.QContextMenuEvent) [extrait de contextMenuEvent.__doc__]
customContextMenuRequested
destroyed
event(self, event: PySide2.QtCore.QEvent) -> bool event(self, event: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
focusInEvent(self, focusInEvent: PySide2.QtGui.QFocusEvent) focusInEvent(self, focusInEvent: PySide2.QtGui.QFocusEvent) [extrait de focusInEvent.__doc__]
focusOutEvent(self, focusOutEvent: PySide2.QtGui.QFocusEvent) focusOutEvent(self, focusOutEvent: PySide2.QtGui.QFocusEvent) [extrait de focusOutEvent.__doc__]
hideEvent(self, hideEvent: PySide2.QtGui.QHideEvent) hideEvent(self, hideEvent: PySide2.QtGui.QHideEvent) [extrait de hideEvent.__doc__]
isShaded(self) -> bool isShaded(self) -> bool [extrait de isShaded.__doc__]
keyboardPageStep(self) -> int keyboardPageStep(self) -> int [extrait de keyboardPageStep.__doc__]
keyboardSingleStep(self) -> int keyboardSingleStep(self) -> int [extrait de keyboardSingleStep.__doc__]
keyPressEvent(self, keyEvent: PySide2.QtGui.QKeyEvent) keyPressEvent(self, keyEvent: PySide2.QtGui.QKeyEvent) [extrait de keyPressEvent.__doc__]
leaveEvent(self, leaveEvent: PySide2.QtCore.QEvent) leaveEvent(self, leaveEvent: PySide2.QtCore.QEvent) [extrait de leaveEvent.__doc__]
maximizedButtonsWidget(self) -> PySide2.QtWidgets.QWidget maximizedButtonsWidget(self) -> PySide2.QtWidgets.QWidget [extrait de maximizedButtonsWidget.__doc__]
maximizedSystemMenuIconWidget(self) -> PySide2.QtWidgets.QWidget maximizedSystemMenuIconWidget(self) -> PySide2.QtWidgets.QWidget [extrait de maximizedSystemMenuIconWidget.__doc__]
mdiArea(self) -> PySide2.QtWidgets.QMdiArea mdiArea(self) -> PySide2.QtWidgets.QMdiArea [extrait de mdiArea.__doc__]
minimumSizeHint(self) -> PySide2.QtCore.QSize minimumSizeHint(self) -> PySide2.QtCore.QSize [extrait de minimumSizeHint.__doc__]
mouseDoubleClickEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) mouseDoubleClickEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) [extrait de mouseDoubleClickEvent.__doc__]
mouseMoveEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) mouseMoveEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) mousePressEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) mouseReleaseEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) [extrait de mouseReleaseEvent.__doc__]
moveEvent(self, moveEvent: PySide2.QtGui.QMoveEvent) moveEvent(self, moveEvent: PySide2.QtGui.QMoveEvent) [extrait de moveEvent.__doc__]
objectNameChanged
paintEvent(self, paintEvent: PySide2.QtGui.QPaintEvent) paintEvent(self, paintEvent: PySide2.QtGui.QPaintEvent) [extrait de paintEvent.__doc__]
resizeEvent(self, resizeEvent: PySide2.QtGui.QResizeEvent) resizeEvent(self, resizeEvent: PySide2.QtGui.QResizeEvent) [extrait de resizeEvent.__doc__]
setKeyboardPageStep(self, step: int) setKeyboardPageStep(self, step: int) [extrait de setKeyboardPageStep.__doc__]
setKeyboardSingleStep(self, step: int) setKeyboardSingleStep(self, step: int) [extrait de setKeyboardSingleStep.__doc__]
setOption(self, option: PySide2.QtWidgets.QMdiSubWindow.SubWindowOption, on: bool = True) setOption(self, option: PySide2.QtWidgets.QMdiSubWindow.SubWindowOption, on: bool = True) [extrait de setOption.__doc__]
setSystemMenu(self, systemMenu: PySide2.QtWidgets.QMenu) setSystemMenu(self, systemMenu: PySide2.QtWidgets.QMenu) [extrait de setSystemMenu.__doc__]
setWidget(self, widget: PySide2.QtWidgets.QWidget) setWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de setWidget.__doc__]
showEvent(self, showEvent: PySide2.QtGui.QShowEvent) showEvent(self, showEvent: PySide2.QtGui.QShowEvent) [extrait de showEvent.__doc__]
showShaded(self) showShaded(self) [extrait de showShaded.__doc__]
showSystemMenu(self) showSystemMenu(self) [extrait de showSystemMenu.__doc__]
sizeHint(self) -> PySide2.QtCore.QSize sizeHint(self) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
SubWindowOption
SubWindowOptions
systemMenu(self) -> PySide2.QtWidgets.QMenu systemMenu(self) -> PySide2.QtWidgets.QMenu [extrait de systemMenu.__doc__]
testOption(self, arg__1: PySide2.QtWidgets.QMdiSubWindow.SubWindowOption) -> bool testOption(self, arg__1: PySide2.QtWidgets.QMdiSubWindow.SubWindowOption) -> bool [extrait de testOption.__doc__]
timerEvent(self, timerEvent: PySide2.QtCore.QTimerEvent) timerEvent(self, timerEvent: PySide2.QtCore.QTimerEvent) [extrait de timerEvent.__doc__]
widget(self) -> PySide2.QtWidgets.QWidget widget(self) -> PySide2.QtWidgets.QWidget [extrait de widget.__doc__]
windowIconChanged
windowIconTextChanged
windowStateChanged
windowTitleChanged

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, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, contentsMargins, contentsRect, contextMenuPolicy, create, createWindowContainer, createWinId, cursor, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusNextChild, focusNextPrevChild, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, hide, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isEnabledToTLW, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, keyReleaseEvent, layout, layoutDirection, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseGrabber, move, 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, 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, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, tr

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

__init_subclass__, __subclasshook__

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

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