spark.graph_editor.widgets.dock_panel#

Attributes#

Classes#

QDockPanel

Generic dockable panel.

Module Contents#

spark.graph_editor.widgets.dock_panel.CDockWidget[source]#
class spark.graph_editor.widgets.dock_panel.QDockPanel(name, **kwargs)[source]#

Bases: CDockWidget

Generic dockable panel.

Parameters:

name (str)

minimumSizeHint()[source]#
Return type:

PySide6.QtCore.QSize

setContent(content)[source]#

Replace central widget.

Parameters:

content (PySide6.QtWidgets.QWidget)

Return type:

None

content()[source]#

Return the current content widget.

Return type:

PySide6.QtWidgets.QWidget | 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

toggleView(dock_manager)[source]#
Parameters:

dock_manager (PySide6QtAds.CDockManager)

Return type:

None

showEvent(event)[source]#
Return type:

None

hideEvent(event)[source]#
Return type:

None