Class: QgsModelDesignerFoldButtonGraphicItem¶
A button allowing folding or expanding component graphics in the Processing model designer.
Warning
Not stable API
Added in version 3.14.
Class Hierarchy¶
Base classes¶
A flat button graphic item for use in the Processing model designer. |
|
Signals
Emitted when the button folded state changes. |
- class qgis.gui.QgsModelDesignerFoldButtonGraphicItem[source]¶
Bases:
QgsModelDesignerFlatButtonGraphicItem
- __init__(parent: QGraphicsItem | None, folded: bool, position: QPointF | QPoint, size: QSizeF = QSizeF(11, 11))
Constructor for QgsModelDesignerFoldButtonGraphicItem, with the specified
parent
item.The
folded
argument specifies whether the button should initially indicate the folded (collapsed) state.The button will be rendered at the specified
position
andsize
.- Parameters:
parent (Optional[QGraphicsItem])
folded (bool)
position (Union[QPointF, QPoint])
size (QSizeF = QSizeF(11, 11))