PythonQt.Qt.QSurface
QSurface
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
The size of the surface is accessible with the size() function. The rendering specific attributes of the surface are accessible through the format() function.
Source: https://doc.qt.io/archives/qt-5.15/qsurface.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
Offscreen |
attribute | Any |
(shared captured text) |
OpenGLSurface |
attribute | Any |
(shared captured text) |
RasterGLSurface |
attribute | Any |
(shared captured text) |
RasterSurface |
attribute | Any |
(shared captured text) |
SurfaceClass |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
SurfaceType |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Window |
attribute | Any |
(shared captured text) |
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
format |
function | (self) -> Any |
X.format() -> PythonQt.QtGui.QSurfaceFormat (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
size |
function | (self) -> Any |
X.size() -> PythonQt.QtCore.QSize (shared captured text) |
supportsOpenGL |
function | (self) -> bool |
X.supportsOpenGL() -> bool (shared captured text) |
surfaceClass |
function | (self) -> Any |
Returns the surface class of this surface. (shared captured text) |
surfaceHandle |
function | (self) -> int |
Returns a handle to the platform-specific implementation of the surface. (shared captured text) |
surfaceType |
function | (self) -> Any |
Returns the type of the surface. (shared captured text) |