Package gui :: Module results_viewer :: Class Results_viewer
[hide private]
[frames] | no frames]

Class Results_viewer

source code


The results viewer frame.

Instance Methods [hide private]
 
__init__(self, parent)
Build the results frame.
source code
 
Show(self, show=True)
Change the behaviour of showing the window to update the content.
source code
 
activate(self)
Activate or deactivate certain elements in response to the execution lock.
source code
wx.ListBox element
add_files(self, box)
Create the list of results files.
source code
 
build_pipe_sel(self, box)
Create the data pipe selection element.
source code
 
handler_close(self, event)
Event handler for the close window action.
source code
 
open_result_file(self, event)
Open the results in the appropriate program.
source code
 
refresh(self)
Update the list of result files.
source code
 
refresh_safe(self)
Update the list of result files (thread safe).
source code
 
resize(self, event)
Catch the resize to allow the element to be resized.
source code
 
switch_pipes(self, event)
Switch data pipes.
source code
 
update_pipes(self)
Update the data pipe list.
source code
 
size_cols(self)
Set the column sizes.
source code
Class Variables [hide private]
  border = 10
  size = 800, 400
Method Details [hide private]

__init__(self, parent)
(Constructor)

source code 

Build the results frame.

Parameters:
  • parent (wx object) - The parent wx object.

Show(self, show=True)

source code 

Change the behaviour of showing the window to update the content.

Parameters:
  • show (bool) - A flag which is True shows the window.

add_files(self, box)

source code 

Create the list of results files.

Parameters:
  • box (wx.BoxSizer instance) - The box sizer to pack the box into.
Returns: wx.ListBox element
The list box element.

build_pipe_sel(self, box)

source code 

Create the data pipe selection element.

Parameters:
  • box (wx.BoxSizer instance) - The horizontal box element to pack the elements into.

handler_close(self, event)

source code 

Event handler for the close window action.

Parameters:
  • event (wx event) - The wx event.

open_result_file(self, event)

source code 

Open the results in the appropriate program.

Parameters:
  • event (wx event) - The wx event.

resize(self, event)

source code 

Catch the resize to allow the element to be resized.

Parameters:
  • event (wx event) - The wx event.

switch_pipes(self, event)

source code 

Switch data pipes.

Parameters:
  • event (wx event) - The wx event.