Source code for PartSeg.common_backend.abstract_class

import abc

from qtpy.QtCore import QObject


[docs] class QtMeta(type(QObject), abc.ABCMeta): """ Class to solve metaclass conflict for multiple inheritance: ``TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclass of all its bases`` >>> class A: ... pass ... >>> class Test(QObject, A, metaclass=QtMeta): ... pass """