Esempio n. 1
0
 def __init__(self,parent = None,name = None,modal = 0,fl = 0):
     PrefDialog.__init__(self,parent,name,modal,fl)
 def accept(self):
     PrefDialog.accept(self)
     self.copy_to_model()
     if self.store_function:
         self.store_function(self.__model)
 def __init__(self, parent, store_function, model, name=None, modal=0, fl=0):
     PrefDialog.__init__(self, parent, name, modal, fl)
     self.store_function = store_function
     self.__model = model
 def show(self):
     self.copy_from_model()
     PrefDialog.show(self)