[PyQt] QSqlTableModel edit problem

2011-09-19 Thread Jian Ma
Hi, I tried to add/edit records using QSqlTableModel and QTableView. The QSqlTableModel is initialized as: self.model = QSqlTableModel(self), self.model.setTable(table), where table is a database, self.model.setHeaderData(ID, ).; the QTableView is initialized as self.view =

[PyQt] menu items not working on windows: activated vs triggered

2011-09-19 Thread Lee Harr
I maintain an application written using PyQt (pynguin.googlecode.com) The other day I received a bug report saying that almost none of the menu items were working on windows. The user would click on the menu item and there would be no error message, just nothing would happen, like the menu item