| Trees | Indices | Help |
|
|---|
|
|
object --+
|
qt.pop_up_widgets._WidgetWithPopUpMixin --+
|
PyQt4.QtGui.QLineEdit --+
|
qt.pop_up_widgets.LineEditWithPopUp --+
|
MutationSelectorLineEdit
This line edit will show a residue type selection pop-up box when clicked.
It can be used in a Qt table by defining a custom Delegate, for example:
class MutationSelectorDelegate(pop_up_widgets.PopUpDelegate):
def _createEditor(self, parent, option, index):
return MutationSelectorLineEdit(parent)
def setModelData(self, editor, model, index):
mutations = editor.getSelectedMutations()
model.setData(index, mutations)
|
|||
|
|||
|
|||
|
|||
| set of str |
|
||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Over-ride the popUpUpdated() method of MutationSelectorLineEdit. Callback that passes the selected mutations back to the line edit.
|
Set the mutations that should be selected.
|
Get the mutations that have been selected by the user in the popup
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:51 2015 | http://epydoc.sourceforge.net |