|
CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
A widget that allows the user to choose a target of a connection via an combo-box and set the connection's weight. More...
Inherits QWidget.
Public Member Functions | |
| def | __init__ |
| Initializes a 'ConnectionEdit'-object. More... | |
| def | init_UI |
| Sets up all widgets (line-edit, combo-box, button) shown on this 'ConnectionEdit'-widget. More... | |
| def | edit_target |
| 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... | |
A widget that allows the user to choose a target of a connection via an combo-box and set the connection's weight.
| def CompoundPye.src.GUI.circuit_editor.ConnectionEdit.__init__ | ( | self, | |
| parent_ConnectionWidget, | |||
| default_target, | |||
| default_weight | |||
| ) |
Initializes a 'ConnectionEdit'-object.
| parent_ConnectionWidget | Requires the parent ConnectionWidget object on which this widget is shown, to access its members. |
| default_target | One must provide the name of the target or an empty string if this ConnectionEdit represents a new connection. |
| default_weight | One must provide the weight of the connection. |
| def CompoundPye.src.GUI.circuit_editor.ConnectionEdit.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.ConnectionEdit.edit_target | ( | 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.ConnectionEdit.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.ConnectionEdit.init_UI | ( | self, | |
| default_target, | |||
| default_weight | |||
| ) |
Sets up all widgets (line-edit, combo-box, button) shown on this 'ConnectionEdit'-widget.