(self, url)
Parameters
        ----------
        url : QUrl
            The currently displayed url
Parameters
        ----------
        url : QUrl
            The currently displayed url
Parameters ---------- url : QUrl The currently displayed url
def _update_address_bar(self, url):
        """
        Parameters
        ----------
        url : QUrl
            The currently displayed url

        """
        if url.host() == 'localhost':
            self.address = url.path()[1:]
        elif url.scheme() == 'sync':
            self.address = url.host().upper()
        else:
            self.address = url.toString()
def _update_address_bar ( self , url ) : if url . host ( ) == 'localhost' : self . address = url . path ( ) [ 1 : ] elif url . scheme ( ) == 'sync' : self . address = url . host ( ) . upper ( ) else : self . address = url . toString ( )