title: Qt: How to display QComboBox inside QTableWidgetItem?
body: <p>I’m trying to display a QComboBox inside a QTableWidgetItem by setting it as its child, using this code:</p>
  
  <pre><code>QComboBox* qcb;
  int r,c;
  //......
  qcb-&gt;setParent((QWidget*)tableWidget-&gt;item(r,c));
  </code></pre>
  
  <p>but that didn’t the job.</p>
  
  <p>so how to fix that? thanks.</p>