Trees | Indices | Help |
|
---|
|
PyQt4.QtGui.QFrame --+ | MutationSelectorFrame
This frame contains widgets for selecting one or more residue type (e.g. ALA, VAL, and GLY). 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 embedded in a layout. For using as a pop-up, see MutationSelectorPopUp.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
dataChanged = QtCore.pyqtSignal(set)
|
|
Populate the std residues, custom residues, and groups layouts with checkboxes based on the current residue groups. Can be called to re-populate the pop-up widget if the return value of getResidueGroups() of the subclass has changed. |
Return the checkbox for the residue or residue group.
|
Collect checked residues and then add any residues selected via the group checkboxes. Emits a set of selected residues. |
|
Selects (or deselects, if False) a single residue checkbox
|
Examines the relevant group checkboxes to determine which residues should be selected and selects them. Our groups obey the following rules: * no residues in a group selected -> group deselected * some but not all residues in a group selected -> group partially selected * all residues in a group selected -> group selected * a user selects a group -> group selected * a user deselects a group -> group deselected In other words, for users, the groups function as dual state, but in terms of display, the groups are tristate. Note that this function can only be called as a signal, because it needs to call self.sender() |
Deselects all the residue checkboxes if the None convenience checkbox has been selected
|
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:51 2015 | http://epydoc.sourceforge.net |