CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
A CompWidget is a graphical representation (just a line of buttons really) of a neuron/component in an 'Editor'-object. More...
Inherits QWidget.
Public Member Functions | |
def | __init__ |
Initializes an 'CompWidget'-object. More... | |
def | init_UI |
Initializes all Widgets (labels,buttons,etc.) that are shown in this tab. More... | |
def | create_popup_neuron |
Pops up a 'PopupNeuron'-widget, in which the user can edit the neuron's parameters. More... | |
def | create_popup_connections |
Pops up a 'PopupConnections'-widget, in which the user can edit/add/remove connections. More... | |
def | remove |
Removes this 'CompWidget'-object from its parent 'Editor'-widget (and all its entries in the 'Editor'-widgets lists and dictionaries). More... | |
def | from_file_dict |
def | edited |
After editing in a 'PopupNeuron'-widget is finished, this neuron's name is read from the values-dictionary and its button's label is set appropriately. More... | |
A CompWidget is a graphical representation (just a line of buttons really) of a neuron/component in an 'Editor'-object.
The user can click its buttons to edit/remove the neuron.
def CompoundPye.src.GUI.circuit_editor.CompWidget.__init__ | ( | self, | |
parent_UI, | |||
initial = False |
|||
) |
Initializes an 'CompWidget'-object.
parent_UI | Requires the parent 'Editor'-object as parameter to access its list and dictionries to store this neuron's/component's parameters. |
initial | The 'CompWidget'-object can be initialized with a dictionary of parameters. |
def CompoundPye.src.GUI.circuit_editor.CompWidget.create_popup_connections | ( | self | ) |
Pops up a 'PopupConnections'-widget, in which the user can edit/add/remove connections.
def CompoundPye.src.GUI.circuit_editor.CompWidget.create_popup_neuron | ( | self | ) |
Pops up a 'PopupNeuron'-widget, in which the user can edit the neuron's parameters.
def CompoundPye.src.GUI.circuit_editor.CompWidget.edited | ( | self | ) |
After editing in a 'PopupNeuron'-widget is finished, this neuron's name is read from the values-dictionary and its button's label is set appropriately.
def CompoundPye.src.GUI.circuit_editor.CompWidget.from_file_dict | ( | self, | |
name, | |||
comp_dict | |||
) |
def CompoundPye.src.GUI.circuit_editor.CompWidget.init_UI | ( | self | ) |
Initializes all Widgets (labels,buttons,etc.) that are shown in this tab.
def CompoundPye.src.GUI.circuit_editor.CompWidget.remove | ( | self | ) |
Removes this 'CompWidget'-object from its parent 'Editor'-widget (and all its entries in the 'Editor'-widgets lists and dictionaries).