[PyQt] QGraphicsView item select

Alfredo Junior junixrj at yahoo.com
Fri Apr 6 19:32:34 BST 2012

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 (simultaneously).
The moment I select a game in QTableWidget, it must be selected in QGraphicsView (if it exists) and vice versa.
I have no idea how can I do this.

The code: 

Bellow the image of my application:

Best regards,


More information about the PyQt mailing list