builtins.object Object QPaintDevice builtins.object Object QSurface builtins.object Object QObject QWindow QPaintDeviceWindow QOpenGLWindow
class QOpenGLWindow(QPaintDeviceWindow):
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)
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__] |
Nom de l'attribut | Valeur |
---|---|
AutomaticVisibility | PySide2.QtGui.QWindow.Visibility.AutomaticVisibility |
ExcludeTransients | PySide2.QtGui.QWindow.AncestorMode.ExcludeTransients |
FullScreen | PySide2.QtGui.QWindow.Visibility.FullScreen |
Hidden | PySide2.QtGui.QWindow.Visibility.Hidden |
IncludeTransients | PySide2.QtGui.QWindow.AncestorMode.IncludeTransients |
Maximized | PySide2.QtGui.QWindow.Visibility.Maximized |
MetalSurface | PySide2.QtGui.QSurface.SurfaceType.MetalSurface |
Minimized | PySide2.QtGui.QWindow.Visibility.Minimized |
NoPartialUpdate | PySide2.QtGui.QOpenGLWindow.UpdateBehavior.NoPartialUpdate |
Offscreen | PySide2.QtGui.QSurface.SurfaceClass.Offscreen |
OpenGLSurface | PySide2.QtGui.QSurface.SurfaceType.OpenGLSurface |
OpenVGSurface | PySide2.QtGui.QSurface.SurfaceType.OpenVGSurface |
PartialUpdateBlend | PySide2.QtGui.QOpenGLWindow.UpdateBehavior.PartialUpdateBlend |
PartialUpdateBlit | PySide2.QtGui.QOpenGLWindow.UpdateBehavior.PartialUpdateBlit |
PdmDepth | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth |
PdmDevicePixelRatio | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio |
PdmDevicePixelRatioScaled | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled |
PdmDpiX | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX |
PdmDpiY | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY |
PdmHeight | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight |
PdmHeightMM | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM |
PdmNumColors | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors |
PdmPhysicalDpiX | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX |
PdmPhysicalDpiY | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY |
PdmWidth | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth |
PdmWidthMM | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM |
RasterGLSurface | PySide2.QtGui.QSurface.SurfaceType.RasterGLSurface |
RasterSurface | PySide2.QtGui.QSurface.SurfaceType.RasterSurface |
staticMetaObject | <PySide2.QtCore.QMetaObject object at 0x7efe36ac3f40> |
VulkanSurface | PySide2.QtGui.QSurface.SurfaceType.VulkanSurface |
Window | PySide2.QtGui.QSurface.SurfaceClass.Window |
Windowed | PySide2.QtGui.QWindow.Visibility.Windowed |
Signature de la méthode | Description |
---|---|
__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 |
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 :