overload ======== .. py:module:: qfluentwidgets.common.overload Module Contents --------------- .. autoapisummary:: qfluentwidgets.common.overload.singledispatchmethod .. py:class:: singledispatchmethod(func) Single-dispatch generic method descriptor. Supports wrapping existing descriptors and handles non-descriptor callables as instance methods. .. py:attribute:: dispatcher .. py:attribute:: func .. py:method:: register(cls, method=None) generic_method.register(cls, func) -> func Registers a new implementation for the given *cls* on a *generic_method*. .. py:method:: __get__(obj, cls=None) .. py:property:: __isabstractmethod__