CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
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... | |
A sub-widget shown in the parent StimuliWidget.
def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.__init__ | ( | self, | |
parent_StimuliWidget, | |||
dim | |||
) |
Initializes a StimuliSubWidget.
parent_StimuliWidget | Requires the sub-widget's parent StimuliWidget as input to access its variables. |
dim | Integer, either ==1 or ==2, specifying the dimension of the surroundings. |
def CompoundPye.src.GUI.stimuli_editor.StimuliSubWidget.add_stim | ( | self, | |
values | |||
) |
Add a stimulus ('StimLine'-widget) with given values.
values | Dictionary 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.
index | Index 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.