(self)
Clear/reset the widget.
Clear/reset the widget.
Clear / reset the widget .
def clear(self):
        """Clear/reset the widget."""
        self.__data = None
        self.__pixmap = QPixmap()
        self.__pixmapItem.setPixmap(self.__pixmap)
        self.updateGeometry()
def clear ( self ) : self . __data = None self . __pixmap = QPixmap ( ) self . __pixmapItem . setPixmap ( self . __pixmap ) self . updateGeometry ( )