Пример #1
0
 def __new__(type, *args):
     if not '_the_instance' in type.__dict__:
         type._the_instance = QObject.__new__(type)
     return type._the_instance
Пример #2
0
 def __new__(type, *args):
     if not '_the_instance' in type.__dict__:
         type._the_instance = QObject.__new__(type)
     return type._the_instance