helvinlui at gmail.com
Sun Sep 13 21:19:11 CEST 2009
On Sep 14, 7:18 am, Helvin <helvin... at gmail.com> wrote:
> Could not find anything on this online, except the documentation,
> which does not explain how to work with a QTableWidgetItem-list. How
> do I get out what QWidgetTable.finditems found?
> I have a string that I want to find in my table. I want to locate the
> row it's in, then delete the row.
> My code:
> foundList = table_points.findItems(str(picked_node),
> inRow = self.ui.table_points.column(foundList) # trying to
> locate the row, but this does not work
> table_points: my table
> picked_node: an integer value I want to locate in table_points
> Help MUCH appreciated!
Sorry, forgot to mention I am using PyQT.
More information about the Python-list