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

Class DendrogramPlotDialog

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

A class which displays a dialog with a plot of the dendrogram from the most recent clustering

Instance Methods [hide private]
 
__init__(self, canvas_cluster, num_clusters_edit)
Create an instance of the dialog.
 
show(self)
Show the plot dialog
 
close(self)
Dismiss the window
 
redraw(self)
Redraw the plot
 
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]

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 data

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