QListView and text

Phil Thompson phil at riverbankcomputing.co.uk
Wed Aug 16 12:46:27 EDT 2006


On Wednesday 16 August 2006 5:29 pm, Vojta Drbohlav wrote:
> Oh, sorry. I explained it bad.
>
> I use PyQt3 and I need text from all rows.

row = listView.firstChild()

while row:
	for col in range(listView.columns()):
		text = row.text(col)

	row = row.nextSibling()

...or something like that.

Phil



More information about the Python-list mailing list