Re: [PyQt] refreshing QTreeView

2010-11-19 Thread Hans Meine
Op den Dunnersdag 18 November 2010 Klock 20:24:09 hett James Polk schreven: Anyways,..I think this is working But after adding a new record via addMail(), I can't seem to get self.proxyModel to refresh itself.. Each model must emit the right SIGNALs to let views know about needed updates.

[PyQt] refreshing QTreeView

2010-11-18 Thread James Polk
Good Day to All, Been writing code for years, but still a bit green when it comes to PyQt, so please forgive my syntactically lacking question(s) ;-) I'm hacking a derivative of the (famous?) packaged example that comes with PyQt4 (and Qt), namely basicsortfiltermodel.pyw from

Re: [PyQt] refreshing QTreeView

2010-11-18 Thread James Polk
test ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] refreshing QTreeView

2010-11-18 Thread James Polk
...well in a burst of inspiration, or was that the caffeine,...I hit upon something that worksessentially bypassing the middleman, so to speak...instead of calling  addMail(),...I just do what addMail does/ did before... So, now,..my code snippet looks like this def addNewRecord(self):