Why doesn't work?

This code

Qt Code:
  1. void Widget::on_openFileButton_clicked()
  2. {
  3. QString fileName = QFileDialog::getOpenFileName (
  4. this,
  5. tr ("Open File"),
  6. ".",
  7. tr ("Executable files (*exe)"));
  8.  
  9. if (!fileName.isEmpty ()) {
  10. QFile f (fileName);
  11.  
  12. const int SIZE = 100;
  13. int readSize;
  14.  
  15. f.open (QIODevice::ReadOnly);
  16. readSize = (f.size () > SIZE)? SIZE: f.size ();
  17.  
  18. QByteArray ba = f.read (readSize);
  19.  
  20. ui->rawDataEdit->setPlainText (ba);
  21. ui->hexDataEdit->setPlainText (ba.toHex ());
  22. }
  23. }
To copy to clipboard, switch view to plain text mode 

shows this output when I select a EXE file

imagine1.JPG