(self)
Remove all items.
Remove all items.
Remove all items .
def clear(self) -> None:
        """
        Remove all items.
        """
        self.__clear()
        self.__items = []
        self.__widthCache.clear()
        self.updateGeometry()
def clear ( self ) -> None : self . __clear ( ) self . __items = [ ] self . __widthCache . clear ( ) self . updateGeometry ( )