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

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QFrame
                    QSplitter

Définition

class QSplitter(QFrame):

Description [extrait de QSplitter.__doc__]

QSplitter(self, arg__1: PySide2.QtCore.Qt.Orientation, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None)
QSplitter(self, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = 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, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
BoxPySide2.QtWidgets.QFrame.Shape.Box
DrawChildrenPySide2.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
HLinePySide2.QtWidgets.QFrame.Shape.HLine
IgnoreMaskPySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask
NoFramePySide2.QtWidgets.QFrame.Shape.NoFrame
PanelPySide2.QtWidgets.QFrame.Shape.Panel
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
PlainPySide2.QtWidgets.QFrame.Shadow.Plain
RaisedPySide2.QtWidgets.QFrame.Shadow.Raised
Shadow_MaskPySide2.QtWidgets.QFrame.StyleMask.Shadow_Mask
Shape_MaskPySide2.QtWidgets.QFrame.StyleMask.Shape_Mask
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe359e0200>
StyledPanelPySide2.QtWidgets.QFrame.Shape.StyledPanel
SunkenPySide2.QtWidgets.QFrame.Shadow.Sunken
VLinePySide2.QtWidgets.QFrame.Shape.VLine
WinPanelPySide2.QtWidgets.QFrame.Shape.WinPanel

Attributs statiques hérités de la classe QPaintDevice

painters

Liste des opérateurs

Signature de l'opérateur Description
__lshift__(self, arg__1: PySide2.QtCore.QTextStream) -> PySide2.QtCore.QTextStream __lshift__(self, arg__1: PySide2.QtCore.QTextStream) -> PySide2.QtCore.QTextStream [extrait de __lshift__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, arg__1: PySide2.QtCore.QTextStream) -> PySide2.QtCore.QTextStream __rshift__(self, arg__1: PySide2.QtCore.QTextStream) -> PySide2.QtCore.QTextStream [extrait de __rshift__.__doc__]

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__]
addWidget(self, widget: PySide2.QtWidgets.QWidget) addWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de addWidget.__doc__]
changeEvent(self, arg__1: PySide2.QtCore.QEvent) changeEvent(self, arg__1: PySide2.QtCore.QEvent) [extrait de changeEvent.__doc__]
childEvent(self, arg__1: PySide2.QtCore.QChildEvent) childEvent(self, arg__1: PySide2.QtCore.QChildEvent) [extrait de childEvent.__doc__]
childrenCollapsible(self) -> bool childrenCollapsible(self) -> bool [extrait de childrenCollapsible.__doc__]
closestLegalPosition(self, arg__1: int, arg__2: int) -> int closestLegalPosition(self, arg__1: int, arg__2: int) -> int [extrait de closestLegalPosition.__doc__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
createHandle(self) -> PySide2.QtWidgets.QSplitterHandle createHandle(self) -> PySide2.QtWidgets.QSplitterHandle [extrait de createHandle.__doc__]
customContextMenuRequested
destroyed
event(self, arg__1: PySide2.QtCore.QEvent) -> bool event(self, arg__1: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
getRange(self, index: int) -> typing.Tuple[int, int] getRange(self, index: int) -> typing.Tuple[int, int] [extrait de getRange.__doc__]
handle(self, index: int) -> PySide2.QtWidgets.QSplitterHandle handle(self, index: int) -> PySide2.QtWidgets.QSplitterHandle [extrait de handle.__doc__]
handleWidth(self) -> int handleWidth(self) -> int [extrait de handleWidth.__doc__]
indexOf(self, w: PySide2.QtWidgets.QWidget) -> int indexOf(self, w: PySide2.QtWidgets.QWidget) -> int [extrait de indexOf.__doc__]
insertWidget(self, index: int, widget: PySide2.QtWidgets.QWidget) insertWidget(self, index: int, widget: PySide2.QtWidgets.QWidget) [extrait de insertWidget.__doc__]
isCollapsible(self, index: int) -> bool isCollapsible(self, index: int) -> bool [extrait de isCollapsible.__doc__]
minimumSizeHint(self) -> PySide2.QtCore.QSize minimumSizeHint(self) -> PySide2.QtCore.QSize [extrait de minimumSizeHint.__doc__]
moveSplitter(self, pos: int, index: int) moveSplitter(self, pos: int, index: int) [extrait de moveSplitter.__doc__]
objectNameChanged
opaqueResize(self) -> bool opaqueResize(self) -> bool [extrait de opaqueResize.__doc__]
orientation(self) -> PySide2.QtCore.Qt.Orientation orientation(self) -> PySide2.QtCore.Qt.Orientation [extrait de orientation.__doc__]
refresh(self) refresh(self) [extrait de refresh.__doc__]
replaceWidget(self, index: int, widget: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QWidget replaceWidget(self, index: int, widget: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QWidget [extrait de replaceWidget.__doc__]
resizeEvent(self, arg__1: PySide2.QtGui.QResizeEvent) resizeEvent(self, arg__1: PySide2.QtGui.QResizeEvent) [extrait de resizeEvent.__doc__]
restoreState(self, state: PySide2.QtCore.QByteArray) -> bool restoreState(self, state: PySide2.QtCore.QByteArray) -> bool [extrait de restoreState.__doc__]
saveState(self) -> PySide2.QtCore.QByteArray saveState(self) -> PySide2.QtCore.QByteArray [extrait de saveState.__doc__]
setChildrenCollapsible(self, arg__1: bool) setChildrenCollapsible(self, arg__1: bool) [extrait de setChildrenCollapsible.__doc__]
setCollapsible(self, index: int, arg__2: bool) setCollapsible(self, index: int, arg__2: bool) [extrait de setCollapsible.__doc__]
setHandleWidth(self, arg__1: int) setHandleWidth(self, arg__1: int) [extrait de setHandleWidth.__doc__]
setOpaqueResize(self, opaque: bool = True) setOpaqueResize(self, opaque: bool = True) [extrait de setOpaqueResize.__doc__]
setOrientation(self, arg__1: PySide2.QtCore.Qt.Orientation) setOrientation(self, arg__1: PySide2.QtCore.Qt.Orientation) [extrait de setOrientation.__doc__]
setRubberBand(self, position: int) setRubberBand(self, position: int) [extrait de setRubberBand.__doc__]
setSizes(self, list: typing.Sequence[int]) setSizes(self, list: typing.Sequence[int]) [extrait de setSizes.__doc__]
setStretchFactor(self, index: int, stretch: int) setStretchFactor(self, index: int, stretch: int) [extrait de setStretchFactor.__doc__]
sizeHint(self) -> PySide2.QtCore.QSize sizeHint(self) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
sizes(self) -> typing.List[int] sizes(self) -> typing.List[int] [extrait de sizes.__doc__]
splitterMoved
widget(self, index: int) -> PySide2.QtWidgets.QWidget widget(self, index: int) -> PySide2.QtWidgets.QWidget [extrait de widget.__doc__]
windowIconChanged
windowIconTextChanged
windowTitleChanged

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

__init_subclass__, __subclasshook__, drawFrame, frameRect, frameShadow, frameShape, frameStyle, frameWidth, initStyleOption, lineWidth, midLineWidth, paintEvent, 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, 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, getContentsMargins, 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, isEnabledToTLW, 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, 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, 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, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, 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__