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
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,
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] QGrap
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
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
_006.png
Thanks.
- Original Message -
From: Andreas Pakulat
To: "pyqt@riverbankcomputing.com"
Cc:
Sent: Wednesday, April 11, 2012 3:50 AM
Subject: Re: [PyQt] QGraphicsView item select
On 10.04.12 20:05:19, Alfredo Junior wrote:
> Thank you for your help.
>
> But I can
On 10.04.12 20:05:19, Alfredo Junior wrote:
> Thank you for your help.
>
> But I can't make something like that.
>
> In my example only tableWidget works:
>
> class Init(QtGui.QMainWindow):
> def __init__(self):
> super(Init, self).__init__()
> self.initUI()
> def initUI(
o: pyqt@riverbankcomputing.com
Cc:
Sent: Saturday, April 7, 2012 7:05 AM
Subject: Re: [PyQt] QGraphicsView item select
On 06.04.12 11:32:34, Alfredo Junior wrote:
> Hi people,
>
> I am writing a PyQt application.
> There is a sqlite database where I store data collected from the mame
> g
On 06.04.12 11:32:34, Alfredo Junior wrote:
> Hi people,
>
> I am writing a PyQt application.
> There is a sqlite database where I store data collected from the mame
> games(mamedev.org).
> I created a QGraphicsView with the screens of the games.
> Also created a QTableWidget with information ab
Hi people,
I am writing a PyQt application.
There is a sqlite database where I store data collected from the mame
games(mamedev.org).
I created a QGraphicsView with the screens of the games.
Also created a QTableWidget with information about the games.
Now, I need these items to be selectable (s
12 matches
Mail list logo