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

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

Set current item in QComboBox from string value. 

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

00124                                                     :
        """ Set current item in QComboBox from string value. """
        try:
            num = options.index(value)
        except ValueError:
            num = default
            pass
        combo.setCurrentIndex(num)

    def _getRB(self, radios, options):


Generated by  Doxygen 1.6.0   Back to index