Re: [PyQt] TypeError thrown by rowsAboutToBeRemoved() when deleting a row from a QAbstractTableModel

2010-07-15 Thread Simon Hibbs
down. If I'd had an indication of which class the object having the problem belonged to, that would have been a huge help. Any ideas how I could determine that? Simon On 14 July 2010 08:25, Simon Hibbs wrote: > The method implementation looks like this: > > def removeRows(self, p

[PyQt] TypeError thrown by rowsAboutToBeRemoved() when deleting a row from a QAbstractTableModel

2010-07-14 Thread Simon Hibbs
any difference anyway. Is there anything I can do, any instrumentation I can put into the app that might give more info on the issue? Best regards, Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] rowCount() on a QSqlTableModel being erratic

2010-01-31 Thread Simon Hibbs
the edit strategy is OnManualSubmit the rowsRemoved signal is only sent on submitAll(). Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Looking for a sample drawling tool in PyQt4

2010-01-01 Thread Simon Hibbs
-to-grid I don't think there is any built-in functionality, you'd just need to override the methods that set an object's position to check and adjust the new position before setting it. Simon Hibbs ___ PyQt mailing listPyQt@ri

[PyQt] ScrollHandDrag problem with items getting selected while scrolling

2009-12-31 Thread Simon Hibbs
vity, without affecting the current selection state of items. Does anyone know of an elegant way to achieve this? Best regards, Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] problems with PyQt book custom view examples [Win7]

2009-12-17 Thread Simon Hibbs
vailable from the main book site: http://www.qtrac.eu/pyqtbook.html I don't think any of these have been tested on Windows 7, at least there's no indication of it, let alone the x64 version. Simon Hibbs ___ PyQt mailing listPyQt@

[PyQt] How to update an QAbstactTableModel

2009-12-08 Thread Simon Hibbs
ltech.com/4.5/qtsql.html#inserting-updating-and-deleting-records Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] A problem with co-ordinates of a moving item in an auto-expanding QGraphicsScene

2009-06-04 Thread Simon Hibbs
ordinates show up in the command window. It's not clear to me if this is a bug in PyQT, or in the example app, or more likely I'm just bending the example app in ways it's not designed to be bent. Any suggestions? Best regards, Simon Hibbs _

[PyQt] will pyqt follow qt license model?

2009-04-22 Thread Simon Hibbs
ed nature of the development process and the risks that poses to the long term future of the project, rather than the relatively modest commercial license fee. Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/

[PyQt] Scripting framework and licensing

2009-02-19 Thread Simon Hibbs
rite their own algorithms for some calculations in an application I'm working on, and Javascript would do the job just fine. Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Using PyQT under the MIT license?

2009-02-12 Thread Simon Hibbs
ficant feature that a commercial version couldn't have - paying money to get less, in a way. Simon Hibbs ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt