Package schrodinger :: Package application :: Package matsci :: Module mswidgets :: Class EmbeddedSolventWidget
[hide private]
[frames] | no frames]

Class EmbeddedSolventWidget

             PyQt4.QtGui.QWidget --+            
                                   |            
    jaguar.gui.tabs.base_tab.BaseTab --+        
                                       |        
jaguar.gui.tabs.solvation_tab.SolventTab --+    
                                           |    
  jaguar.gui.tabs.solvation_tab.SolvationTab --+
                                               |
                                              EmbeddedSolventWidget

A master widget that contains the widgets from the Jaguar Solvation tab and is convenient to use outside the Jaguar gui environment.

Instance Methods [hide private]
 
__init__(self, parent=None, solvents=None, layout=None, dielectric=True, reference=False, keywords=None, models=None)
Create a EmbeddedSolventWidget object
dict
_getGasPhaseKeywords(self)
Overrides the parent method to return an empty dictionary if the reference energy widgets are not shown
 
loadSettingsFromKeywords(self, keywords)
Set the widget states based on the given keyword dictionary
 
reset(self)
Reset the widgets to their initial values

Inherited from jaguar.gui.tabs.solvation_tab.SolvationTab: gasPhaseReferenceChanged, getMmJagKeywords, loadSettings, setup, solventModelChanged

Inherited from jaguar.gui.tabs.solvation_tab.SolventTab: calculateProbeRadius, solventTypeChanged

Inherited from jaguar.gui.tabs.base_tab.BaseTab: activate, deactivate, error, getDefaultKeywords, loadPerAtomSettings, saveSettings, validate, warning

Inherited from jaguar.gui.tabs.base_tab.BaseTab (private): _populateUi

Class Variables [hide private]

Inherited from jaguar.gui.tabs.solvation_tab.SolvationTab: NAME, SHOW_DIELECTRIC, SOLVENTS, SOLVENT_MODELS, UI_MODULES

Inherited from jaguar.gui.tabs.solvation_tab.SolventTab: HELP_TOPIC

Instance Variables [hide private]

Inherited from jaguar.gui.tabs.base_tab.BaseTab: input_selector, task_name, ui

Method Details [hide private]

__init__(self, parent=None, solvents=None, layout=None, dielectric=True, reference=False, keywords=None, models=None)
(Constructor)

 

Create a EmbeddedSolventWidget object

Parameters:
  • parent (QWidget) - The parent widget for this widget
  • solvents (list) - List of allowed solvents, each item should be a name Solvent tuple. schrodinger.jaguar.gui.tabs.solvent_tab.ALL_SOLVENTS for example.
  • layout (QBoxLayout) - The layout to place this widget into
  • dielectric (bool) - If True, show the dielectric widgets, if False, do not
  • reference (bool) - If True, show the reference energy widgets, if False, do not
  • keywords (dict) - The Jaguar solvent-related key/value pairs that define the initial widget values
  • models (dict) - The allowed solvent models. keys are strings displayed to the user, values are Jaguar keywords. See parent class SOLVENT_MODELS constant for example. Use an OrderedDict to control the order of the solvent models in the model combobox
Overrides: jaguar.gui.tabs.base_tab.BaseTab.__init__

_getGasPhaseKeywords(self)

 

Overrides the parent method to return an empty dictionary if the reference energy widgets are not shown

Returns: dict
A dictionary of keywords
Overrides: jaguar.gui.tabs.solvation_tab.SolvationTab._getGasPhaseKeywords

loadSettingsFromKeywords(self, keywords)

 

Set the widget states based on the given keyword dictionary

Parameters:
  • keywords (dict) - Keys are jaguar keywords, values are keyword values

reset(self)

 

Reset the widgets to their initial values

Overrides: jaguar.gui.tabs.base_tab.BaseTab.reset