Class: QgsModelDesignerFoldButtonGraphicItem¶
A button allowing folding or expanding component graphics in the Processing model designer.
Warning
Not stable API
Added in version 3.14.
List of all members, including inherited members
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, size: QSizeF = QSizeF(11, 11))
Constructor for QgsModelDesignerFoldButtonGraphicItem, with the specified
parentitem.The
foldedargument specifies whether the button should initially indicate the folded (collapsed) state.The button will be rendered at the specified
positionandsize.- Parameters:
parent (Optional[QGraphicsItem])
folded (bool)
position (QPointF)
size (QSizeF = QSizeF(11, 11))