Spine Toolbox
0.8-dev

Contents:

  • What’s New?
  • Getting Started
  • How to Set up SpineOpt.jl
  • Setting up Consoles and External Tools
  • Main Window
  • Project Items
  • Links
  • Tool Specification Editor
  • Executing Projects
  • Settings
  • Spine Database Editor
  • Plotting
  • Parameter Value Editor
  • Spine Metadata Description
  • Importing and Exporting Data
  • Spine Engine Server
  • Terminology
  • Contribution Guide
  • Developer Documentation
  • API Reference
    • spinetoolbox
      • Subpackages
        • spinetoolbox.mvcmodels
        • spinetoolbox.project_item
        • spinetoolbox.server
        • spinetoolbox.spine_db_editor
        • spinetoolbox.widgets
      • Submodules
      • Package Contents
Spine Toolbox
  • API Reference
  • spinetoolbox
  • spinetoolbox.widgets
  • spinetoolbox.widgets.link_properties_widget
  • Edit on GitHub

spinetoolbox.widgets.link_properties_widget

Link properties widget.

Module Contents

Classes

LinkPropertiesWidget

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) –

unset_link()[source]

Releases the widget from any links.

_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

_populate_filter_validation_menu()[source]

Adds actions to filter validation menu.

Returns

menu actions

Return type

dict

_update_filter_validation_options(checked)[source]
_handle_write_index_value_changed(value)[source]
_handle_use_datapackage_state_changed(_state)[source]
_handle_use_memory_db_state_changed(_state)[source]
_handle_purge_before_writing_state_changed(_state)[source]
_open_purge_settings_dialog(_=False)[source]

Opens the purge settings dialog.

_handle_purge_settings_changed()[source]

Pushes a command that sets new purge settings onto undo stack.

_clean_up_purge_settings_dialog()[source]

Cleans things related to purge settings dialog.

load_connection_options()[source]
_select_mutually_exclusive_filter(label)[source]
set_filter_type_enabled(filter_type, enabled)[source]

Enables or disables filter type in the tree.

Parameters
  • filter_type (str) – filter type

  • enabled (bool) – whether filter type is enabled

_set_filter_type_expanded(filter_type, expanded)[source]

Expands or collapses filter type branch in the tree.

Parameters
  • filter_type (str) – filter type

  • expanded (bool) – True to expand the branch, False to collapse

Previous Next

© Copyright 2017-2021 Spine project consortium. Revision 082272a9.

Built with Sphinx using a theme provided by Read the Docs.