title: Inserting Images from directory in QTableWidget
body: <p>Well, hi all. 
  I've got a question. I have a <code>QTableWidget</code> where I need put images from directory and retrieve name of image that was in selected cell. How can it automatically generate number of rows and columns depending of number of files in directory? I can add image to table by hand but it's not that i want to do. I suppose it's must be something with </p>
  
  <pre><code>QDir dir("images/");
  QFileInfoList dirContent = dir.entryInfoList(QStringList()&lt;&lt; "*.png", QDir::Files | 
  QDir::NoDotAndDotDot);
  </code></pre>
  
  <p>But still can't figure how can I do this.</p>