[BangPypers] Query abt QTableWidgetItem

Smrutilekha Swain smrutilekha at gmail.com
Mon Dec 5 05:21:25 CET 2011


Thanzzzzzzzzz..........i have tried dat n got hte result.....
but i have another 2 problems...
i have assigned 3 values for each column of the table but it just gets
updated on that particular cell i.e.,
item = self. lineEdit.text()
self.tableWidgetItem.setText(item)
self.table.setItem(1,0,self.tableWidgetItem)

item1 = self. lineEdit1.text()
self.tableWidgetItem.setText(item1)
self.table.setItem(1,1,self.tableWidgetItem)

but it is updating the value in row 1 and column 0 (both).
how can i update each cell???

i have a QListwidget. i want to display the text whenever i opened the
gui...

plzzzzzzz answer my queries as soon as possible....Thanking You.............


More information about the BangPypers mailing list