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.PopupConnections Class Reference

A widget in which the user can edit a neuron's connections. More...

Inherits QWidget.

Public Member Functions

def __init__
 Initializes a 'PopupConnection'-object. More...
 
def init_UI
 Initializes all Widgets (labels,buttons,etc.) that are shown in this tab. More...
 
def set_receiver
 Toggles whether the neuron receives direkt input of the column's sensor or not. More...
 
def do_cancel
 Close this pop-up and all ConnectionWidgets it contains. More...
 
def do_done
 Close this pop-up and all ConnectionWidgets it contains, store the ConnectionWidgets' contents in the parent Editor's lists. More...
 

Detailed Description

A widget in which the user can edit a neuron's connections.

Pops up when the user hits the connection-button next to the button with a neuron's name on it.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.circuit_editor.PopupConnections.__init__ (   self,
  parent_editor,
  neuron_name 
)

Initializes a 'PopupConnection'-object.

Parameters
paren_EditorRequires a pointer to the parent 'Editor'-object of the CompWidget which creates this PopupConnection (to read/write values to the 'Editor'-object).
neuron_nameName of the neuron (required to find its connections in the Editor's lists of connections).

Member Function Documentation

def CompoundPye.src.GUI.circuit_editor.PopupConnections.do_cancel (   self)

Close this pop-up and all ConnectionWidgets it contains.

def CompoundPye.src.GUI.circuit_editor.PopupConnections.do_done (   self)

Close this pop-up and all ConnectionWidgets it contains, store the ConnectionWidgets' contents in the parent Editor's lists.

def CompoundPye.src.GUI.circuit_editor.PopupConnections.init_UI (   self)

Initializes all Widgets (labels,buttons,etc.) that are shown in this tab.

def CompoundPye.src.GUI.circuit_editor.PopupConnections.set_receiver (   self,
  state 
)

Toggles whether the neuron receives direkt input of the column's sensor or not.

Parameters
stateTrue or False == receive input or do not.

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