Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Alfredo Junior
Hey guys, The Vincent solution was ok! Now it works very fine. Thank you. Alfredo - Original Message - From: Vincent Vande Vyvre To: pyqt@riverbankcomputing.com Cc: Sent: Wednesday, April 11, 2012 12:11 PM Subject: Re: [PyQt] QGraphicsView item select Le 11/04/12 17:00, Andreas Pakul

Re: [PyQt] QDialog Form Show Possible Race Condition?

2012-04-11 Thread John V. Busch
Thank you both for your help. I have fixed this, it seems it was in fact a simple case of scope. I now define newServiceForm as a member of the class that I am working in. Doing this and refering to newServiceForm as self.newServiceForm has corrected my issue. Thanks again! Regards, John V. Bus

[PyQt] Netbeans IDE integrated with Qt Designer(Projects using PyQT)

2012-04-11 Thread Ivanelson Nunes
*Projects using PyQt. * * * Someone using the IDE Netbeans integrated with Qt Designer? Same as is done in Project C/C ++ in NetBeans. * * If yes, can share the solution of integration or is plugin? * * * * *Thank!* ___ PyQt mailing listPyQt@riverbank

Re: [PyQt] QDialog Form Show Possible Race Condition?

2012-04-11 Thread sole
Quoting Andreas Pakulat : On 11.04.12 12:26:09, John V. Busch wrote: I have a bug that only occurs when I am NOT debugging. I am very new to pyQT, so please forgive if this is something obvious. The following code is called from another QDialog class upon a particular button click.

Re: [PyQt] QDialog Form Show Possible Race Condition?

2012-04-11 Thread Andreas Pakulat
On 11.04.12 12:26:09, John V. Busch wrote: > I have a bug that only occurs when I am NOT debugging. > > I am very new to pyQT, so please forgive if this is something obvious. > > The following code is called from another QDialog class upon a particular > button click. > > newServiceF

[PyQt] QDialog Form Show Possible Race Condition?

2012-04-11 Thread John V. Busch
I have a bug that only occurs when I am NOT debugging. I am very new to pyQT, so please forgive if this is something obvious. The following code is called from another QDialog class upon a particular button click. newServiceForm = QDialog() newServiceUI = Ui_Dialog()

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Vincent Vande Vyvre
Le 11/04/12 17:00, Andreas Pakulat a écrit : > On 11.04.12 16:13:09, Vincent Vande Vyvre wrote: >> You'll be more easy if you subclass your QGraphicsPixmapItem. >> >> Example: the item can return his index, or name or identifier, etc. > This example will still not emit a selection-change signal so

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Andreas Pakulat
On 11.04.12 16:13:09, Vincent Vande Vyvre wrote: > You'll be more easy if you subclass your QGraphicsPixmapItem. > > Example: the item can return his index, or name or identifier, etc. This example will still not emit a selection-change signal so won't help the OP at all. No idea what you're tryi

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Alfredo Junior
Thank you Vincent. I'll try right now.   Alfredo - Original Message - From: Vincent Vande Vyvre To: pyqt@riverbankcomputing.com Cc: Sent: Wednesday, April 11, 2012 11:13 AM Subject: Re: [PyQt] QGraphicsView item select Le 11/04/12 15:46, Alfredo Junior a écrit : > OK, I'll try. > > Th

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Vincent Vande Vyvre
Le 11/04/12 15:46, Alfredo Junior a écrit : > OK, I'll try. > > Thank you. > > - Original Message - > From: Andreas Pakulat > To: "pyqt@riverbankcomputing.com" > Cc: > Sent: Wednesday, April 11, 2012 10:28 AM > Subject: Re: [PyQt] QGraphicsView item select > > On 11.04.12 06:02:09, Alfre

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Alfredo Junior
OK, I'll try. Thank you. - Original Message - From: Andreas Pakulat To: "pyqt@riverbankcomputing.com" Cc: Sent: Wednesday, April 11, 2012 10:28 AM Subject: Re: [PyQt] QGraphicsView item select On 11.04.12 06:02:09, Alfredo Junior wrote: > OK. > > This is a functional example: > > #!

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Andreas Pakulat
On 11.04.12 06:02:09, Alfredo Junior wrote: > OK. > > This is a functional example: > > #!/usr/bin/python > # -*- coding: utf-8 -*- > > import sys > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > def itemSelected(self): >     print "Selection changed" >      > app = QApplication(sys

Re: [PyQt] QGraphicsView item select

2012-04-11 Thread Alfredo Junior
OK. This is a functional example: #!/usr/bin/python # -*- coding: utf-8 -*- import sys from PyQt4.QtCore import * from PyQt4.QtGui import * def itemSelected(self):     print "Selection changed"      app = QApplication(sys.argv) grview = QGraphicsView() scene = QGraphicsScene() scene.addPixmap(Q

[PyQt] Signals arriving after proxy slots deleted

2012-04-11 Thread Andrew Suffield
I've been having grief with a class of problems that looks like this valgrind error: ==28760== Invalid write of size 4 ==28760==at 0x6C26DED: PyQtProxy::unislot(void**) (in /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so) ==28760==by 0x6C26EC1: PyQtProxy::qt_metacall(QMetaObject::Call, i