Sets the default layouts in the preferences file.

        :param ignored_layouts: Ignored layouts.
        :type ignored_layouts: tuple or list
        :return: Method success.
        :rtype: bool

def set_default_layouts(self, ignored_layouts=None):
        """
        Sets the default layouts in the preferences file.

        :param ignored_layouts: Ignored layouts.
        :type ignored_layouts: tuple or list
        :return: Method success.
        :rtype: bool
        """

        for key in self.__default_layouts_settings.allKeys():
            if ignored_layouts:
                if tuple((layout for layout in ignored_layouts if layout in key)):
                    continue
            self.__settings.setValue(key, self.__default_layouts_settings.value(key))
        return True