title: Display Dicom image in QLabel/QGraphicsView
body: <p>I'm new to MITK and not an advanced programmer.
  I need help displaying a DICOM image in a QT Widget.
  I am using Visual Studio 2013, MITK, and QT5 to develop a program, that is supposed to open and view DICOM images. The user browses an image which is then displayed.
  I`ve seen here: <a href="https://stackoverflow.com/questions/18488050/interactively-editing-an-existing-rectangle-on-a-qpixmap">Interactively editing an existing rectangle on a QPixmap?</a> that it is possible with a QLabel and QGraphicsview. 
  I just don't know how to use that in my program:</p>
  
  <pre><code>void MainWindow::on_openButton_pressed()
  {
  QString imagePath = QFileDialog::getOpenFileName(
      this, tr("Open File"),
      "",
      tr("JPEG(*.jpg *.jpeg);;DICOM(*.dcm)")
      );
  imageObject = new QImage();
  imageObject-&gt;load(imagePath); //bool status is false here
  image = QPixmap::fromImage(*imageObject)
  image.load(imagePath);
  
  QSize bigsize = ui-&gt;bigImageLabel-&gt;size();
  QSize bigsize = ui-&gt;label-&gt;size();
  ui-&gt;label-&gt;setPixmap(image.scaled(bigsize, Qt::IgnoreAspectRatio, Qt::FastTransformation));
  ui-&gt;label-&gt;show();
  }
  </code></pre>
  
  <p>I also tried using QGraphicsView (which only works for JPEGs).</p>
  
  <pre><code>scene = new QGraphicsScene(this);
  scene-&gt;addPixmap(image);
  scene-&gt;setSceneRect(image.rect());
  ui-&gt;ViewCoronal-&gt;setScene(scene);
  </code></pre>
  
  <p>I hope someone can help me. 
  Thanks in advance</p>