Trees | Indices | Help |
|
---|
|
PyQt4.QtGui.QStyledItemDelegate --+ | input_tab_widgets.CommitMultipleDelegate --+ | ui.qt.utils.DefaultMessageDelegate --+ | AtomSelectionDelegate
A delegate for selecting a pKa atom. The atom name can either be typed into the line edit or selected from the workspace. A tool tip containing instructions will appear when the editor is first open and any time the user hovers their mouse over the editor. If the user clicks on an atom from the wrong structure, the atom will be ignored and a tool tip warning will appear. Clicking on an atom does not close the editor so that the user can immediately pick a different atom if desired.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list or None |
|
||
|
|||
|
|||
|
|||
|
|||
|
|
|||
MAESTRO_STATUS_MESSAGE = "Pick an atom to be treated as the pK
|
|||
TOOL_TIP_INSTRUCTIONS = "Click an atom in the workspace to\n"
|
|||
TOOL_TIP_WRONG_EID = "The atom you selected is not\n" "part of
|
|
|||
PyQt4.QtCore.pyqtSignal
|
set_pka_marker = QtCore.pyqtSignal(str, object) A signal emitted when a new pKa atom should be marked in the workspace. |
||
Inherited from |
|
Make sure that an entry is included in the workspace. If it isn't, include only that structure.
|
Respond to the user clicking an atom in the workspace. If the atom does not belong to this structure, display a warning. Otherwise, enter the Jaguar-ified atom name into the line edit and display a marker on the atom. If atom is already included in the list of pka atoms we remove it from the list.
|
This function returns a list of pka atoms by parsing a given text string that contains atom names and matching them to the atom names in the input structure. This is needed when user edits pka atom names in the input tab table.
|
This function checks whether a given atom_name is present in the editor's string. If not found, add it to editor's text. If found delete it from the editor text and reformat the text.
|
If a pKa atom was selected via the user clicking in the workspace, reset the currently marked atom to the table value.
|
Make sure that the editor doesn't close when the user clicks on another window since that will prevent the user from being able to click on an atom.
Note: We don't need to worry about the case where the user clicks on a different widget in the pKa panel after selecting an atom. Since the editor was the last widget with focus in the pKa panel, it will receive another FocusOut event when the other widget receives focus, and that FocusOut event will cause the editor to close. |
Show a tool tip centered on the specified widget
|
Show a tool tip centered on the specified widget after a delay
|
|
MAESTRO_STATUS_MESSAGE
|
TOOL_TIP_INSTRUCTIONS
|
TOOL_TIP_WRONG_EID
|
|
set_pka_markerA signal emitted when a new pKa atom should be marked in the workspace. Emitted with two arguments:
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:35 2015 | http://epydoc.sourceforge.net |