Re: [PyQt] max texture size for QGLWidget.bindTexture?

2008-09-10 Thread Brian Parma
David Boddie wrote: On Wed Sep 10 02:11:47 BST 2008, Brian Parma wrote: Ok, so I stripped down the program a little to make it into something of a demonstration of the problem. I'm running this on an Asus s5n laptop with XP Pro (SP3). The graphics controller is an "Intel 82852/82

Re: [PyQt] max texture size for QGLWidget.bindTexture?

2008-09-09 Thread Brian Parma
David Boddie wrote: On Tue Sep 9 00:28:49 BST 2008, Brian Parma wrote: Thanks for the response, that's a good find, although I'm trying to figure out how to interpret the result. On my laptop it returns 2048, but how does that translate into resolution? I thought it was memo

Re: [PyQt] max texture size for QGLWidget.bindTexture?

2008-09-08 Thread Brian Parma
David Boddie wrote: On Tue, 02 Sep 2008 12:49:54 -0700, Brian Parma wrote: I've noticed that If I try to use bindTexture on QPixmaps that are large (the size of the screen), and then display them on a quad, only a portion of the texture actually shows. The rest of the surface is e

[PyQt] max texture size for QGLWidget.bindTexture?

2008-09-02 Thread Brian Parma
I've noticed that If I try to use bindTexture on QPixmaps that are large (the size of the screen), and then display them on a quad, only a portion of the texture actually shows. The rest of the surface is either black or a scrambled jumble of other textures. If I use a smaller image there is

[PyQt] Capturing Image of the Desktop with grabWindow

2008-08-29 Thread Brian Parma
I put this in a small example application to capture the desktop: QPixmap.grabWindow(QApplication.desktop().winId()) But it doesn't capture any windows that have partial transparency. Is there a way to get these windows as well? ___ PyQt mailing l

[PyQt] unexpected behavior from winId() and QSpacerItem

2008-08-19 Thread Brian Parma
Ok, so I was making a simple widget that had a little 32x32 png image that you can pick up and move around. I do this by setting the mouse cursor to a pixmap cursor of the image when mousePressEvent is triggered, and reverting back when mouseReleaseEvent is triggered. I also want to track the