Package schrodinger :: Package application :: Package jaguar :: Package gui :: Module filedialog :: Class ReadFileDialog
[hide private]
[frames] | no frames]

Class ReadFileDialog

PyQt4.QtGui.QFileDialog --+        
                          |        
ui.qt.filedialog.FileDialog --+    
                              |    
       FileDialogWithExtraCombo --+
                                  |
                                 ReadFileDialog

An Open dialog both with an extra combo box to specify whether "Geometry and settings" or "Geometry only" should be read from the specified file.

Instance Methods [hide private]
 
__init__(self, parent)
Create a new file dialog with the specified label text and combo box items.

Inherited from FileDialogWithExtraCombo: selectedOption

Inherited from FileDialogWithExtraCombo (private): _insertWidgets

Inherited from ui.qt.filedialog.FileDialog: exec_

Static Methods [hide private]

Inherited from ui.qt.filedialog.FileDialog: getExistingDirectory, getOpenFileName, getOpenFileNames, getSaveFileName

Class Variables [hide private]
int GEOM_AND_SETTINGS = 0
The index of the "Geometry and settings" option, as returned by selectedOption().
int GEOM_ONLY = 1
The index of the "Geometry only" option, as returned by selectedOption().
Method Details [hide private]

__init__(self, parent)
(Constructor)

 

Create a new file dialog with the specified label text and combo box items.

Parameters:
  • parent - The Qt parent widget
  • caption - The title of the dialog
  • lbl_text - The label text to display next to the extra combo box
  • combo_items - A list of strings to add to the combo box
Overrides: ui.qt.filedialog.FileDialog.__init__
(inherited documentation)