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

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

Get current item from QRadioButton from config file (string) value. 

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

00133                                      :
        """ Get current item from QRadioButton from config file (string) value. """
        try:
            for button in self.radioButtonIndex:
                if button.isChecked():
                    selected = button
            return options[self.radioButtonIndex.index(selected)]
        except IndexError:
            return ""

    def _setRB(self, radios, options, default, value):


Generated by  Doxygen 1.6.0   Back to index