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

Classe « QOpenGLWindow »

Informations générales

Héritage

    builtins.object
        Object
            QPaintDevice
builtins.object
    Object
        QSurface
builtins.object
    Object
        QObject
            QWindow
                QPaintDeviceWindow
                    QOpenGLWindow

Définition

class QOpenGLWindow(QPaintDeviceWindow):

Description [extrait de QOpenGLWindow.__doc__]

QOpenGLWindow(self, shareContext: PySide2.QtGui.QOpenGLContext, updateBehavior: PySide2.QtGui.QOpenGLWindow.UpdateBehavior = PySide2.QtGui.QOpenGLWindow.UpdateBehavior.NoPartialUpdate, parent: typing.Union[PySide2.QtGui.QWindow, NoneType] = None)
QOpenGLWindow(self, updateBehavior: PySide2.QtGui.QOpenGLWindow.UpdateBehavior = PySide2.QtGui.QOpenGLWindow.UpdateBehavior.NoPartialUpdate, parent: typing.Union[PySide2.QtGui.QWindow, 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
AutomaticVisibilityPySide2.QtGui.QWindow.Visibility.AutomaticVisibility
ExcludeTransientsPySide2.QtGui.QWindow.AncestorMode.ExcludeTransients
FullScreenPySide2.QtGui.QWindow.Visibility.FullScreen
HiddenPySide2.QtGui.QWindow.Visibility.Hidden
IncludeTransientsPySide2.QtGui.QWindow.AncestorMode.IncludeTransients
MaximizedPySide2.QtGui.QWindow.Visibility.Maximized
MetalSurfacePySide2.QtGui.QSurface.SurfaceType.MetalSurface
MinimizedPySide2.QtGui.QWindow.Visibility.Minimized
NoPartialUpdatePySide2.QtGui.QOpenGLWindow.UpdateBehavior.NoPartialUpdate
OffscreenPySide2.QtGui.QSurface.SurfaceClass.Offscreen
OpenGLSurfacePySide2.QtGui.QSurface.SurfaceType.OpenGLSurface
OpenVGSurfacePySide2.QtGui.QSurface.SurfaceType.OpenVGSurface
PartialUpdateBlendPySide2.QtGui.QOpenGLWindow.UpdateBehavior.PartialUpdateBlend
PartialUpdateBlitPySide2.QtGui.QOpenGLWindow.UpdateBehavior.PartialUpdateBlit
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
RasterGLSurfacePySide2.QtGui.QSurface.SurfaceType.RasterGLSurface
RasterSurfacePySide2.QtGui.QSurface.SurfaceType.RasterSurface
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36ac3f40>
VulkanSurfacePySide2.QtGui.QSurface.SurfaceType.VulkanSurface
WindowPySide2.QtGui.QSurface.SurfaceClass.Window
WindowedPySide2.QtGui.QWindow.Visibility.Windowed

Attributs statiques hérités de la classe QPaintDevice

painters

Attributs statiques hérités de la classe QSurface

m_type

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__]
activeChanged
contentOrientationChanged
context(self) -> PySide2.QtGui.QOpenGLContext context(self) -> PySide2.QtGui.QOpenGLContext [extrait de context.__doc__]
defaultFramebufferObject(self) -> int defaultFramebufferObject(self) -> int [extrait de defaultFramebufferObject.__doc__]
destroyed
doneCurrent(self) doneCurrent(self) [extrait de doneCurrent.__doc__]
focusObjectChanged
frameSwapped
grabFramebuffer(self) -> PySide2.QtGui.QImage grabFramebuffer(self) -> PySide2.QtGui.QImage [extrait de grabFramebuffer.__doc__]
heightChanged
initializeGL(self) initializeGL(self) [extrait de initializeGL.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
makeCurrent(self) makeCurrent(self) [extrait de makeCurrent.__doc__]
maximumHeightChanged
maximumWidthChanged
metric(self, metric: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int metric(self, metric: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int [extrait de metric.__doc__]
minimumHeightChanged
minimumWidthChanged
modalityChanged
objectNameChanged
opacityChanged
paintEvent(self, event: PySide2.QtGui.QPaintEvent) paintEvent(self, event: PySide2.QtGui.QPaintEvent) [extrait de paintEvent.__doc__]
paintGL(self) paintGL(self) [extrait de paintGL.__doc__]
paintOverGL(self) paintOverGL(self) [extrait de paintOverGL.__doc__]
paintUnderGL(self) paintUnderGL(self) [extrait de paintUnderGL.__doc__]
redirected(self, arg__1: PySide2.QtCore.QPoint) -> PySide2.QtGui.QPaintDevice redirected(self, arg__1: PySide2.QtCore.QPoint) -> PySide2.QtGui.QPaintDevice [extrait de redirected.__doc__]
resizeEvent(self, event: PySide2.QtGui.QResizeEvent) resizeEvent(self, event: PySide2.QtGui.QResizeEvent) [extrait de resizeEvent.__doc__]
resizeGL(self, w: int, h: int) resizeGL(self, w: int, h: int) [extrait de resizeGL.__doc__]
screenChanged
shareContext(self) -> PySide2.QtGui.QOpenGLContext shareContext(self) -> PySide2.QtGui.QOpenGLContext [extrait de shareContext.__doc__]
transientParentChanged
UpdateBehavior
updateBehavior(self) -> PySide2.QtGui.QOpenGLWindow.UpdateBehavior updateBehavior(self) -> PySide2.QtGui.QOpenGLWindow.UpdateBehavior [extrait de updateBehavior.__doc__]
visibilityChanged
visibleChanged
widthChanged
windowStateChanged
windowTitleChanged
xChanged
yChanged

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

__init_subclass__, __subclasshook__, event, exposeEvent, paintEngine, update

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

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

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

__init_subclass__, __repr__, __subclasshook__, accessibleRoot, alert, AncestorMode, baseSize, close, contentOrientation, create, cursor, destroy, devicePixelRatio, event, exposeEvent, filePath, flags, focusInEvent, focusObject, focusOutEvent, format, frameGeometry, frameMargins, framePosition, fromWinId, geometry, height, hide, hideEvent, icon, isActive, isAncestorOf, isExposed, isModal, isTopLevel, isVisible, keyPressEvent, keyReleaseEvent, lower, mapFromGlobal, mapToGlobal, mask, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, modality, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, moveEvent, nativeEvent, opacity, parent, position, raise_, reportContentOrientationChange, requestActivate, requestedFormat, requestUpdate, resize, screen, setBaseSize, setCursor, setFilePath, setFlag, setFlags, setFormat, setFramePosition, setGeometry, setHeight, setIcon, setKeyboardGrabEnabled, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setModality, setMouseGrabEnabled, setOpacity, setParent, setPosition, setScreen, setSizeIncrement, setSurfaceType, setTitle, setTransientParent, setVisibility, setVisible, setWidth, setWindowState, setWindowStates, setX, setY, show, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, surfaceHandle, surfaceType, tabletEvent, title, touchEvent, transientParent, type, unsetCursor, Visibility, visibility, wheelEvent, width, windowState, windowStates, winId, x, y

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

__init_subclass__, __subclasshook__, format, size, supportsOpenGL, SurfaceClass, surfaceClass, surfaceHandle, SurfaceType, surfaceType

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, event, 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__