Re: [PyQt] Construct QVariant from object of user type

2008-04-17 Thread Arve Knudsen
On 4/17/08, Matt Newell [EMAIL PROTECTED] wrote: On Wednesday 16 April 2008 14:18:26 Arve Knudsen wrote: On Wed, Apr 16, 2008 at 11:33 AM, Phil Thompson [EMAIL PROTECTED] wrote: On Wednesday 16 April 2008, Arve Knudsen wrote: Phil, any comment on this? Thanks,

[PyQt] PyQt Release Plans and Qt v4.4 Support

2008-04-17 Thread Phil Thompson
The current PyQt snapshot is from the PyQt v4.4 branch and includes support for almost all of Qt v4.4rc1 including the new QtHelp, QtWebKit, QtXmlPatterns and phonon modules. You will need to use the current SIP snapshot. This includes an enhanced sip.voidptr that supports the buffer protocol

[PyQt] Re: Help menu and own icon

2008-04-17 Thread Christoph Burgmer
Am Mittwoch, 16. April 2008 schrieb Christoph Burgmer: [snip] If I do the same it adds a second help menu, and even gives me the choose language entry, but then What is... is missing. Well why all the magic when all I want is to set the app icon for the menu and let the app image show up in

[PyQt] QWidget invalid layout

2008-04-17 Thread Torgny Nyblom
Hi, I'm having some problems with PyQt4. I'm trying to make a QWidget window but when I run the generated code I get a window with all child widgets in the top left corner stacked onto of each other (see attached PyQt-4.3.3.jpg). The child widgets also does not resize. The form is correctly

[PyQt] Re: Help menu and own icon

2008-04-17 Thread Christoph Burgmer
Am Donnerstag, 17. April 2008 schrieb Christoph Burgmer: [snip] I set the help menu to false before calling setupGUI() and finally add the help menu bar with setting icons for the report bug (otherwise missing) and About 'app' (otherwise 'missing icon'), adding language selection by giving

[PyQt] Re: QWidget invalid layout

2008-04-17 Thread Christoph Burgmer
You wrote: I'm having some problems with PyQt4. I'm trying to make a QWidget window but when I run the generated code I get a window with all child widgets in the top left corner stacked onto of each other (see attached PyQt-4.3.3.jpg). The child widgets also does not resize. The form is

[PyQt] resizing floating dockwidgets

2008-04-17 Thread Darren Dale
Does anyone if it is possible (and if so, how) to configure a dock widget so it can be resized when it is detached from the main window? Thanks, Darren ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] Looking for complex tree view example

2008-04-17 Thread Aaron Digulla
Hello, I'm trying to implement a tree model which displays a complex tree-like structure. The structure has no idea of the tree model and I'd like to keep it that way. When the structure changes (elements added, modified or removed), they send signals so I can update the tree model.

[PyQt] Re: rendering svg

2008-04-17 Thread Niels Egberts
Now I have found this: self.picture = QtGui.QPicture() self.picture.load(/home/user/grid.jpg) And it gives the error: QPicturePaintEngine::checkFormat: Incorrect header I have tried with a jpg, bmp, svg and an png but all of them return an incorrect header. What am I doing wrong? Niels On

Re: [PyQt] Re: rendering svg

2008-04-17 Thread Phil Thompson
On Thursday 17 April 2008, Niels Egberts wrote: Now I have found this: self.picture = QtGui.QPicture() self.picture.load(/home/user/grid.jpg) And it gives the error: QPicturePaintEngine::checkFormat: Incorrect header I have tried with a jpg, bmp, svg and an png but all of them return an

Re: [PyQt] Re: rendering svg

2008-04-17 Thread Niels Egberts
Thanks for pointing me in the right direction, I got it working with this code: self.grid = QtGui.QImage() self.grid.load(/home/niels/Programmeer/arimaa/images/grid.svg) target = QtCore.QRectF(0.0, 0.0, self.width(), self.height()) paint.drawImage(target,self.grid)

Re: [PyQt] ANN: eric4 4.1.2 released

2008-04-17 Thread Detlev Offenbach
On Dienstag, 15. April 2008, Simon Edwards wrote: Hi, Detlev Offenbach wrote: eric4 4.1.2 has been released today. This release fixes a few bugs reported since the last release. I've got 4.1.2 installed but I'm still suffering from the problem where the autocomplete list popups up all

Re: [PyQt] ANN: eric4 4.1.2 released

2008-04-17 Thread Detlev Offenbach
On Dienstag, 15. April 2008, Simon Edwards wrote: Hi, Detlev Offenbach wrote: eric4 4.1.2 has been released today. This release fixes a few bugs reported since the last release. I've got 4.1.2 installed but I'm still suffering from the problem where the autocomplete list popups up all

Re: [PyQt] PyQt Release Plans and Qt v4.4 Support

2008-04-17 Thread Henning Schröder
On Thu, Apr 17, 2008 at 11:12 AM, Phil Thompson [EMAIL PROTECTED] wrote: As mentioned before, if you are using GCC, you will need to edit mkspecs/common/g++.conf and comment out the line refering to QMAKE_LFLAGS. I'm am told this will be fixed in the final Qt v4.4 release. I changed the

Re: [PyQt] PyQt Release Plans and Qt v4.4 Support

2008-04-17 Thread Sebastien Geffroy
On Thu, Apr 17, 2008 at 07:58:07PM +0200, Henning Schröder wrote: make[1]: Entering directory `/home/kde/pyqt/PyQt-x11-gpl-4.4-snapshot-20080416/QtCore' g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/home/kde/opt/include/python2.5 -I/usr/include/python2.5

Re: [PyQt] PyQt Release Plans and Qt v4.4 Support

2008-04-17 Thread Henning Schröder
On Thu, Apr 17, 2008 at 8:27 PM, Phil Thompson [EMAIL PROTECTED] wrote: On Thursday 17 April 2008, Henning Schröder wrote: make[1]: Entering directory `/home/kde/pyqt/PyQt-x11-gpl-4.4-snapshot-20080416/QtCore' g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB

Re: [PyQt] QT Designer for Custom Widgets.

2008-04-17 Thread David Boddie
On Wed, 16 Apr 2008 13:10:01 +0300, objectref wrote: I am reading Mark Summerfields' Rapid Gui Programming with Python and Qt. Until the chapter I am now, I saw that we can build a new custom widget by subclassing an existing one and adding our own stuff. All this by code. Can I achieve the

Re: [PyQt] Pythonize library

2008-04-17 Thread David Boddie
On Tue, 8 Apr 2008 11:18:16 -0400, Miller, Douglas K. wrote: Does the pythonize library still exist?  If so, where and where is it documented?  Thanks. I don't think either Jim Bublitz or myself documented it, but it should still be available in releases of PyKDE3, if I remember correctly. If

Re: [PyQt] Looking for complex tree view example

2008-04-17 Thread David Boddie
On Thu, 17 Apr 2008 15:50:35 +0200, Aaron Digulla wrote: Does someone have a more complex tree model example than   simpletreemodel from PyQt4? Especially one which does change the model   instead of displaying a static datasource? You could port the C++ Editable Tree Model example from the

Re: [PyQt] Cross Compiled PYQT

2008-04-17 Thread David Boddie
On Sat, 12 Apr 2008 10:13:03 +0200, Aaron Digulla wrote: Hal Glenn schrieb: OK, I ended up following David's example completely, at first we had tried with newer versions of Python QT sip etc but each one possessed a problem so we dropped back to using David's work almost word for word,

[PyQt] question about opacity

2008-04-17 Thread Jan De Coster
hi there, i'm quite new to this list and i have a serious question ... is it possible to create a 'mainwindow' with opacity ?? thanks in advance, -- **Jan De Coster** DB Logo **D**igital **B**ase Broekstraat 36, 3001 Heverlee T. +32 (0)16 36 00 34 - F. +32 (0)16 36 00 39 E-mail:

Re: [PyQt] question about opacity

2008-04-17 Thread Jan De Coster
ok i figured that out ... but how do i implant it ? /noobmode kind regards, **Jan De Coster** DB Logo **D**igital **B**ase Broekstraat 36, 3001 Heverlee T. +32 (0)16 36 00 34 - F. +32 (0)16 36 00 39 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] **New** Website:

Re: [PyQt] PyQt Release Plans and Qt v4.4 Support

2008-04-17 Thread Henning Schröder
Ok I got the snapshot working by changing void *a0 into uchar *a0 for QFile::unwrap :-) I was playing a litte bit with QtWebKit after reading http://www.trolltech.com/pdf/qt-webkit-mar-2008-whitepaper-a4.pdf There is an example which shows that is possible that a webpage can interact with