Package schrodinger :: Package application :: Package jaguar :: Package gui :: Module basis_selector :: Class BasisSelector
[hide private]
[frames] | no frames]

Class BasisSelector

    PyQt4.QtGui.QFrame --+        
                         |        
ui.qt.pop_up_widgets.PopUp --+    
                             |    
           _BasisSelectorPopUp --+
                                 |
                                BasisSelector

A widget for selecting a Jaguar basis set without a line edit. BasisSelectorLineEdit should be favored over this class for new panels. This widget may be directly connected to a schrodinger.ui.qt.appframework.JobInputFrame instance by passing it to the initializer or to setInputSelector(). Alternatively, this widget may be used without an input selector by passing new structures to structureChanged().

Instance Methods [hide private]
 
__init__(self, parent=None, input_selector=None)
 
_createInfoLabels(self)
Create the labels used to display information to the user
 
_updateLabels(self)
Update the labels in response the newly loaded structure and/or newly selected basis set.
 
_layoutWidgets(self)
Arrange all basis selector widgets
 
setInputSelector(self, input_selector)
Set the input selector that this widget should respond to
 
_setDefault(self)
Set the basis, polarization, and diffuse settings using the Jaguar defaults.
 
_inputSelectorStructureChanged(self)
React to the user changing the input selector structure.
 
structureChanged(self, new_struc)
React to the user changing the selected structure by updating or disabling the basis selection.
 
_disableBasis(self)
Disable all basis selection combo boxes.

Inherited from _BasisSelectorPopUp: basisModel, estimateMaxHeight, getBasis, isValid, setAtomNum, setBasis, setBasisSafe, setBlankBasisAllowed, setPerAtom, setStructure, setup, structureUpdated

Inherited from ui.qt.pop_up_widgets.PopUp: estimateMaxWidth, installPopUpEventFilter, lineEditUpdated, subWidgetHasFocus

Class Variables [hide private]
bool ENABLE_WHEN_NO_STRUC = False
hash(x)

Inherited from _BasisSelectorPopUp: ERROR_FORMAT

Instance Variables [hide private]

Inherited from ui.qt.pop_up_widgets.PopUp: dataChanged, popUpResized

Method Details [hide private]

__init__(self, parent=None, input_selector=None)
(Constructor)

 
Overrides: ui.qt.pop_up_widgets.PopUp.__init__

_createInfoLabels(self)

 

Create the labels used to display information to the user

Overrides: _BasisSelectorPopUp._createInfoLabels

_updateLabels(self)

 

Update the labels in response the newly loaded structure and/or newly selected basis set.

Overrides: _BasisSelectorPopUp._updateLabels

_layoutWidgets(self)

 

Arrange all basis selector widgets

Overrides: _BasisSelectorPopUp._layoutWidgets

setInputSelector(self, input_selector)

 

Set the input selector that this widget should respond to

Parameters:
  • input_selector (schrodinger.ui.qt.appframework.JobInputFrame) - The AppFramework input selector frame

_inputSelectorStructureChanged(self)

 

React to the user changing the input selector structure. Note that only the first input selector structure will be used. All others will be ignored.

structureChanged(self, new_struc)

 

React to the user changing the selected structure by updating or disabling the basis selection.

Parameters:

_disableBasis(self)

 

Disable all basis selection combo boxes.

Overrides: _BasisSelectorPopUp._disableBasis