PythonQt.QtGui.QSurface · declarations 001
Back to PythonQt.QtGui.QSurface
format
format() -> Any
X.format() -> PythonQt.QtGui.QSurfaceFormat
Supplemental documentation: Qt 5 reference:
[pure virtual] QSurfaceFormat QSurface::format() const
Returns the format of the surface.
Upstream PySide2 reference signatures (binding differences may apply):
format(self) -> PySide2.QtGui.QSurfaceFormat
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html#format
size
size() -> Any
X.size() -> PythonQt.QtCore.QSize
Supplemental documentation: Qt 5 reference:
[pure virtual] QSize QSurface::size() const
Returns the size of the surface in pixels.
Upstream PySide2 reference signatures (binding differences may apply):
size(self) -> PySide2.QtCore.QSize
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html#size
supportsOpenGL
supportsOpenGL() -> bool
X.supportsOpenGL() -> bool
Supplemental documentation: Qt 5 reference:
bool QSurface::supportsOpenGL() const
Returns true if the surface is OpenGL compatible and can be used in conjunction with QOpenGLContext; otherwise returns false.
This function was introduced in Qt 5.3.
Upstream PySide2 reference signatures (binding differences may apply):
supportsOpenGL(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html#supportsOpenGL
surfaceClass
surfaceClass() -> Any
X.surfaceClass()
Supplemental documentation: Qt 5 reference:
QSurface::SurfaceClass QSurface::surfaceClass() const
Returns the surface class of this surface.
Upstream PySide2 reference signatures (binding differences may apply):
surfaceClass(self) -> PySide2.QtGui.QSurface.SurfaceClass
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html#surfaceClass
surfaceHandle
surfaceHandle() -> int
X.surfaceHandle()
Supplemental documentation: Qt 5 reference:
[pure virtual] QPlatformSurface *QSurface::surfaceHandle() const
Returns a handle to the platform-specific implementation of the surface.
Upstream PySide2 reference signatures (binding differences may apply):
surfaceHandle(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html#surfaceHandle
surfaceType
surfaceType() -> Any
X.surfaceType()
Supplemental documentation: Qt 5 reference:
[pure virtual] QSurface::SurfaceType QSurface::surfaceType() const
Returns the type of the surface.
Upstream PySide2 reference signatures (binding differences may apply):
surfaceType(self) -> PySide2.QtGui.QSurface.SurfaceType
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html#surfaceType