title: Remove Widget from QGridLayout in Qt?
body: <p>I have a very basic doubt regarding <code>QGridLayout</code>.
  For adding a widget in <code>QGridLayout</code> we give <code>QWidget *</code> that should be added along with the <code>row</code> &amp; <code>column</code> no (some other args as well).
  Now for removing a widget there is no function to <em>remove a widget according to row &amp; column no</em> i.e. something like this:</p>
  
  <pre><code>int row, column;
  gridObj-&gt;remove(row, column);
  </code></pre>
  
  <p>I think <code>QGridLayout</code> must be maintaining a sort of <code>QList</code> to store <em>references of Widgets &amp; there positions</em>. So why is there no function for removing widgets by position only?
  It only has 1 remove function for which we need to specify the reference of <code>QWidget</code> object.</p>
  
  <p>If this is a limitation somehow then is there a workaround for this problem?
  Maintaining a QList by myself is a solution but it is pretty tedious.
  Thank You</p>