Exemplo n.º 1
0
 def __loadOptions(self):
     global kapp
     config = kapp.config()
     config.setGroup("General")
     size = config.readSizeEntry("Geometry")
     if size.isEmpty():
         self.resize(700,600)
     else:
         self.resize(size)
Exemplo n.º 2
0
 def __loadOptions(self):
     global kapp
     config = kapp.config()
     config.setGroup("General")
     size = config.readSizeEntry("Geometry")
     listBoxSelection = config.readNumEntry("ListBoxSelection",0)
     mainwidget.selectComboBox.setCurrentItem(listBoxSelection)
     mainwidget.updateListing(listBoxSelection)
     if size.isEmpty()==False:
         self.resize(size)