def syncView(self):
        """
        Syncs all the items to the view.
        """
        if not self.updatesEnabled():
            return
        
        for item in self.topLevelItems():
            try:
                item.syncView(recursive=True)
            except AttributeError:
                continue
Syncs all the items to the view.