Package schrodinger :: Package application :: Package jaguar :: Package gui :: Module base_panel :: Class CoordinateDialog
[hide private]
[frames] | no frames]

Class CoordinateDialog

PyQt4.QtGui.QDialog --+
                      |
                     CoordinateDialog

This dialog allows user to select corrective action when the same coordinate is found in the lists of scans and constraints.

Instance Methods [hide private]
 
__init__(self, parent, is_scan)
Initialize dialog.
int
display(self)
Brings up the dialog and waits for the user to close it.
Method Details [hide private]

__init__(self, parent, is_scan)
(Constructor)

 

Initialize dialog.

Parameters:
  • parent (QtGui.QObject) - parent of this dialog.
  • is_scan (bool) - flag coordinate as scan (True) or constraint (False)

display(self)

 

Brings up the dialog and waits for the user to close it. Returns the selected option. Returns default option if the user cancels the dialog.

Returns: int
one of three possible choices (delete constraint, scan or both)