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.
Added in version 3.2.
QgsProxyStyle(parent: Optional[QWidget]) Constructor for
QgsProxyStyle
. Ownership is transferred to theparent
widget.The base style for the QProxyStyle will be set to match the current QGIS application style.
- childEvent(self, a0: QChildEvent | None)¶
- connectNotify(self, signal: QMetaMethod)¶
- customEvent(self, a0: QEvent | None)¶
- disconnectNotify(self, signal: QMetaMethod)¶
- event(self, e: QEvent | None) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- sender(self) QObject | None ¶
- senderSignalIndex(self) int ¶
- timerEvent(self, a0: QTimerEvent | None)¶