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.QtQuickWidgets »

Classe « QQuickWidget »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QQuickWidget

Définition

class QQuickWidget(QWidget):

Description [extrait de QQuickWidget.__doc__]

QQuickWidget(self, engine: PySide6.QtQml.QQmlEngine, parent: PySide6.QtWidgets.QWidget) -> None
QQuickWidget(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None
QQuickWidget(self, source: Union[PySide6.QtCore.QUrl, str], 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__]

Liste des attributs statiques

Nom de l'attribut Valeur
DrawChildrenPySide6.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide6.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
ErrorPySide6.QtQuickWidgets.QQuickWidget.Status.Error
IgnoreMaskPySide6.QtWidgets.QWidget.RenderFlag.IgnoreMask
LoadingPySide6.QtQuickWidgets.QQuickWidget.Status.Loading
NullPySide6.QtQuickWidgets.QQuickWidget.Status.Null
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
ReadyPySide6.QtQuickWidgets.QQuickWidget.Status.Ready
SizeRootObjectToViewPySide6.QtQuickWidgets.QQuickWidget.ResizeMode.SizeRootObjectToView
SizeViewToRootObjectPySide6.QtQuickWidgets.QQuickWidget.ResizeMode.SizeViewToRootObject
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40db0f6e80>

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__]
customContextMenuRequested
destroyed
dragEnterEvent(self, arg__1: PySide6.QtGui.QDragEnterEvent) -> None dragEnterEvent(self, arg__1: PySide6.QtGui.QDragEnterEvent) -> None [extrait de dragEnterEvent.__doc__]
dragLeaveEvent(self, arg__1: PySide6.QtGui.QDragLeaveEvent) -> None dragLeaveEvent(self, arg__1: PySide6.QtGui.QDragLeaveEvent) -> None [extrait de dragLeaveEvent.__doc__]
dragMoveEvent(self, arg__1: PySide6.QtGui.QDragMoveEvent) -> None dragMoveEvent(self, arg__1: PySide6.QtGui.QDragMoveEvent) -> None [extrait de dragMoveEvent.__doc__]
dropEvent(self, arg__1: PySide6.QtGui.QDropEvent) -> None dropEvent(self, arg__1: PySide6.QtGui.QDropEvent) -> None [extrait de dropEvent.__doc__]
engine(self) -> PySide6.QtQml.QQmlEngine engine(self) -> PySide6.QtQml.QQmlEngine [extrait de engine.__doc__]
errors(self) -> List[PySide6.QtQml.QQmlError] errors(self) -> List[PySide6.QtQml.QQmlError] [extrait de errors.__doc__]
event(self, arg__1: PySide6.QtCore.QEvent) -> bool event(self, arg__1: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusInEvent.__doc__]
focusNextPrevChild(self, next: bool) -> bool focusNextPrevChild(self, next: bool) -> bool [extrait de focusNextPrevChild.__doc__]
focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusOutEvent.__doc__]
format(self) -> PySide6.QtGui.QSurfaceFormat format(self) -> PySide6.QtGui.QSurfaceFormat [extrait de format.__doc__]
grabFramebuffer(self) -> PySide6.QtGui.QImage grabFramebuffer(self) -> PySide6.QtGui.QImage [extrait de grabFramebuffer.__doc__]
hideEvent(self, arg__1: PySide6.QtGui.QHideEvent) -> None hideEvent(self, arg__1: PySide6.QtGui.QHideEvent) -> None [extrait de hideEvent.__doc__]
initialSize(self) -> PySide6.QtCore.QSize initialSize(self) -> PySide6.QtCore.QSize [extrait de initialSize.__doc__]
keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None [extrait de keyPressEvent.__doc__]
keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None [extrait de keyReleaseEvent.__doc__]
mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseDoubleClickEvent.__doc__]
mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseReleaseEvent.__doc__]
objectNameChanged
paintEvent(self, event: PySide6.QtGui.QPaintEvent) -> None paintEvent(self, event: PySide6.QtGui.QPaintEvent) -> None [extrait de paintEvent.__doc__]
quickWindow(self) -> PySide6.QtQuick.QQuickWindow quickWindow(self) -> PySide6.QtQuick.QQuickWindow [extrait de quickWindow.__doc__]
resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent) -> None resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent) -> None [extrait de resizeEvent.__doc__]
ResizeMode
resizeMode(self) -> PySide6.QtQuickWidgets.QQuickWidget.ResizeMode resizeMode(self) -> PySide6.QtQuickWidgets.QQuickWidget.ResizeMode [extrait de resizeMode.__doc__]
rootContext(self) -> PySide6.QtQml.QQmlContext rootContext(self) -> PySide6.QtQml.QQmlContext [extrait de rootContext.__doc__]
rootObject(self) -> PySide6.QtQuick.QQuickItem rootObject(self) -> PySide6.QtQuick.QQuickItem [extrait de rootObject.__doc__]
sceneGraphError
setClearColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None setClearColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None [extrait de setClearColor.__doc__]
setContent(self, url: Union[PySide6.QtCore.QUrl, str], component: PySide6.QtQml.QQmlComponent, item: PySide6.QtCore.QObject) -> None setContent(self, url: Union[PySide6.QtCore.QUrl, str], component: PySide6.QtQml.QQmlComponent, item: PySide6.QtCore.QObject) -> None [extrait de setContent.__doc__]
setFormat(self, format: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> None setFormat(self, format: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> None [extrait de setFormat.__doc__]
setResizeMode(self, arg__1: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode) -> None setResizeMode(self, arg__1: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode) -> None [extrait de setResizeMode.__doc__]
setSource(self, arg__1: Union[PySide6.QtCore.QUrl, str]) -> None setSource(self, arg__1: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de setSource.__doc__]
showEvent(self, arg__1: PySide6.QtGui.QShowEvent) -> None showEvent(self, arg__1: PySide6.QtGui.QShowEvent) -> None [extrait de showEvent.__doc__]
sizeHint(self) -> PySide6.QtCore.QSize sizeHint(self) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
source(self) -> PySide6.QtCore.QUrl source(self) -> PySide6.QtCore.QUrl [extrait de source.__doc__]
Status
status(self) -> PySide6.QtQuickWidgets.QQuickWidget.Status status(self) -> PySide6.QtQuickWidgets.QQuickWidget.Status [extrait de status.__doc__]
statusChanged
timerEvent(self, arg__1: PySide6.QtCore.QTimerEvent) -> None timerEvent(self, arg__1: PySide6.QtCore.QTimerEvent) -> None [extrait de timerEvent.__doc__]
tr
wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent) -> None wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent) -> None [extrait de wheelEvent.__doc__]
windowIconChanged
windowIconTextChanged
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, changeEvent, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuEvent, contextMenuPolicy, create, createWindowContainer, createWinId, cursor, destroy, devType, effectiveWinId, ensurePolished, enterEvent, find, focusNextChild, 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, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseGrabber, 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, 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, eventFilter, 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__