Package schrodinger :: Package ui :: Module residueselector :: Class MutationSelectorPopUp
[hide private]
[frames] | no frames]

Class MutationSelectorPopUp

 PyQt4.QtGui.QFrame --+    
                      |    
qt.pop_up_widgets.PopUp --+
                          |
 PyQt4.QtGui.QFrame --+   |
                      |   |
  MutationSelectorFrame --+
                          |
                         MutationSelectorPopUp

A popup editor for selecting residue mutation targets. The editor has a checkbox for each residue, along with convenience checkboxes that allow the user to toggle multiple residues that match a description (e.g., polar).

This frame is intended to be added to a GUI layout. For using as a pop-up, see MutationSelectorPopUp.

Instance Methods [hide private]
 
setup(self)
Subclass-specific initialization.
 
lineEditUpdated(self, mutations_txt)
Update this pop up in response to the user changing the line edit text.

Inherited from qt.pop_up_widgets.PopUp: __init__, estimateMaxHeight, estimateMaxWidth, installPopUpEventFilter, subWidgetHasFocus

Inherited from MutationSelectorFrame: applyGroupSelections, clear, deselectAll, disableResidue, disableResidues, getResidueCheckbox, getResidueGroups, selectAll, selectResidueCheckbox, setSelectedMutations, setupCheckboxes, updateSelections

Inherited from MutationSelectorFrame (private): _addResiduesToLayout

Class Variables [hide private]
PyQt4.QtCore.pyqtSignal dataChanged = QtCore.pyqtSignal(set)
A signal emitted when a change in the pop up should trigger a change in the contents of the line edit.
Instance Variables [hide private]

Inherited from qt.pop_up_widgets.PopUp: popUpResized

Method Details [hide private]

setup(self)

 

Subclass-specific initialization. Subclasses must implement this function.

Overrides: qt.pop_up_widgets.PopUp.setup
(inherited documentation)

lineEditUpdated(self, mutations_txt)

 

Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of PopUp.lineEditUpdated and LineEditWithPopUp.popUpUpdated. To modify this behavior, subclass LineEditWithPopUp and reimplement LineEditWithPopUp.popUpUpdated.

Parameters:
  • text - The current text of the line edit
Overrides: qt.pop_up_widgets.PopUp.lineEditUpdated
(inherited documentation)