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

A tab (Widget) in which the user can specify several surroundings-parameters (dimension, size in pixel, etc.). More...

Inherits QWidget.

Public Member Functions

def __init__
 Initializes a TabSurroundings-object. More...
 
def initUI
 Initializes all Widgets (labels,buttons,etc.) that are shown in this tab. More...
 
def read_combo
 Reads the combo-box specifying the dimension (or video) of the surroundings and sets the widgets accordingly. More...
 
def set_value
 Sets the value for the given key in the parent GUI's values-dictionary. More...
 
def file_dialog
 Pops up a file dialog for the user to select a video input-file. More...
 

Detailed Description

A tab (Widget) in which the user can specify several surroundings-parameters (dimension, size in pixel, etc.).

Constructor & Destructor Documentation

def CompoundPye.src.GUI.ui_tabs.TabSurroundings.__init__ (   self,
  parent 
)

Initializes a TabSurroundings-object.

Parameters
parentRequires the parent MDM_GUI-object as parameter to access its dictionary in which all parameters are stored.

Member Function Documentation

def CompoundPye.src.GUI.ui_tabs.TabSurroundings.file_dialog (   self)

Pops up a file dialog for the user to select a video input-file.

def CompoundPye.src.GUI.ui_tabs.TabSurroundings.initUI (   self)

Initializes all Widgets (labels,buttons,etc.) that are shown in this tab.

def CompoundPye.src.GUI.ui_tabs.TabSurroundings.read_combo (   self,
  combo_str 
)

Reads the combo-box specifying the dimension (or video) of the surroundings and sets the widgets accordingly.

def CompoundPye.src.GUI.ui_tabs.TabSurroundings.set_value (   self,
  value_key,
  value 
)

Sets the value for the given key in the parent GUI's values-dictionary.

Parameters
value_keyKey of the value that is to be changed.
valueNew value for the given key.

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