CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
A (pop-up) widget in which the user can edit the properties of a sensor. More...
Inherits QWidget.
Public Member Functions | |
def | __init__ |
Initializes a SensorPopup. More... | |
def | init_UI |
Initializes all widgets (labels, buttons, etc.) displayed on this SensorPopup. More... | |
def | do_cancel |
Close this SensorPopup, discarding all changes made in this pop-up. More... | |
def | do_done |
Close this SensorPopup, saving all changes in the appropriate dictionaries and lists. More... | |
def | set_sensor |
Read the Sensor-object from the pop-up's combo-box and set the value in SensorPopup.copy_values accordingly. More... | |
def | set_filter |
Read the filter-function from the pop-up's combo-box and set the value in SensorPopup.copy_values accordingly. More... | |
def | set_value |
Assign a value to specified key in SensorPopup.copy_values. More... | |
A (pop-up) widget in which the user can edit the properties of a sensor.
def CompoundPye.src.GUI.sensor_editor.SensorPopup.__init__ | ( | self, | |
parent_SensorLine | |||
) |
Initializes a SensorPopup.
parent_SensorLine | Requires the parent SensorLine of the sensor this pop-up belongs to, to access its values-dictionary. |
def CompoundPye.src.GUI.sensor_editor.SensorPopup.do_cancel | ( | self | ) |
Close this SensorPopup, discarding all changes made in this pop-up.
def CompoundPye.src.GUI.sensor_editor.SensorPopup.do_done | ( | self | ) |
Close this SensorPopup, saving all changes in the appropriate dictionaries and lists.
def CompoundPye.src.GUI.sensor_editor.SensorPopup.init_UI | ( | self | ) |
Initializes all widgets (labels, buttons, etc.) displayed on this SensorPopup.
def CompoundPye.src.GUI.sensor_editor.SensorPopup.set_filter | ( | self, | |
s | |||
) |
Read the filter-function from the pop-up's combo-box and set the value in SensorPopup.copy_values accordingly.
def CompoundPye.src.GUI.sensor_editor.SensorPopup.set_sensor | ( | self, | |
s | |||
) |
Read the Sensor-object from the pop-up's combo-box and set the value in SensorPopup.copy_values accordingly.
def CompoundPye.src.GUI.sensor_editor.SensorPopup.set_value | ( | self, | |
key, | |||
value | |||
) |
Assign a value to specified key in SensorPopup.copy_values.
key | Key to which the new value is to be assigned. |
value | New value to assign to given key. |