title: QFileDialog to open multiple files
body: <p>I am trying to show a dialog box to open multiple files but seems like it is not working. The following is a function defined in my Class:</p>
  <pre><code>def loadFiles(self):
      filter = &quot;TXT (*.txt);;PDF (*.pdf)&quot;
      file_name = QtGui.QFileDialog()
      file_name.setFileMode(QFileDialog.ExistingFiles)
      names = file_name.getOpenFileNameAndFilter(self, &quot;Open files&quot;, &quot;C\\Desktop&quot;, filter)
      print names
  </code></pre>
  <p>I thought that the keyword was <code>QFileDialog.ExistingFiles</code>.</p>
  <p>What am I doing wrong here?</p>