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

A pop-up window allowing the user to edit the current parameters of the stimulus. More...

Inherits QWidget.

Public Member Functions

def __init__
 Initializes a StimPopup. More...
 
def init_UI
 Initializes all graphical elements (widgets like buttons, labels, etc.) displayed on this 'StimLine'-object. More...
 
def init_UI_select_obj
 If the user selects to specify the stimulus via selecting a pre-defined stimulus, some widgets will be replaced by those in this function. More...
 
def init_UI_define_array
 NOT IMPLEMENTED YET! If the user selects to specify the stimulus by defining a function that returns an array with intensities (==stimulus), this function replaces some widgets accordingly. More...
 
def init_UI_load_array
 NOT IMPLEMENTED YET! If the user selects to load an array with intensities (==stimulus), this function replaces some widgets accordingly. More...
 
def set_mode
 Sets the mode how to create the stimulus (either select a pre-defined stimulus class, define a function that returns a stimulus-array, or load a stimulus-array from file). More...
 
def set_select
 Reads the string from the combo-box to select a class, sets the value accordingly. More...
 
def set_value
 Assign a new value to given key in StimPopup.copy_values. More...
 
def do_browse
 If selected mode is loading a stimulus-array from file, the user can browse for a file here. More...
 
def do_cancel
 Close the pop-up discarding all changes. More...
 
def do_done
 Close the pop-up keeping all changes. More...
 

Detailed Description

A pop-up window allowing the user to edit the current parameters of the stimulus.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.stimuli_editor.StimPopup.__init__ (   self,
  parent_StimLine 
)

Initializes a StimPopup.

Parameters
parent_StimLineRequires the stimulus' StimLine as input, to access its variables.

Member Function Documentation

def CompoundPye.src.GUI.stimuli_editor.StimPopup.do_browse (   self)

If selected mode is loading a stimulus-array from file, the user can browse for a file here.

def CompoundPye.src.GUI.stimuli_editor.StimPopup.do_cancel (   self)

Close the pop-up discarding all changes.

def CompoundPye.src.GUI.stimuli_editor.StimPopup.do_done (   self)

Close the pop-up keeping all changes.

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

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

def CompoundPye.src.GUI.stimuli_editor.StimPopup.init_UI_define_array (   self)

NOT IMPLEMENTED YET! If the user selects to specify the stimulus by defining a function that returns an array with intensities (==stimulus), this function replaces some widgets accordingly.

def CompoundPye.src.GUI.stimuli_editor.StimPopup.init_UI_load_array (   self)

NOT IMPLEMENTED YET! If the user selects to load an array with intensities (==stimulus), this function replaces some widgets accordingly.

def CompoundPye.src.GUI.stimuli_editor.StimPopup.init_UI_select_obj (   self)

If the user selects to specify the stimulus via selecting a pre-defined stimulus, some widgets will be replaced by those in this function.

def CompoundPye.src.GUI.stimuli_editor.StimPopup.set_mode (   self,
  s 
)

Sets the mode how to create the stimulus (either select a pre-defined stimulus class, define a function that returns a stimulus-array, or load a stimulus-array from file).

def CompoundPye.src.GUI.stimuli_editor.StimPopup.set_select (   self,
  s 
)

Reads the string from the combo-box to select a class, sets the value accordingly.

def CompoundPye.src.GUI.stimuli_editor.StimPopup.set_value (   self,
  key,
  value 
)

Assign a new value to given key in StimPopup.copy_values.

Parameters
keyKey to which the new value will be assigned.
valueNew value to be assigned to given key.

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