CompoundPye  0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
 All Classes Namespaces Functions Variables Pages
CompoundPye.src.GUI.sensor_editor.SensorPopup Class Reference

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...
 

Detailed Description

A (pop-up) widget in which the user can edit the properties of a sensor.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.sensor_editor.SensorPopup.__init__ (   self,
  parent_SensorLine 
)

Initializes a SensorPopup.

Parameters
parent_SensorLineRequires the parent SensorLine of the sensor this pop-up belongs to, to access its values-dictionary.

Member Function Documentation

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.

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

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