Re: [PyQt] OnManualSubmit + insertRows: EditRole and DisplayRole = QVariant.Invalid?

2010-11-26 Thread sbremal
Thanks for the quick reply. Here is a small rewrite (extension) of connection.py. If you comment out the line m.setEditStrategy(QtSql.QSqlTableModel.OnManualSubmit) then it is all fine, otherwise the custom editor widget for int is not picked by the Q table. Any idea? Cheers, B. ---

Re: [PyQt] OnManualSubmit + insertRows: EditRole and DisplayRole = QVariant.Invalid?

2010-11-26 Thread sbremal
I try again as attachment. From: sbre...@hotmail.com To: h...@urpla.net; pyqt@riverbankcomputing.com Subject: RE: [PyQt] OnManualSubmit + insertRows: EditRole and DisplayRole = QVariant.Invalid? Date: Fri, 26 Nov 2010 09:22:02 + Thanks for

Re: [PyQt] QStandardItemEditorCreator missing

2010-11-26 Thread Phil Thompson
On Thu, 25 Nov 2010 22:57:42 +0100, Hans-Peter Jansen h...@urpla.net wrote: [Missed to addressed you directly the last time, sorry] On Thursday 25 November 2010, 18:23:38 Hans-Peter Jansen wrote: On Thursday 25 November 2010, 14:44:33 Phil Thompson wrote: On Thu, 25 Nov 2010 14:26:50 +0100,

Re: [PyQt] OnManualSubmit + insertRows: EditRole and DisplayRole = QVariant.Invalid?

2010-11-26 Thread Hans-Peter Jansen
On Friday 26 November 2010, 10:22:02 sbre...@hotmail.com wrote: Thanks for the quick reply. Here is a small rewrite (extension) of connection.py. If you comment out the line m.setEditStrategy(QtSql.QSqlTableModel.OnManualSubmit) then it is all fine, otherwise the custom editor widget for int

Re: [PyQt] QStandardItemEditorCreator missing

2010-11-26 Thread Hans-Peter Jansen
On Friday 26 November 2010, 15:15:32 Phil Thompson wrote: On Thu, 25 Nov 2010 22:57:42 +0100, Hans-Peter Jansen h...@urpla.net wrote: [Missed to addressed you directly the last time, sorry] On Thursday 25 November 2010, 18:23:38 Hans-Peter Jansen wrote: On Thursday 25 November 2010,

Re: [PyQt] OnManualSubmit + insertRows: EditRole and DisplayRole = QVariant.Invalid?

2010-11-26 Thread sbremal
Python 2.7 PyQT 4.7.6 Microsoft Windows XP [Version 5.1.2600] SIP version? It must be the one that comes with PyQt-Py2.7-gpl-4.7.6-1.exe One more remark, the example I posted earlier uses QSQLITE and the editor is broken for all cells (both existing and just inserted), while with QPSQL only

[PyQt] Generating Windows Executables under Wine in Linux

2010-11-26 Thread Nahuel Defossé
Hi everyone Has anyone tried to create windows executables with wine for your PyQt4 apps? I've tried it in the past with no success but a strange behaviour. Executables were able to compile and run under wine, but when I tried to run them in a actual windows OS, they said they were no valid win32

Re: [PyQt] Generating Windows Executables under Wine in Linux

2010-11-26 Thread Phil Thompson
On Fri, 26 Nov 2010 12:19:05 -0300, Nahuel Defossé nahuel.defo...@gmail.com wrote: Hi everyone Has anyone tried to create windows executables with wine for your PyQt4 apps? I've tried it in the past with no success but a strange behaviour. Executables were able to compile and run under

[PyQt] Table view row selection

2010-11-26 Thread despen
I previously asked this question, but got no answers. This time I have a sample program. I'm trying to create a table view with both drag and drop and being able to select a row by clicking on the row. (In the real program, the rows have hidden data I want to access.) I think I'm using the

[PyQt] [QtDesigner] Docs in Python ?

2010-11-26 Thread James Polk
When I run QtDesigner (the one that lives in ../PyQt4/bin/)... When I run Help from the menuBar, all of the examples (as far as I can tell) are in C++... Is there a version of this help in Python? Cheers, -Jim ___ PyQt mailing list