This list was filled with this snippet
...
c = con.cursor()
c.execute(query)
for x in c.fetchall():
   item = QListViewItem(self.lv_search,None)
   item.setText(0,self.tr(str(x[0])))
   item.setText(1,self.tr(x[1]))
   item.setText(2,self.tr(x[2]))
   item.setText(3,self.tr(x[3]))
   item.setText(4,self.tr(x[4]))
c.close()
con.close()
...

I would like to know how do I clear all the items from
the list properly

Star Gazer    

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to