Re: [PyQt] Where to start

2011-06-03 Thread David Boddie
On Fri Jun 3 15:24:55 BST 2011, diego wrote: > [...] > def mouseMoveEvent(self, event): > > if event.button() == Qt.LeftButton: > [...] > > you check if the value retured by QMouseEvent.button() is Qt.LeftButton > but in > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qmousee

Re: [PyQt] Where to start

2011-06-03 Thread diego
I am trying to do is display an image, and then using drag-selection to select a sub-image for later processing. Eventually I want to be able to select multiple regions and tag each region for appropruate back end processing, but for now just being able to select one sub-image would be good. I

Re: [PyQt] Where to start

2011-06-02 Thread Brickle Macho
Hi David, Thanks that helps a lot, really appreciate it. Brickle. -- On 3/06/11 8:06 AM, David Boddie wrote: > On Thu Jun 2 23:07:12 BST 2011, Brickle Macho wrote: > >> I am trying to do is display an image, and then using drag-selection to >> select a sub-image for later processing. Eventual

Re: [PyQt] Where to start

2011-06-02 Thread David Boddie
On Thu Jun 2 23:07:12 BST 2011, Brickle Macho wrote: > I am trying to do is display an image, and then using drag-selection to > select a sub-image for later processing. Eventually I want to be able > to select multiple regions and tag each region for appropruate back end > processing, but for n

[PyQt] Where to start

2011-06-02 Thread Brickle Macho
Hi all, New to the PyQt, have basic application working. I have been working through Rapid GUI Programming with Python and Qt and have basic programs running. I am trying to do is display an image, and then using drag-selection to select a sub-image for later processing. Eventually I want to