spinetoolbox.widgets.properties_widget

Contains PropertiesWidgetBase.

Module Contents

Classes

PropertiesWidgetBase

Properties widget base class.

class spinetoolbox.widgets.properties_widget.PropertiesWidgetBase(toolbox, base_color=None)[source]

Bases: PySide6.QtWidgets.QWidget

Properties widget base class.

property fg_color[source]
set_item(project_item)[source]

Sets the active project item.

Parameters

project_item (ProjectItem) – active project item

unset_item()[source]

Unsets the active project item.

set_color_and_icon(base_color, icon=None)[source]
eventFilter(obj, ev)[source]
paintEvent(ev)[source]

Paints background