Class: QgsProxyStyle

class qgis.gui.QgsProxyStyle(parent: QWidget)

Bases: PyQt5.QtWidgets.QProxyStyle

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.

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.

Parameters

parent

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
sender(self) → QObject
senderSignalIndex(self) → int
timerEvent(self, QTimerEvent)