Package schrodinger :: Package application :: Package jaguar :: Package gui :: Package tabs :: Module theory_tab :: Class DFTComboRadioSelector
[hide private]
[frames] | no frames]

Class DFTComboRadioSelector

PyQt4.QtGui.QWidget --+    
                      |    
     ComboRadioSelector --+
                          |
                         DFTComboRadioSelector

Customized ComboRadioSelector which adds on the radio button for enabling and disabling the combobox and radio buttons.

Instance Methods [hide private]
 
__init__(self, category_dict, parent=None)
Initializes the widget with source data.
 
setSelectorEnabled(self, state=True)
Overrides the parent method because we don't want to disable the radio button itself when it gets de-selected.

Inherited from ComboRadioSelector: currentCategory, currentChoice, onCategoryChanged, setCurrentChoice, setData

Class Variables [hide private]

Inherited from ComboRadioSelector: choiceChanged

Method Details [hide private]

__init__(self, category_dict, parent=None)
(Constructor)

 

Initializes the widget with source data.

Parameters:
  • category_dict - a dictionary mapping category name to a list of strings representing all the choices for that category. To specify an ordering for categories in the combobox, use an OrderedDict.
Overrides: ComboRadioSelector.__init__
(inherited documentation)