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/82855 GM/GME"

Re: [PyQt] selecting items from a treeview using code

2008-09-10 Thread Adam Tenderholt
Out of curiosity, did you set the flags of the items in the model to allow selections? Adam On Tue, Sep 9, 2008 at 1:11 PM, Wim Verhavert <[EMAIL PROTECTED]> wrote: > Sounds easy he, but this one is really driving me crazy... > > So here's what I've done so far. > > Ok: I have a QTreeview (using

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

2008-09-10 Thread David Boddie
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/82855 GM/GME" 6.14.10.3865. (ye

Re: [PyQt] Reference leak in QListView.setModel?

2008-09-10 Thread Phil Thompson
On Wed, 10 Sep 2008 16:59:04 + (UTC), dfragi <[EMAIL PROTECTED]> wrote: > Hello, > While trying to get rid of a memory leak in my program, I > tracked it down to this: > > ## > # > # import sys, gc > # from PyQt4.Qt import * > # > # cl

Re: [PyQt] Qt Designer + python plugins

2008-09-10 Thread Phil Thompson
On Tue, 09 Sep 2008 14:57:37 +0200, Marco Fabiani <[EMAIL PROTECTED]> wrote: > Hello, > > I discovered a strange behavior in Qt Designer's Property Editor when > using custom widget plugins written using PyQt (for example, starting > the example "plugins.py" in the PyQt examples collection > des

Re: [PyQt] qwizard

2008-09-10 Thread Phil Thompson
On Tue, 09 Sep 2008 14:32:17 +0300, Oguz Yarimtepe <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to write a GUI using QWizard. I have created the wizard > using designer and edited some parts by playing with the code. I also > added a progress bar and some related functions. I need to run a

[PyQt] advanced pyqt4 tutorial/sample

2008-09-10 Thread Rance Hall
I need some help finding a good sample app/tutorial with open source code so that I can study how to do some of the more advanced gui features. Im a techie by profession so the concepts arent new to me, but the syntax is and im stuck in how to mix some of the concepts correctly heres an example o

Re: [PyQt] QVariant bug(?)

2008-09-10 Thread Arve Knudsen
On Wed, Sep 10, 2008 at 8:31 PM, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Wed, 10 Sep 2008 15:07:57 +0200, "Arve Knudsen" <[EMAIL PROTECTED]> > wrote: >> I'm getting a really mysterious segfault now, triggered by this >> slightly modified case. Using the latest SIP/PyQt snapshots. > > I'm in t

Re: [PyQt] QVariant bug(?)

2008-09-10 Thread Phil Thompson
On Wed, 10 Sep 2008 15:07:57 +0200, "Arve Knudsen" <[EMAIL PROTECTED]> wrote: > I'm getting a really mysterious segfault now, triggered by this > slightly modified case. Using the latest SIP/PyQt snapshots. I'm in the middle of changing a few things at the moment. I'll send something to the list w

[PyQt] Reference leak in QListView.setModel?

2008-09-10 Thread dfragi
Hello, While trying to get rid of a memory leak in my program, I tracked it down to this: ## # # import sys, gc # from PyQt4.Qt import * # # class MyModel(QAbstractListModel): # def rowCount(self, parent): # return 5 # #

Re: [PyQt] QVariant bug(?)

2008-09-10 Thread Arve Knudsen
I'm getting a really mysterious segfault now, triggered by this slightly modified case. Using the latest SIP/PyQt snapshots. Arve On Wed, Sep 3, 2008 at 1:43 PM, Arve Knudsen <[EMAIL PROTECTED]> wrote: > On Wed, Sep 3, 2008 at 10:13 AM, Phil Thompson > <[EMAIL PROTECTED]> wrote: >> On Wed, 3 Sep

[PyQt] Re: Add "user" property to a widget

2008-09-10 Thread Alberto Berti
> "Alberto" == Alberto Berti <[EMAIL PROTECTED]> writes: Alberto> the binding operation. However, i think since pyqt Alberto> 4.4.4, the pyqtproperty decorator has a parameter for it: ops... it's pyqt 4.4.0 ___ PyQt mailing listPyQt@ri

Re: [PyQt] Re: Add "user" property to a widget

2008-09-10 Thread Arve Knudsen
Thanks, pyqtProperty was just the thing! Arve On Wed, Sep 10, 2008 at 11:58 AM, Alberto Berti <[EMAIL PROTECTED]> wrote: >> "Arve" == Arve Knudsen <[EMAIL PROTECTED]> writes: > >Arve> I need to have a "user" property for a widget, so it can be >Arve> fetched via its metaObject().userP

[PyQt] Re: Add "user" property to a widget

2008-09-10 Thread Alberto Berti
> "Arve" == Arve Knudsen <[EMAIL PROTECTED]> writes: Arve> I need to have a "user" property for a widget, so it can be Arve> fetched via its metaObject().userProperty(). This is Arve> required since the convention in Qt is to designate a "user" Arve> property of a widget for ed

[PyQt] Add "user" property to a widget

2008-09-10 Thread Arve Knudsen
I need to have a "user" property for a widget, so it can be fetched via its metaObject().userProperty(). This is required since the convention in Qt is to designate a "user" property of a widget for editing purposes (e.g., text() for QLineEdit). Now that I've explained my use case, how can I can de

[PyQt] How to add buttons to showMessage() in QSystemTrayIcon ?

2008-09-10 Thread Fatih Arslan
Hi, I'm developing a fronted for Synergy. I'm using intensive the showMessage() method of the QSystremTrayIcon. My application receives after some time some information, that will showed in the tray with this showMessage() Now i want that, if this message popup, there should be 2 buttons, like a