Class: QgsMenuHeaderWidgetAction

class qgis.gui.QgsMenuHeaderWidgetAction

Bases: PyQt5.QtWidgets.QWidgetAction

Custom QWidgetAction for displaying subheaders within a QMenu in a standard style.

See also

QgsMenuHeader

New in version 3.0.

QgsMenuHeaderWidgetAction(text: str, parent: QObject = None) Constructor for QgsMenuHeaderWidgetAction, showing the specified text.

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
createWidget(self, QWidget)QWidget
createdWidgets(self)List[QWidget]
customEvent(self, QEvent)
deleteWidget(self, QWidget)
disconnectNotify(self, QMetaMethod)
event(self, QEvent)bool
eventFilter(self, QObject, QEvent)bool
isSignalConnected(self, QMetaMethod)bool
receivers(self, PYQT_SIGNAL)int
sender(self)QObject
senderSignalIndex(self)int
timerEvent(self, QTimerEvent)