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
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
*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
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.
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
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()
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
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
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
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
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:
>
> #!
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
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
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
14 matches
Mail list logo