Re: [PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

2008-05-13 Thread Aysun Bascetincelik
Hi, Thanks for the help, I guess I forgot to check that part and did not realize it was only python related. My first problem is solved but I still cannot select any items on the scene. I added QGraphicsView::setInteractive(True) but it did not change anything. 2.The other problem is when I try to

Re: [PyQt] [PyQt3] QRegion.rects() missing

2008-05-13 Thread Hans-Peter Jansen
Am Mittwoch, 14. Mai 2008 schrieb Phil Thompson: > On Saturday 10 May 2008 22:43:34 Hans-Peter Jansen wrote: > > Hi, > > > > for optimizing reasons, I'm desperately missing the QRegion.rects() > > method. Background is a special double buffering widget, where bitblt > > in the paintEvent reimplemen

Re: [PyQt] [PyQt3] QRegion.rects() missing

2008-05-13 Thread Phil Thompson
On Saturday 10 May 2008 22:43:34 Hans-Peter Jansen wrote: > Hi, > > for optimizing reasons, I'm desperately missing the QRegion.rects() method. > Background is a special double buffering widget, where bitblt in the > paintEvent reimplementation of the full event.rect() is painfully slow, > while on

Re: [PyQt] build error with pyqt 4.4

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 18:55:15 Erick Tryzelaar wrote: > It looks like a change in between this release and > 4.4-snapshot-20080508_0 broke my build. Here's the error: > > g++ -c -pipe -Os -Wall -W -fPIC > -DPYTHON_LIB=\"Python.framework/Versions/2.4/Python\" -DQT_NO_DEBUG > -DQT_PLUGIN -DQT_SCRIPT

Re: [PyQt] Odd tab behavior in QTableWidget with cell widgets

2008-05-13 Thread Kerri Reno
Thanks, Chris. I feel stupid that was so easy. I've even used that before! Guess I'll just have to chalk that one up to being so busy. Thanks again! Kerri On 5/13/08, Chris M <[EMAIL PROTECTED]> wrote: > > Although you have appended a new row. The last selected row with focus > is still select

Re: [PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

2008-05-13 Thread Hans Meine
On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote: > Sorry, I was not sure about attaching files. Here are the files. Your mistake is simply that you have made "pointToDraw" a class variable, not an object/instance one (use self.pointToDraw, not MyPoint.pointToDraw). This is not [Py]Qt related

Re: [PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

2008-05-13 Thread Aysun Bascetincelik
Hi, Sorry, I was not sure about attaching files. Here are the files. Aysun On Tue, May 13, 2008 at 2:34 PM, Hans Meine <[EMAIL PROTECTED]> wrote: > On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote: > > Here is the code: > > __ > > > > > > #!/usr/bin/env python > [snip]

Re: [PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

2008-05-13 Thread Hans Meine
On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote: > Here is the code: > __ > > > #!/usr/bin/env python [snip] I don't know what the policy for this list is, but if you had attached the file (and the needed .ui) file, we could have tried your code out. As it is now, the

Re: [PyQt] ANN: PyQt v4.4 and SIP v4.7.5 Released

2008-05-13 Thread Erick Tryzelaar
On Tue, May 13, 2008 at 10:31 AM, Phil Thompson <[EMAIL PROTECTED]> wrote: > > > This release fully supports Qt v4.4 with the exception of QtConcurrent. > > > > Do you anticipate on supporting this in the near term future? > > Given the GIL it doesn't make much sense - unless somebody has got

Re: [PyQt] QT_SHARED not defined

2008-05-13 Thread Matt Newell
On Tuesday 13 May 2008 00:56:08 Phil Thompson wrote: > On Tuesday 13 May 2008 00:10:50 Matt Newell wrote: > > On Friday 09 May 2008 15:28:09 Phil Thompson wrote: > > > On Friday 09 May 2008 22:13:39 Matt Newell wrote: > > > > Using vanilla qt-x11-4.4.0 with PyQt-x11-gpl-4.4-snapshot-20080508 > > >

[PyQt] build error with pyqt 4.4

2008-05-13 Thread Erick Tryzelaar
It looks like a change in between this release and 4.4-snapshot-20080508_0 broke my build. Here's the error: g++ -c -pipe -Os -Wall -W -fPIC -DPYTHON_LIB=\"Python.framework/Versions/2.4/Python\" -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WI

Re: [PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

2008-05-13 Thread İsmail Dönmez
Hi, On Tue, May 13, 2008 at 8:25 PM, Aysun Bascetincelik <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to implement a simple paint like program. I am having mainly two > problems: > > 1. I have an item class inherited from QGraphicsItem and I use > QGraphicsScene.addItem() to add it to the scene.

Re: [PyQt] ANN: PyQt v4.4 and SIP v4.7.5 Released

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 18:17:14 Erick Tryzelaar wrote: > On Tue, May 13, 2008 at 9:54 AM, Phil Thompson > > <[EMAIL PROTECTED]> wrote: > > PyQt v4.4 and SIP v4.7.5 have been released and are available from the > > download pages. > > Thank you so much for this! > > > This release fully supports Q

[PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

2008-05-13 Thread Aysun Bascetincelik
Hi, I am trying to implement a simple paint like program. I am having mainly two problems: 1. I have an item class inherited from QGraphicsItem and I use QGraphicsScene.addItem() to add it to the scene. However, I can only see the last added item. Although all previous items (when I use QGraphicsS

Re: [PyQt] ANN: PyQt v4.4 and SIP v4.7.5 Released

2008-05-13 Thread Gustavo A. Díaz
Perfect! now with this i have no problems compiling it in Kubuntu hardy. Good work :) Cheers. 2008/5/13 Phil Thompson <[EMAIL PROTECTED]>: > PyQt v4.4 and SIP v4.7.5 have been released and are available from the > download pages. > > This release fully supports Qt v4.4 with the exception of QtC

Re: [PyQt] ANN: PyQt v4.4 and SIP v4.7.5 Released

2008-05-13 Thread Erick Tryzelaar
On Tue, May 13, 2008 at 9:54 AM, Phil Thompson <[EMAIL PROTECTED]> wrote: > PyQt v4.4 and SIP v4.7.5 have been released and are available from the > download pages. Thank you so much for this! > This release fully supports Qt v4.4 with the exception of QtConcurrent. Do you anticipate on suppor

[PyQt] ANN: PyQt v4.4 and SIP v4.7.5 Released

2008-05-13 Thread Phil Thompson
PyQt v4.4 and SIP v4.7.5 have been released and are available from the download pages. This release fully supports Qt v4.4 with the exception of QtConcurrent. I will update the GPL Windows installer in the next few days. Phil ___ PyQt mailing list

Re: [PyQt] Odd tab behavior in QTableWidget with cell widgets

2008-05-13 Thread Kerri Reno
Attached is the code that I'm asking about. If you run it, then 'Add', then type something into the first cell, then press tab, it returns to the first cell. Then, tab a couple more times, and 'Add' another row. Then you can type something into the first cell, and press tab, and it jumps to wher

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 13:03:56 Giovanni Bajo wrote: > On 5/13/2008 1:19 PM, Phil Thompson wrote: > > On Tuesday 13 May 2008 11:59:48 Giovanni Bajo wrote: > >> On 5/13/2008 10:24 AM, Phil Thompson wrote: > >>> On Tuesday 13 May 2008 09:16:59 you wrote: > Hi Phil, > > First we will in

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread Giovanni Bajo
On 5/13/2008 1:19 PM, Phil Thompson wrote: On Tuesday 13 May 2008 11:59:48 Giovanni Bajo wrote: On 5/13/2008 10:24 AM, Phil Thompson wrote: On Tuesday 13 May 2008 09:16:59 you wrote: Hi Phil, First we will install Qt/MinGW and then your installer ? And we have to do this for every machine we

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread İsmail Dönmez
Hi, On Tue, May 13, 2008 at 2:19 PM, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Tuesday 13 May 2008 11:59:48 Giovanni Bajo wrote: > > On 5/13/2008 10:24 AM, Phil Thompson wrote: > > > On Tuesday 13 May 2008 09:16:59 you wrote: > > >> Hi Phil, > > >> > > >> First we will install Qt/MinGW an

RE: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread objectref
I think this would be the ideal solution, indeed! > What I might consider doing is producing an alternative installer for Qt, ie. >a Qt-Lite that only includes the bits that PyQt requires. ___ PyQt mailing listPyQt@riverbankcomputing.com http://w

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 11:59:48 Giovanni Bajo wrote: > On 5/13/2008 10:24 AM, Phil Thompson wrote: > > On Tuesday 13 May 2008 09:16:59 you wrote: > >> Hi Phil, > >> > >> First we will install Qt/MinGW and then your installer ? And we have to > >> do this for every machine we want our code to run, c

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread Giovanni Bajo
On 5/13/2008 10:24 AM, Phil Thompson wrote: On Tuesday 13 May 2008 09:16:59 you wrote: Hi Phil, First we will install Qt/MinGW and then your installer ? And we have to do this for every machine we want our code to run, correct ? Correct. Of course there is nothing to stop you creating your ow

Re: [PyQt] Returning a numpy.ndarray

2008-05-13 Thread Hans Meine
Am Freitag, 09. Mai 2008 18:35:25 schrieb Phil Thompson: > I didn't really understand your explanation, but another approach is to > #define things on the command line. Thanks Phil for you suggestion, but this leads to nearly the same problem: I do not know how to set -D switches for the compiler

RE: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread objectref
Ok Phil, I understand. I just see that is too difficult now to tell a user to download a...90MB file. Anyway, we can't have them all, can we ? :) Anthony -Original Message- From: Phil Thompson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 11:24 AM To: objectref; pyqt@riverba

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 09:16:59 you wrote: > Hi Phil, > > First we will install Qt/MinGW and then your installer ? And we have to do > this for every machine we want our code to run, correct ? Correct. Of course there is nothing to stop you creating your own single installer containing exactly wh

RE: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread objectref
Hi Phil, First we will install Qt/MinGW and then your installer ? And we have to do this for every machine we want our code to run, correct ? Ps: Just of curiosity: Why is that change ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Thompson Sen

Re: [PyQt] QT_SHARED not defined

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 00:10:50 Matt Newell wrote: > On Friday 09 May 2008 15:28:09 Phil Thompson wrote: > > On Friday 09 May 2008 22:13:39 Matt Newell wrote: > > > Using vanilla qt-x11-4.4.0 with PyQt-x11-gpl-4.4-snapshot-20080508 and > > > sip-4.7.5-snapshot-20080507. > > > > > > Not a problem f

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread Phil Thompson
On Tuesday 13 May 2008 07:57:39 İsmail Dönmez wrote: > Hi Phil et al., > > Is there a chance of updating the windows installer for Qt 4.4? MSVC > Express 2008 is giving me a hard time compiling PyQt4 so I would > appreciate an updated installer. > > Regards, > ismail I will release PyQt v4.4 later

Re: [PyQt] Naming convention

2008-05-13 Thread Laurent Léonard
Le mardi 13 mai 2008 à 08:52, Andreas Pakulat a écrit : > On 12.05.08 15:22:01, Laurent Léonard wrote: > > Python and QT have very different naming conventions, so what about the > > naming conventions with PyQt ? > > Huh? A quick look through the standard modules shows a lot of classes > that also

[PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread İsmail Dönmez
Hi Phil et al., Is there a chance of updating the windows installer for Qt 4.4? MSVC Express 2008 is giving me a hard time compiling PyQt4 so I would appreciate an updated installer. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.