#NEWLINE# def __init__( self , parent = None ) : #NEWLINE# #INDENT# ' Initialize a QImageView.\n\n        Parameters\n        ----------\n        parent : QWidget or None, optional\n            The parent widget of this image viewer.\n\n        ' #NEWLINE# super ( QImageView , self ) . __init__ ( self ) #NEWLINE# self . _pixmap = None #NEWLINE# self . _scaled_contents = False #NEWLINE# self . _allow_upscaling = False #NEWLINE# self . _preserve_aspect_ratio = False