Class: QgsProxyStyle

class qgis.gui.QgsProxyStyle

Bases: PyQt5.QtWidgets.QProxyStyle

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.

New in version 3.2.

QgsProxyStyle(parent: QWidget) Constructor for QgsProxyStyle. Ownership is transferred to the parent widget.

The base style for the QProxyStyle will be set to match the current QGIS application style.

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
event(self, QEvent)bool
isSignalConnected(self, QMetaMethod)bool
receivers(self, PYQT_SIGNAL)int
timerEvent(self, QTimerEvent)