Re: [PyQt] linking listwidget with Qgraphicsview

2009-03-11 Thread Matt Smith
Okay I wrote a short script, the code you sent is missing the connection, plus I don't know what "addPixmap" is, so here is a small version of what I think you are trying to do. If you aren't sublcassing the QGraphicsView, you can do the same thing I am doing via the .scene() to get the QGraphic

Re: [PyQt] linking listwidget with Qgraphicsview

2009-03-11 Thread klia
et.html > >> Message: 2 >> Date: Tue, 10 Mar 2009 05:49:35 -0700 (PDT) >> From: klia >> Subject: [PyQt] linking listwidget with Qgraphicsview >> To: pyqt@riverbankcomputing.com >> Message-ID: <22433529.p...@talk.nabble.com> >> Content-Type: text/plain

Re: [PyQt] linking listwidget with Qgraphicsview

2009-03-10 Thread Matt Smith
gt; Subject: [PyQt] linking listwidget with Qgraphicsview > To: pyqt@riverbankcomputing.com > Message-ID: <22433529.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > hey guys; > > in my application i have Listwidegt and Qgraphics view beside t

[PyQt] linking listwidget with Qgraphicsview

2009-03-10 Thread klia
hey guys; in my application i have Listwidegt and Qgraphics view beside to each other in the interface, my intension is after i list my photos in the listwidget, i want that whenever i click on the photo on listwidget it will be displayed on the graphics view... Any idea on how to do that? here