def setStyle(self,style): """Set the main application style.""" style = QtGui.QStyleFactory().create(style) pf.app.setStyle(style) self.update()
def getStyles(self): return map(str,QtGui.QStyleFactory().keys())