spark.graph_editor.widgets.dock_panel#
Attributes#
Classes#
Generic dockable panel. |
Module Contents#
- class spark.graph_editor.widgets.dock_panel.QDockPanel(name, **kwargs)[source]#
Bases:
CDockWidgetGeneric dockable panel.
- Parameters:
name (str)
- setContent(content)[source]#
Replace central widget.
- Parameters:
content (PySide6.QtWidgets.QWidget)
- Return type:
None
- addWidget(widget)[source]#
Add a widget to the central content widget’s layout.
- Parameters:
widget (PySide6.QtWidgets.QWidget)
- Return type:
None
- removeWidget(widget)[source]#
Remove widget from the central content widget’s layout.
- Parameters:
widget (PySide6.QtWidgets.QWidget)
- Return type:
None
- clearWidgets()[source]#
Removes all widget from the central content widget’s layout.
- Return type:
None