CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
A widget that allows the user to choose targets of connections via combo-boxes and set the connections' weights. More...
Inherits QWidget.
Public Member Functions | |
def | __init__ |
Initializes a ConnectionWidget. More... | |
def | init_UI |
Sets up all the widgets (buttons, labels, line-edits, etc) contained by this ConnectionWidget. More... | |
def | create_connect_edit_tangential_to |
Creates a ConnectionEditTangential widget. More... | |
def | create_connect_edit |
Creates and adds a new line to the ConnectionWidget's connection editor. More... | |
def | remove |
Remove line i in the ConnectionWidget editor window. More... | |
def | do_cancel |
Discard all changes made in this ConnectionWidget's editor window. More... | |
def | do_done |
Store all changes made in this ConnectionWidget's editor window to the parent Editor's lists. More... | |
A widget that allows the user to choose targets of connections via combo-boxes and set the connections' weights.
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.__init__ | ( | self, | |
parent_editor, | |||
parent_PopupConnection, | |||
neuron_name, | |||
widget_mode = 'column' |
|||
) |
Initializes a ConnectionWidget.
parent_editor | Requires the parent Editor (or rather a pointer to it) of the 'PopupConnections'-object as input to access its lists of connections. |
parent_PopupConnection | Requires the parent PopupConnections (or rather a pointer to it) as input to be able to call its remove-function. |
neuron_name | Name of the neuron, required to read/write the neuron's connections from/to the lists of connections. |
widget_mode | String to specify if this neuron is in a column (widget_mode=='column') or between columns (widget_mode=='next_neighbour'). |
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.create_connect_edit | ( | self, | |
default_target = '' , |
|||
default_weight = 1.0 |
|||
) |
Creates and adds a new line to the ConnectionWidget's connection editor.
default_target | Can be initialized with a target specified by this string. |
default_weight | Can be initialized with a connection strength specified by this value. |
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.create_connect_edit_tangential_to | ( | self, | |
connection = None |
|||
) |
Creates a ConnectionEditTangential widget.
connection | Tuple defining an initial connection. |
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.do_cancel | ( | self | ) |
Discard all changes made in this ConnectionWidget's editor window.
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.do_done | ( | self | ) |
Store all changes made in this ConnectionWidget's editor window to the parent Editor's lists.
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.init_UI | ( | self, | |
widget_mode | |||
) |
Sets up all the widgets (buttons, labels, line-edits, etc) contained by this ConnectionWidget.
widget_mode | String to specify if this ConnectionWidget's neuron is in a column (widget_mode=='column') or between columns (widget_mode=='next_neighbour'). |
def CompoundPye.src.GUI.circuit_editor.ConnectionWidget.remove | ( | self, | |
i | |||
) |
Remove line i in the ConnectionWidget editor window.
i | Index of the line to be removed. |