PyPedal::pyp_gui::MainWindow Class Reference

The MainFrame() class provides the main pyp_gui interface. More...

List of all members.

Public Member Functions

def __init__
def Cleanup
def OnRightClick
def OnFileOpenDialog
 OnFileOpenDialog() produces the file dialog used to select a pedigree file to be opened.
def OnFileHistory
def SetFilename
 SetFilename() writes the name of the opened pedigree file to the statusbar.
def Save
 Save() produces the file dialog used when a pedigree file is to be saved.
def OnPedMeta
 OnPedMeta() produces the file dialog used when a pedigree file is to be saved.
def OnPedList
 OnPedList() presents a list of the animals in the pedigree.
def OnPedView
 OnPedView() uses pydot and graphviz to produce a drawing of the pedigree, if they are installed.
def OnAbout
 OnAbout() produces an "about this application" dialogue box.
def OnAppExit
 OnAppExit() produces a "do you really want to exit this application" dialogue box.
def OnSettingsViewLog
 OnSettingsViewLog() dumps the logfile to a window.
def ToDo
 ToDo() produces a "this feature has not yet been implemented" dialogue box.
def OnGraphInbreed
 OnGraphInbreed() produces a "do you really want to exit this application" dialogue box.
def OnMetricsInbreeding
 OnMetricsInbreeding() writes summary statistics for inbreeding to the main textbox.
def OnMetricsEffectiveFounders
 OnMetricsEffectiveFounders() writes effective founders information to the main textbox.
def OnSettingsOptions

Public Attributes

 textbox
 filemenu
 pedigreedirty
 filetag
 sepchar
 debug
 io
 renum
 outformat
 name
 alleles
 menuBar
 filehistory
 "File" menu events
 filename


Detailed Description

The MainFrame() class provides the main pyp_gui interface.

Definition at line 88 of file pyp_gui.py.


Member Function Documentation

def PyPedal::pyp_gui::MainWindow::OnFileOpenDialog (   self,
  event 
)

OnFileOpenDialog() produces the file dialog used to select a pedigree file to be opened.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 213 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::SetFilename (   self,
  filename 
)

SetFilename() writes the name of the opened pedigree file to the statusbar.

Parameters:
filename The pedigree file name.
Returns:
None None

Definition at line 264 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::Save (   self,
  event 
)

Save() produces the file dialog used when a pedigree file is to be saved.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 274 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnPedMeta (   self,
  event 
)

OnPedMeta() produces the file dialog used when a pedigree file is to be saved.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 282 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnPedList (   self,
  event 
)

OnPedList() presents a list of the animals in the pedigree.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 294 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnPedView (   self,
  event 
)

OnPedView() uses pydot and graphviz to produce a drawing of the pedigree, if they are installed.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 303 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnAbout (   self,
  event 
)

OnAbout() produces an "about this application" dialogue box.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 311 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnAppExit (   self,
  event 
)

OnAppExit() produces a "do you really want to exit this application" dialogue box.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 329 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnSettingsViewLog (   self,
  event 
)

OnSettingsViewLog() dumps the logfile to a window.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 347 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::ToDo (   self,
  event 
)

ToDo() produces a "this feature has not yet been implemented" dialogue box.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 355 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnGraphInbreed (   self,
  event 
)

OnGraphInbreed() produces a "do you really want to exit this application" dialogue box.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 369 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnMetricsInbreeding (   self,
  event 
)

OnMetricsInbreeding() writes summary statistics for inbreeding to the main textbox.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 398 of file pyp_gui.py.

def PyPedal::pyp_gui::MainWindow::OnMetricsEffectiveFounders (   self,
  event 
)

OnMetricsEffectiveFounders() writes effective founders information to the main textbox.

Parameters:
event The type of event causing invocation of this method.
Returns:
None None

Definition at line 407 of file pyp_gui.py.


Member Data Documentation

"File" menu events

"Pedigree" menu events "Metrics" menu events "Graphics" menu events "Settings" menu events "Help" menu events

Definition at line 186 of file pyp_gui.py.


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

Generated on Thu May 1 12:33:44 2008 for PyPedal by  doxygen 1.5.5