As Of now I am using this way to display an image but I want to be able to use QtWidet that can dislay most kinds of image formats like jog,png,tiff,bmp, dpx, exr, cin etc..

Qt Code:
  1. self.imageLabel = QtGui.QLabel()
  2. self.imageLabel.setBackgroundRole(QtGui.QPalette.Base)
  3. self.imageLabel.setSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
  4. self.imageLabel.setScaledContents(True)
  5. self.imageLabel.setPixmap(QtGui.QPixmap.fromImage(image))
To copy to clipboard, switch view to plain text mode