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

The main or frame widget of the graphical sensor-editor. More...

Inherits QWidget.

Public Member Functions

def __init__
 Initializes an 'EditorWidget'-object. More...
 
def init_UI
 Initializes all widgets (labels, buttons, etc) displayed on this EditorWidget. More...
 
def do_toggle_neighbourhood_mode
 Toggle neighbourhood mode to determine neighbours automatically or manually. More...
 
def do_load
 Load sensors from a sensor-file (text-file). More...
 
def do_save
 Save sensors to a sensor-file (text-file). More...
 

Detailed Description

The main or frame widget of the graphical sensor-editor.

Constructor & Destructor Documentation

def CompoundPye.src.GUI.sensor_editor.EditorWidget.__init__ (   self,
  parent_Tab 
)

Initializes an 'EditorWidget'-object.

Member Function Documentation

def CompoundPye.src.GUI.sensor_editor.EditorWidget.do_load (   self)

Load sensors from a sensor-file (text-file).

Pops up a file-dialog to select a file to load. Kills the old EditorScrollArea contained in this EditorWidget and sets up a new one containing the loaded sensors.

def CompoundPye.src.GUI.sensor_editor.EditorWidget.do_save (   self)

Save sensors to a sensor-file (text-file).

Pops up a file-dialog to select a destination file. Saves all sensors currently shown in the editor widget.

def CompoundPye.src.GUI.sensor_editor.EditorWidget.do_toggle_neighbourhood_mode (   self,
  state 
)

Toggle neighbourhood mode to determine neighbours automatically or manually.

def CompoundPye.src.GUI.sensor_editor.EditorWidget.init_UI (   self)

Initializes all widgets (labels, buttons, etc) displayed on this EditorWidget.


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