artview.components.LinkSharedVariables

class artview.components.LinkSharedVariables(components=None, name='LinkSharedVariables', parent=None)[source]

Bases: artview.core.core.Component

Class instance for control variables shared between components.

The user may select two components from a list. A radio menu is added for every common sharable variable. Each variable may be unlinked from similar instance in the other component.

This is a powerful Component, multiple instances may conflict.

__init__(components=None, name='LinkSharedVariables', parent=None)[source]

Initialize the class to create the interface.

Parameters:

[Optional] :

components : list of Component instance

Components to control. If None will use the global list present in artview.core.core.componentsList

name : string

Field Radiobutton window name.

parent : PyQt instance

Parent instance to associate to this class. If None, then Qt owns, otherwise associated with parent PyQt instance.

Methods

LinkSharedVariables.connectVar
LinkSharedVariables.disconnectVar
LinkSharedVariables.guiStart
LinkSharedVariables.linking
LinkSharedVariables.setComponent0
LinkSharedVariables.setComponent1
LinkSharedVariables.setupUi
LinkSharedVariables.sizeHint