Package schrodinger :: Package application :: Package canvas :: Module clustergui :: Class ClusterStatisticsPlotDialog
[hide private]
[frames] | no frames]

Class ClusterStatisticsPlotDialog

    PyQt4.QtGui.QMainWindow --+    
                              |    
ui.qt.appframework.AppFramework --+
                                  |
                                 ClusterStatisticsPlotDialog

A class which displays a dialog with a plot of the statistics for the most recent clustering

Instance Methods [hide private]
 
__init__(self, canvas_cluster, num_clusters_edit)
Create an instance of the dialog.
 
redraw(self)
Redraw the plot with the current settings
 
setPlotType(self, plot_type)
Called when the plot type option menu is changed
 
show(self)
Show the plot dialog
 
close(self)
Dismiss the window
 
click(self, event)
Click in plot handler

Inherited from ui.qt.appframework.AppFramework: addButtonToBottomLayout, addCentralWidget, askOverwrite, askOverwriteIfNecessary, closeEvent, closePanel, createMenus, error, exec_, getApp, getInputFile, getInputSource, getOpenFileName, getOpenFileNames, help, info, interior, isDockableInMaestro, monitorJob, processEvents, question, quitPanel, restoreCursor, runCommand, setButtonEnabled, setButtonState, setJobViewname, setJobname, setProgress, setProgressError, setWaitCursor, setupJobParameters, showEvent, timerEvent, trackJobProgress, updateJobname, updateStatusBar, warning

Inherited from ui.qt.appframework.AppFramework (private): _applyStartDialogParams, _commandCallback, _createMenuItem, _jobprefersettings, _makeItem, _makeMenu, _periodicCallback, _populateEmptyJobname, _read, _reset, _setButtonDefaults, _settings, _setupBottomButtons, _setupDESResIcon, _start, _start_wrapper, _updatePanelJobname, _updateToolWindowFlag, _write

Class Variables [hide private]
  PLOT_TYPES = ["Kelley Penalty", "R-Squared", "Semiparitial R-S...

Inherited from ui.qt.appframework.AppFramework: jobCompleted, start_wrapper_timeout

Method Details [hide private]

__init__(self, canvas_cluster, num_clusters_edit)
(Constructor)

 

Create an instance of the dialog. Objects passed are the parent and the CanvasFingerprintCluster object which will have the statistics

Parameters:
  • canvas_clsuter - object that contains the clustering statistics
  • num_clusters_edit (QLineEdit) - the widget that contains the number of clusters
  • canvas_cluster (CanvasFingerprintCluster object)
Overrides: ui.qt.appframework.AppFramework.__init__

show(self)

 

Show the plot dialog

Parameters:
  • also_raise - If True (default), the raise_ method will also be called on the window. If False it is not. This is important on some Window managers to ensure the window is placed on top of other windows.
  • also_activate - If True (default), the activateWindow method will also be called on the window. If False it is not. This is important on some Window managers to ensure the window is placed on top of other windows.
Overrides: ui.qt.appframework.AppFramework.show

Class Variable Details [hide private]

PLOT_TYPES

Value:
["Kelley Penalty", "R-Squared", "Semiparitial R-Squared", "Merge Dista\
nce", "Separation Ratio"]