|
setup(self)
Subclass-specific initialization. |
|
|
|
_createWidgets(self)
Instantiate all basis selector widgets |
|
|
|
_createInfoLabels(self)
Create self.text_lbl to display text and self.icon_lbl containing an
error icon |
|
|
|
_layoutWidgets(self)
Arrange all basis selector widgets |
|
|
|
_connectSignals(self)
Connect the combo box signals |
|
|
|
_populateBases(self)
Populate the basis set combo box. |
|
|
|
setStructure(self,
new_struc)
React to the user changing the selected structure by updating or
disabling the basis selection. |
|
|
|
setPerAtom(self,
per_atom)
Set the per-atom basis sets for the current structure. |
|
|
|
|
|
_disableBasis(self)
The popup cannot be disabled, so this function is a no op. |
|
|
|
structureUpdated(self)
React to a change in the structure described by self._struc. |
|
|
|
_update(self,
ignored=None,
suppress_signal=False)
React to a new basis set being selected by updating the labels and
the polarization and diffuse combo boxes. |
|
|
|
_updateLabels(self)
Update the labels in response the newly loaded structure and/or newly
selected basis set. |
|
|
tuple
|
_calcNumFunctions(self,
basis_name_full)
Calculate the number of basis functions that will be used for the
currently selected structure and basis set |
|
|
|
|
|
|
|
|
str
|
_addCurrentSuffix(self,
basis_name)
Add the currently selected number of stars and pluses to the given
basis name |
|
|
|
|
False
|
isValid(self)
Is a valid basis currently selected? |
|
|
str
|
getBasis(self)
Get the currently selected basis |
|
|
|
setBasis(self,
basis_full=None)
Set the basis to the requested value. |
|
|
|
_emitBasisChanged(self)
Emit the basis changed signal with the currently selected basis set |
|
|
bool
|
setBasisSafe(self,
basis_full="")
Set the basis to the requested value. |
|
|
|
_clearInfoLabels(self)
Clear the labels used to present information to the user |
|
|
PyQt4.QtGui.QAbstractItemModel
|
basisModel(self)
Return the model of basis set names |
|
|
|
_showWarning(self)
Show a warning that the user has specified an invalid basis set |
|
|
|
setBlankBasisAllowed(self,
allowed)
Specify whether a blank basis set is allowed or should result in an
"Invalid basis set" warning. |
|
|
int
|
estimateMaxHeight(self)
Estimate the maximum height of this widget (since the popup's height
may increase when more text is added to the bottom label). |
|
|
Inherited from ui.qt.pop_up_widgets.PopUp :
__init__ ,
estimateMaxWidth ,
installPopUpEventFilter ,
lineEditUpdated ,
subWidgetHasFocus
|