I am having trouble in Retrieving the Entered in QWidgetlineEdit box. Got C++ Implementation of the Same but unable to retrieve using Python,
self.line = QtGui.QLineEdit()
i =0
while(i<self.tableWidget.rowCount()):
self.q = (QtGui.QLineEdit()).self.tableWidget.cellWidget(i, 1)
j = self.line.text()
print j
i +=1
working code in c++:
QLineEdit* tmpLineEdit;
QString tmpString;
for(int row=0; row < moneyTableWidget.rowCount(); row++)
{
tmpLineEdit = qobject_cast<QLineEdit *>(moneyTableWidget.cellWidget(row,1));
tmpString = tmpLineEdit->text();
}