CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
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... | |
A widget representing a stimulus in the graphical editor ('StimuliSubWidget'), consisting of buttons to edit/remove the stimulus.
def CompoundPye.src.GUI.stimuli_editor.StimLine.__init__ | ( | self, | |
parent_StimSubWidget, | |||
mode, | |||
index, | |||
values | |||
) |
Initialize a StimLine object.
parent_StimSubWidget | Requires its parent StimuliSubWidget (or rather a pointer to it) as input to access its variables. |
mode | Dimension of the stimulus' surroundings, either '1' or '2'; not of any use at the moment, but something might be implemented later on... |
index | Index of the StimLine in its parent StimuliSubWidget's layout (and also in some other lists). |
values | Dictionary of stimulus values. |
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.