[PyKDE] python qtable

Sandeep C sandeepc at myrealbox.com
Thu Jan 30 19:08:00 GMT 2003

 I'm a newbie to qt world. I'm developing an app to display table schema
of a given postgres database. I'm using python-qt for the gui.
I have a QTable in place, how do i dynamically add and delete data to
the table? Also how do i set the title of the columns?
I looked up the docs on QHeader and here is the sample code i'm using:

    def updateTableView(self,schema):
         header = self.tblTable.horizontalHeader()
         count = header.count()
         for i in range(count):

        for col in schema:

thanks in advance
sandeep c

More information about the PyQt mailing list