title: How to get the row value from Qtable widget
body: <p>Actually i am inserting combo box in one column on my table and when one of the combo box from the table is selected i want to get the row value . How this can be done ?</p>
  
  <pre><code>#include "mainwindow.h"
  #include "ui_mainwindow.h"
  #include"QComboBox"
  #include "QDebug"
  #include "QModelIndexList"
  #include "QTableWidgetItem"
  
  MainWindow::MainWindow(QWidget *parent) :
  QMainWindow(parent),
  ui(new Ui::MainWindow)
  {
  ui-&gt;setupUi(this);
  
  QComboBox *s = new QComboBox;
  s-&gt;insertItem(1,"INt");
  ui-&gt;tableWidget-&gt;setCellWidget(1,1,s);
  
  }
  
  MainWindow::~MainWindow()
  {
  delete ui;
  }
  
  void MainWindow::on_tableWidget_clicked(const QModelIndex &amp;index)
  {
   qDebug("ROW %d",index.row());
  }
  </code></pre>
  
  <p>I tried something like this but it didnt give the row value where i have inserted the combo box and from other places it was returning the row value</p>