Trees | Indices | Help |
|
---|
|
PyQt4.QtGui.QMainWindow --+ | EditDialog
A dialog that allows JaguarInput objects to be directly edited.
|
|||
|
|||
|
|||
|
|||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
schrodinger.application.jaguar.input.JaguarInput |
|
||
|
|||
|
|||
|
|||
|
|
|||
PyQt4.QtCore.pyqtSignal
|
accepted = QtCore.pyqtSignal(JaguarInput, int) A signal emitted when the user clicks OK. |
||
PyQt4.QtCore.pyqtSignal
|
run_requested = QtCore.pyqtSignal(JaguarInput) A signal emitted when the user selects Run from the File menu. |
||
PyQt4.QtCore.pyqtSignal
|
restore_workspace = QtCore.pyqtSignal() A signal emitted when the user clicks Cancel after modifying the workspace via a preview. |
|
|||
int |
_cur_mode Whether the dialog is in "Input File" mode ( WHOLE_FILE ) or "Structure" mode
SINGLE_STRUC
|
||
str |
_full_text The full text of the input file being edited. |
||
schrodinger.structure.Structure |
_orig_struc The structure that was originally read into the dialog. |
||
str |
_orig_text The text to revert back to if the user clicks Revert |
||
bool |
_preview_ran Whether or not the user has replaced the workspace via a Preview since the dialog was created. |
|
Create the dialog and load the specified JaguarInput object, if any.
|
Load the specified JaguarInput object.
|
Update and return the current full text of the input file.
|
Get the text block corresponding to the requested structure
|
Replace the zmat block for the specified structure. If there is no
zmat block in
|
Replace the specified structure block. If the specified block does not yet exist, no replacement will be made.
|
Replace the zvar block for the specified structure. If there is no
zvar block in
|
Remove the zvar block for the specified structure
|
Create a regular expression that will match the specified block.
|
Get the text from the text edit and convert it to a Python string
|
Accept the edits and update the Jaguar panel.
Notes:
|
Close the dialog without saving it's contents. If the user has changed the workspace, the restore_workspace signal will be emitted. |
Display the current structure in the workspace
|
Write the input file to disk
|
Create a JaguarInput object containing the currently specified job settings.
|
Convert the structure currently in the text edit to internal coordinates (i.e. a Z-matrix).
|
Convert the structure currently in the text edit to Coordinates coordinates
|
Create a JaguarInput object containing only the current structure. Both the zmat block and the zvar block (if present) will be included.
|
Emit the run_requested signal with the current job settings.
|
Toggle showing atom labels.
|
Display the specified error. This function is required for the schrodinger.application.jaguar.gui.utils.catch_jag_errors decorator.
|
Determine if two structures have different coordinates or atom names.
Note: This function is noticeably less "picky" than schrodinger.structure.Structure.isEquivalent |
|
acceptedA signal emitted when the user clicks OK. It is emitted with two arguments:
|
run_requestedA signal emitted when the user selects Run from the File menu. This signal is emitted with one argument, a schrodinger.application.jaguar.input.JaguarInput object to run. Actually running the job is the responsibility of the parent widget.
|
restore_workspaceA signal emitted when the user clicks Cancel after modifying the workspace via a preview. The parent widget is responsible for setting the workspace back to its previous state.
|
|
_full_textThe full text of the input file being edited. Note that this variable is not kept fully up to date. The full text should always be retrieved via _getFullText.
|
_orig_strucThe structure that was originally read into the dialog. Used to determine if the user has changed the structure. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:35 2015 | http://epydoc.sourceforge.net |