Exemplo n.º 1
0
 def populateComboBox(self):
     self.comboBox.clear()
     for path in QIcon.themeSearchPaths():
         for subdir in helpers.listing_subdir(path):
             if subdir.name != self.currentIconTheme:
                 self.comboBox.addItem(subdir.name)
     self.comboBox.insertItem(0, self.currentIconTheme)
     self.comboBox.setCurrentIndex(0)