Package schrodinger :: Package application :: Package jaguar :: Package gui :: Module utils :: Class EnhancedComboBox
[hide private]
[frames] | no frames]

Class EnhancedComboBox

   PyQt4.QtGui.QComboBox --+    
                           |    
ui.qt.utils.EnhancedComboBox --+
                               |
                              EnhancedComboBox

A combo box for use in the Jaguar GUI with several Pythonic enhancements

Instance Methods [hide private]
 
setCurrentMmJagData(self, jag_input, keyword, setting_name)
Set the combo box selection based on the specified mmjag setting The combo box user data must match the mmjag keyword values.

Inherited from ui.qt.utils.EnhancedComboBox: addItemsFromDict, currentData, findDataPy, setCurrentData, setCurrentText

Method Details [hide private]

setCurrentMmJagData(self, jag_input, keyword, setting_name)

 

Set the combo box selection based on the specified mmjag setting The combo box user data must match the mmjag keyword values. If no matching setting is found, a warning will be issued.

Parameters:
  • jag_input (schrodinger.application.jaguar.input.JaguarInput) - A JaguarInput object containing the settings to load
  • keyword (str) - The mmjag keyword to load
  • setting_name (str) - The name of the setting that is being set. This name will only be used when issuing warnings.