Contents:
A QProxyStyle subclass which correctly sets the base style to match the QGIS application style, and handles object lifetime by correctly parenting to a parent widget.
Added in version 3.2.
Inheritance diagram of qgis.gui.QgsProxyStyle
QProxyStyle
QCommonStyle
QStyle
QObject
Bases: QProxyStyle
Constructor for QgsProxyStyle. Ownership is transferred to the parent widget.
parent
The base style for the QProxyStyle will be set to match the current QGIS application style.
parent (Optional[QWidget])