Re: QListView and text

2006-08-16 Thread Vojta Drbohlav
Thank you very much. How can I move slected item up? This is no work: sel = list.currentItem() sel.moveItem(sel.itemAbove()) -- http://mail.python.org/mailman/listinfo/python-list

Re: QListView and text

2006-08-16 Thread Phil Thompson
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() ..

QListView and text

2006-08-16 Thread Vojta Drbohlav
Oh, sorry. I explained it bad. I use PyQt3 and I need text from all rows. -- http://mail.python.org/mailman/listinfo/python-list

Re: QListView and text

2006-08-16 Thread Phil Thompson
On Wednesday 16 August 2006 4:43 pm, Vojta Drbohlav wrote: > Hello, > Can I get all text from first column in QListView? How? > > PS. Sorry for my bad English ;) > > Than you, Vojta Assuming you are talking about PyQt v3 rather than v4 then use the columnText() method. Phil -- http://mail.pytho

QListView and text

2006-08-16 Thread Vojta Drbohlav
Hello, Can I get all text from first column in QListView? How? PS. Sorry for my bad English ;) Than you, Vojta -- http://mail.python.org/mailman/listinfo/python-list