|
Some small refactoring: shorten lines, use super() and move shader
code to constants.
Refactor the transparent option handling to be in line with the C++
example.
Call the OpenGL cleanup from hideEvent() instead of
QOpenGLContext::aboutToBeDestroyed() since the signal is emitted from
the destructor and thus has no effect for Python.
Pick-to: 6.6
Task-number: PYSIDE-2460
Task-number: PYSIDE-2206
Change-Id: I5d140db6e04baf88d2ac867d809c6cff9eb740b5
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|