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

A sub-widget shown in the parent StimuliWidget. More...

Inherits QWidget.

Public Member Functions

def __init__
 Initializes a StimuliSubWidget. More...
 
def init_UI
 Initializes all the widgets (labels, buttons, etc.) displayed on this StimuliSubWidget. More...
 
def add_stim
 Add a stimulus ('StimLine'-widget) with given values. More...
 
def do_add_stim
 Add a new stimulus ('StimLine'-widget) with default values. More...
 
def do_remove
 Remove stimulus ('StimLine'-widget) with given index. More...
 

Detailed Description

A sub-widget shown in the parent StimuliWidget.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.__init__ (   self,
  parent_StimuliWidget,
  dim 
)

Initializes a StimuliSubWidget.

Parameters
parent_StimuliWidgetRequires the sub-widget's parent StimuliWidget as input to access its variables.
dimInteger, either ==1 or ==2, specifying the dimension of the surroundings.

Member Function Documentation

def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.add_stim (   self,
  values 
)

Add a stimulus ('StimLine'-widget) with given values.

Parameters
valuesDictionary containing stimulus-values.
def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.do_add_stim (   self)

Add a new stimulus ('StimLine'-widget) with default values.

def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.do_remove (   self,
  index 
)

Remove stimulus ('StimLine'-widget) with given index.

Parameters
indexIndex of the stimulus' 'StimLine'-widget in this StimuliSubWidget's layout.
def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.init_UI (   self)

Initializes all the widgets (labels, buttons, etc.) displayed on this StimuliSubWidget.


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