I am trying to connect external widgets(slider, combobox, lineedit, etc) to specific QTableWidgetItem.
The widgets are not embed into the QTableWidget.
All the widgets have their own Signals, which is really fantastic,
BUT the QTableWidgetItem have no SLOTS!
How can i set the values of the QTableWidgetItems using other widgets outside the QTableWidget?
I tried something like the code below but it simply does not work

Qt Code:
  1. //setting up the table
  2. QTableWidget *dataSheet = new QTableWidget;
  3. dataSheet->setRowCount(3);
  4. dataSheet->setColumnCount(7);
  5.  
  6. //initializing the QTableWidgetItem
  7. int row = 0, col = 0;
  8. QTableWidgetItem *newItem = new QTableWidgetItem(tr("%1").arg(343.3432));
  9. dataSheet->setItem(row, col, newItem);
  10.  
  11. //creating external widget
  12. QLineEdit *action = new QLineEdit;
  13.  
  14. //trying to connect?!
  15. connect(action, SIGNAL( textChanged ( const QString & ) ), newItem, SLOT( setText ( const QString & ) ));
To copy to clipboard, switch view to plain text mode 

any suggestions?!