spinetoolbox.widgets.link_properties_widget
Link properties widget.
Module Contents
Classes
Widget for connection link properties. |
- class spinetoolbox.widgets.link_properties_widget.LinkPropertiesWidget(toolbox, base_color=None)[source]
Bases:
spinetoolbox.widgets.properties_widget.PropertiesWidgetBase
Widget for connection link properties.
- Parameters
toolbox (ToolboxUI) – The toolbox instance where this widget should be embedded
- set_link(connection)[source]
Hooks the widget to given link, so that user actions are reflected in the link’s filter configuration.
- Parameters
connection (LoggingConnection) –
- _handle_auto_check_filters_state_changed(checked)[source]
Updates filters’ auto enabled setting.
- Parameters
checked (bool) – True if the checkbox is checked, False otherwise
- set_auto_check_filters_state(checked)[source]
Sets the checked status of filter default online status check box
- Parameters
checked (bool) – True if the checkbox is checked
Adds actions to filter validation menu.
- Returns
menu actions
- Return type
dict
- _handle_purge_settings_changed()[source]
Pushes a command that sets new purge settings onto undo stack.