I have this QFileDialog

Qt Code:
  1. path = QFileDialog::getOpenFileNames(this, tr("Files"), QDir::currentPath(), tr("*.jpg *.png"));
To copy to clipboard, switch view to plain text mode 

But i want the QFileDialog to have also the option when you select a picture a preview of the picture on the right to been shown. How can i do this?