Hi, 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): header.removeLabel(i) for col in schema: header.addLabel(str(col)) thanks in advance sandeep c _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde