Ejemplo n.º 1
0
 def addObject(self, obj: QObject):
     if not isinstance(obj, ExtensionPoint):
         raise PluginError(
             "Object {} can not added to the pool as it does not extend the ExtensionPoint interface".format(
                 obj.objectName()))