CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
An ditor-widget that serves as content of the tabs of 'EditorTabs'-objects. More...
Inherits QFrame.
Public Member Functions | |
def | __init__ |
Initializes an 'Editor'-object. More... | |
def | init_UI |
Initializes all Widgets (labels,buttons,etc.) that are shown in this tab. More... | |
def | add_neuron |
Adds a neuron to the list of neurons, either with or without initial parameters. More... | |
def | removed |
Tells the 'Editor'-object, that the 'remove'-button of a neuron (CompWidget) shown in the editor has been clicked and that the Editor has to remove it from its lists. More... | |
def | change_name |
Tells the 'Editor'-object that a neuron's (CompWidget's) name has been changed; scans through the lists of connections to change the old name to the new name in those lists. More... | |
An ditor-widget that serves as content of the tabs of 'EditorTabs'-objects.
It allows the user to add/remove/edit neurons in a group specified by the tab.
def CompoundPye.src.GUI.circuit_editor.Editor.__init__ | ( | self, | |
parent_EditorTabs, | |||
mode | |||
) |
Initializes an 'Editor'-object.
parent_EditorTabs | Requires the parent 'EditorTabs'-object as parameter to access its list and dictionries that store components/neurons and parameters. |
mode | The mode can be 'column' or 'between', it tells the Editor which list of neurons of the parent 'EditorTabs'-object it should read from/write to. |
def CompoundPye.src.GUI.circuit_editor.Editor.add_neuron | ( | self, | |
initial = False |
|||
) |
Adds a neuron to the list of neurons, either with or without initial parameters.
initial | Can be initialized with a dictionary of parameters. |
def CompoundPye.src.GUI.circuit_editor.Editor.change_name | ( | self, | |
old, | |||
new | |||
) |
Tells the 'Editor'-object that a neuron's (CompWidget's) name has been changed; scans through the lists of connections to change the old name to the new name in those lists.
old | Old name of the neuron (CompWidget). |
new | New name of the neuron (CompWidget). |
def CompoundPye.src.GUI.circuit_editor.Editor.init_UI | ( | self | ) |
Initializes all Widgets (labels,buttons,etc.) that are shown in this tab.
def CompoundPye.src.GUI.circuit_editor.Editor.removed | ( | self, | |
j | |||
) |
Tells the 'Editor'-object, that the 'remove'-button of a neuron (CompWidget) shown in the editor has been clicked and that the Editor has to remove it from its lists.
j | Index of the neuron (CompWidget) to be removed. |