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

A widget representing a stimulus in the graphical editor ('StimuliSubWidget'), consisting of buttons to edit/remove the stimulus. More...

Inherits QWidget.

Public Member Functions

def __init__
 Initialize a StimLine object. More...
 
def init_UI
 Initializes all graphical elements (widgets like buttons, labels, etc.) displayed on this 'StimLine'-object. More...
 
def do_remove
 Remove this StimLine from its parent StimuliSubWidget. More...
 
def toggle_show_hide
 Toggle whether the stimulus this StimLine is representing should be shown or hidden during a run of the simulation. More...
 
def do_popup
 Pops up a StimPopup in which the user can edit the stimulus' parameters. More...
 

Detailed Description

A widget representing a stimulus in the graphical editor ('StimuliSubWidget'), consisting of buttons to edit/remove the stimulus.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.stimuli_editor.StimLine.__init__ (   self,
  parent_StimSubWidget,
  mode,
  index,
  values 
)

Initialize a StimLine object.

Parameters
parent_StimSubWidgetRequires its parent StimuliSubWidget (or rather a pointer to it) as input to access its variables.
modeDimension of the stimulus' surroundings, either '1' or '2'; not of any use at the moment, but something might be implemented later on...
indexIndex of the StimLine in its parent StimuliSubWidget's layout (and also in some other lists).
valuesDictionary of stimulus values.

Member Function Documentation

def CompoundPye.src.GUI.stimuli_editor.StimLine.do_popup (   self)

Pops up a StimPopup in which the user can edit the stimulus' parameters.

def CompoundPye.src.GUI.stimuli_editor.StimLine.do_remove (   self)

Remove this StimLine from its parent StimuliSubWidget.

def CompoundPye.src.GUI.stimuli_editor.StimLine.init_UI (   self)

Initializes all graphical elements (widgets like buttons, labels, etc.) displayed on this 'StimLine'-object.

def CompoundPye.src.GUI.stimuli_editor.StimLine.toggle_show_hide (   self)

Toggle whether the stimulus this StimLine is representing should be shown or hidden during a run of the simulation.


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