CompoundPye  0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
 All Classes Namespaces Functions Variables Pages
CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential Class Reference

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...
 

Detailed Description

Creates a Widget to define parameters of a connection.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.circuit_editor.ConnectionEditTangential.__init__ (   self,
  parent_ConnectionWidget,
  default_source,
  default_weight,
  default_target,
  default_parameters = '-' 
)

Creates a ConnectionEditTangential object.

Parameters
parent_ConnectionWidgetParent ConnectionWidget (or rather a pointer to it).
default_sourceLabel of the default source neuron.
default_weightDefault weight.
default_targetDefault target.
default_parametersDefault parameters string.

Member Function Documentation

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.

Parameters
sString 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.


The documentation for this class was generated from the following file: