CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
Creates a Widget to define parameters of a connection. More...
Inherits QWidget.
Public Member Functions | |
def | __init__ |
Creates a ConnectionEditTangential object. More... | |
def | init_UI |
Initializes all graphical elements shown in the ConnectionEditTangential widget. More... | |
def | edit_parameters |
Passes changes made in the parameters line edit on to the connection dictionary. More... | |
def | edit_source |
Read the combo-box specifying the target of this connection and change values in the lists accordingly. More... | |
def | edit_weight |
Read the weight-value from the 'LineEdit'-Widget and change the value in the connection-lists accordingly. More... | |
def | do_remove |
Call the parent ConnectionWidget's remove-function (ConnectionWidget.remove) with this ConnectionEdit's index as parameter. More... | |
Creates a Widget to define parameters of a connection.
def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.__init__ | ( | self, | |
parent_ConnectionWidget, | |||
default_source, | |||
default_weight, | |||
default_target, | |||
default_parameters = '-' |
|||
) |
Creates a ConnectionEditTangential object.
parent_ConnectionWidget | Parent ConnectionWidget (or rather a pointer to it). |
default_source | Label of the default source neuron. |
default_weight | Default weight. |
default_target | Default target. |
default_parameters | Default parameters string. |
def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.do_remove | ( | self | ) |
Call the parent ConnectionWidget's remove-function (ConnectionWidget.remove) with this ConnectionEdit's index as parameter.
def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.edit_parameters | ( | self | ) |
Passes changes made in the parameters line edit on to the connection dictionary.
def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.edit_source | ( | self, | |
s | |||
) |
Read the combo-box specifying the target of this connection and change values in the lists accordingly.
s | String of the selected combo-box item. |
def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.edit_weight | ( | self | ) |
Read the weight-value from the 'LineEdit'-Widget and change the value in the connection-lists accordingly.
def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.init_UI | ( | self, | |
default_source, | |||
default_weight, | |||
default_parameters | |||
) |
Initializes all graphical elements shown in the ConnectionEditTangential widget.