[PyKDE] Problem with QStringList in PyQt4

2005-12-12 Thread Baz Walter
I get an error when calling QStringList.count with no arguments: >>> from PyQt4 import QtCore >>> s = QtCore.QStringList() >>> len(s << 'a' << 'b' << 'b' << 'c') 4 >>> s.count('b') 2 >>> s.count() Traceback (most recent call last): File "", line 1, in ? TypeError: insufficient number of argument

pyuic4 [Was: [PyKDE] Re: Building PyQt4]

2005-12-12 Thread Torsten Marek
ness from existing programs. But there are not that much Qt4 programs yet, so I had to create all test cases myself - thus, I'm lacking real-life examples. The current code is at http://diotavelli.net/files/pyuic4-20051212.tar.bz2 If you want to use it, just copy all the files and dirs from t

[PyKDE] enableing eric3 VCS menu actions

2005-12-12 Thread Richard Smith
Detlev and other eric3 hackers, I've been perodically working on Darcs support for eric3. Currently what I have is a big search and replace of the mercurical package but it at least loads. And I can select 'darcs' from the 'Add to repository' It checks for the existence of darcs and then does

Re: [PyKDE] PyQt4 Update (examples)

2005-12-12 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Boddie schrieb: > On Monday 05 December 2005 21:40, Phil Thompson wrote: > >>On Monday 05 December 2005 12:16 am, you wrote: > > >>>Looking at your port of the mainwindows/application example raises an >>>issue I became aware of while working

Re: [PyKDE] eric3: multiline drop to the shell

2005-12-12 Thread Ramon Diaz-Uriarte
On 12/12/05, Detlev Offenbach <[EMAIL PROTECTED]> wrote: > Am Montag, 12. Dezember 2005 20:53 schrieb Ramon Diaz-Uriarte: > > I've been playing with snapshot-20051210 of eric3. The multiline multi > > line paste to the shel works great; however, I do not find the > > multiline drop in any menu, nor

Re: [PyKDE] Re: Building PyQt4

2005-12-12 Thread Douglas Soares de Andrade
Hi Torsten ! > you can't, unless you want to compile Qt4 yourself. > These symbols aren't exported if Qt4 is compiled with -fvisibility. > http://www.trolltech.com/developer/tasktracker.html?method=entry&id=83512 Ah, ok. Thanks for the tip, i recompiled qt4 today to see if the problem was some f

Re: [PyKDE] Re: Building PyQt4

2005-12-12 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas Soares de Andrade schrieb: > Hi ! > > Thanks for the pyqt4 tip, but in the newer snapshots are you having to > commento out these qbitarray.sip lines ? > > Phil says that if i have to comment it my qt4 instalation is broken. So i > wanted t

Re: [PyKDE] eric3: multiline drop to the shell

2005-12-12 Thread Detlev Offenbach
Am Montag, 12. Dezember 2005 20:53 schrieb Ramon Diaz-Uriarte: > I've been playing with snapshot-20051210 of eric3. The multiline multi > line paste to the shel works great; however, I do not find the > multiline drop in any menu, nor see how I can set a keyboard shortcut > (which is what I am real

[PyKDE] eric3: multiline drop to the shell

2005-12-12 Thread Ramon Diaz-Uriarte
I've been playing with snapshot-20051210 of eric3. The multiline multi line paste to the shel works great; however, I do not find the multiline drop in any menu, nor see how I can set a keyboard shortcut (which is what I am really after). I've been looking and looking, but just can't find it; what

Re: [PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Detlev Offenbach
Am Montag, 12. Dezember 2005 17:45 schrieb Douglas Soares de Andrade: > Did you manage to compile it with the current sip snapshots ? I compiled it with the official release. > > Im having this error: > > sip: Ptr is undefined > > Em Segunda 12 Dezembro 2005 18:41, Detlev Offenbach escreveu: > >

Re: [PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Douglas Soares de Andrade
Did you manage to compile it with the current sip snapshots ? Im having this error: sip: Ptr is undefined Em Segunda 12 Dezembro 2005 18:41, Detlev Offenbach escreveu: > Hi, > > now I remember. It was -i that was used by me to get it to compile. > > Detlev > > Am Montag, 12. Dezember 2005 17:26

Re: [PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Detlev Offenbach
Hi, now I remember. It was -i that was used by me to get it to compile. Detlev Am Montag, 12. Dezember 2005 17:26 schrieb Douglas Soares de Andrade: > I think that is "-j". Im using -j 4. > > Em Segunda 12 Dezembro 2005 17:54, Detlev Offenbach escreveu: > > Hi, > > > > gcc 4.0.1 and 4.0.2 seem t

Re: [PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Douglas Soares de Andrade
I think that is "-j". Im using -j 4. Em Segunda 12 Dezembro 2005 17:54, Detlev Offenbach escreveu: > Hi, > > gcc 4.0.1 and 4.0.2 seem to have problems compiling really large files. In > order to het PyKDE compiled, you have to use the configure.py option that > prevents concatenating of the source

[PyKDE] Re: Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Rex Dieter
WORKSFORME (both kdebindings, and standalone PyQt pkg), gcc-4.0.1, gcc-4.0.2 on Fedora Core 4. -- Rex Detlev Offenbach wrote: gcc 4.0.1 and 4.0.2 seem to have problems compiling really large files. Am Montag, 12. Dezember 2005 14:45 schrieb Laurent Rathle: I'm trying to build Kdebinding

Re: [PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Detlev Offenbach
Hi, gcc 4.0.1 and 4.0.2 seem to have problems compiling really large files. In order to het PyKDE compiled, you have to use the configure.py option that prevents concatenating of the source files. Unfortunately I don't remember which one it was. Detlev Am Montag, 12. Dezember 2005 14:45 schri

Re: [PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Jim Bublitz
On Monday 12 December 2005 05:45, Laurent Rathle wrote: > Hello, > > I'm trying to build Kdebindings 3.5 and it stops when it comes to PyQt. > It's not that it stops with error, but the compilation hangs up on this : > > make[4]: Entering directory > `/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/

[PyKDE] Problem building PyQt in Kdebindings 3.5

2005-12-12 Thread Laurent Rathle
Hello, I'm trying to build Kdebindings 3.5 and it stops when it comes to PyQt. It's not that it stops with error, but the compilation hangs up on this : make[4]: Entering directory `/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt' g++ -c -pipe -fPIC -O2 -pipe -Wp,-D_FORTIFY_SOUR

Re: [PyKDE] Re: About PyQt4

2005-12-12 Thread Phil Thompson
On Monday 12 December 2005 11:16 am, Douglas Soares de Andrade wrote: > Are they need in the latest snapshots ? No. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] Re: About PyQt4

2005-12-12 Thread Douglas Soares de Andrade
Are they need in the latest snapshots ? Em Segunda 12 Dezembro 2005 13:08, Phil Thompson escreveu: > On Monday 12 December 2005 11:02 am, Douglas Soares de Andrade wrote: > > Em Segunda 12 Dezembro 2005 10:56, Douglas Soares de Andrade escreveu: > > > > The next snapshot will include extra operato

Re: [PyKDE] Re: About PyQt4

2005-12-12 Thread Phil Thompson
On Monday 12 December 2005 11:02 am, Douglas Soares de Andrade wrote: > Em Segunda 12 Dezembro 2005 10:56, Douglas Soares de Andrade escreveu: > > > The next snapshot will include extra operators to QFlags to make it > > > more natural to use. > > > > Ok; > > > > > > Is this the correct behaviour ?

[PyKDE] Re: Building PyQt4

2005-12-12 Thread Douglas Soares de Andrade
Hi ! Thanks for the pyqt4 tip, but in the newer snapshots are you having to commento out these qbitarray.sip lines ? Phil says that if i have to comment it my qt4 instalation is broken. So i wanted to know if you have solved that. Thanks Em Terça 06 Dezembro 2005 20:11, [EMAIL PROTECTED] escr

Re: [PyKDE] Re: About PyQt4

2005-12-12 Thread Douglas Soares de Andrade
Em Segunda 12 Dezembro 2005 10:56, Douglas Soares de Andrade escreveu: > > The next snapshot will include extra operators to QFlags to make it more > > natural to use. > > Ok; > > > > Is this the correct behaviour ? Do we have to explicit convert the > > > QtCore.Qt.WindowFlags object to a "int" ?

Re: [PyKDE] Re: About PyQt4

2005-12-12 Thread Douglas Soares de Andrade
> The next snapshot will include extra operators to QFlags to make it more > natural to use. Ok; > > Is this the correct behaviour ? Do we have to explicit convert the > > QtCore.Qt.WindowFlags object to a "int" ? > > > > Another thing, looking at QtCore i did not found QFlags, is it there ? > >

Re: [PyKDE] Re: About PyQt4

2005-12-12 Thread Phil Thompson
On Sunday 11 December 2005 3:09 pm, Douglas Andrade wrote: > Hi ! > > Porting the "windowflags" example, I had a problem comparing two > QtCore.Qt.WindowFlags. > > Example: > > In previewwindow.py i had the following code: > > flag_type = (flags & QtCore.Qt.WindowType_Mask) > > if (flag_type == QtC

[PyKDE] Storing QImage or QPixmap

2005-12-12 Thread Benjamin
Hello everone, here I've got a QPixmap, which can be transformed into a QImage easily. Now I'd like to save this into a database. Which means that I'll have to get the data as an array or as a list first. I've been trying to find a way, been searching for a while, and nothing came up that looked