Class: QgsTreeWidgetItemObject¶
Custom QgsTreeWidgetItem
with extra signals when the item is
edited.
Class Hierarchy¶
Base classes¶
QTreeWidgetItem subclass with custom handling for item sorting. |
|
Virtual Methods
In PyQGIS, only methods marked as virtual
can be safely overridden in a Python subclass of QgsTreeWidgetItemObject. See the FAQ for more details.
Sets the value for the item's column and role to the given value. |
Signals
Emitted when the contents of the column in the specified item has been edited by the user. |
- class qgis.gui.QgsTreeWidgetItemObject[source]¶
Bases:
QObject
,QgsTreeWidgetItem
- __init__(type: int = QTreeWidgetItem.Type)
Constructor for QgsTreeWidgetItemObject
- Parameters:
type (int = QTreeWidgetItem.Type) – item type
- __init__(parent: QTreeWidget | None, type: int = QTreeWidgetItem.Type)
Constructs a tree widget item of the specified type and appends it to the items in the given parent.
- Parameters:
parent (Optional[QTreeWidget])
type (int = QTreeWidgetItem.Type)