[PyKDE] Clear Populated Q

star gazer th1138x at yahoo.com
Sun Dec 29 16:57:00 GMT 2002


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()    

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




More information about the PyQt mailing list