Class: QgsMenuHeaderWidgetAction¶
- class qgis.gui.QgsMenuHeaderWidgetAction(text: str, parent: QObject = None)¶
Bases:
PyQt5.QtWidgets.QWidgetAction
Constructor for
QgsMenuHeaderWidgetAction
, showing the specifiedtext
.Custom QWidgetAction for displaying subheaders within a QMenu in a standard style.
See also
Methods
- 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)¶