Logo Search packages:      
Sourcecode: guidance-power-manager version File versions

def guidance-power-manager::PowerManager::_setRB (   self,
  radios,
  options,
  default,
  value 
) [private]

Set current item in QRadioButton from string value. 

Definition at line 143 of file guidance-power-manager.py.

00143                                                      :
        """ Set current item in QRadioButton from string value. """
        try:
            num = options.index(value)
        except ValueError:
            num = default
            pass
        button = self.radioButtonIndex[num]
        button.setChecked(True)

    def _checkOldConfig(self, value, blank):


Generated by  Doxygen 1.6.0   Back to index