[PyQt] QTreeView DragDropMode

2012-04-02 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
I am looking at the documentation for QAbstractItemView Class. I have created a tree view and I would like it to accept drops from a different view, but also be able to move items within itself. None of the DragDropMode settings seem to allow that. If I set it to InternalMove it acts the way I

Re: [PyQt] Strange behavior with new-style signals and slots

2012-04-02 Thread michael h
> Message: 1 > Date: Sun, 01 Apr 2012 13:04:30 +0200 > From: Detlev Offenbach > To: pyqt@riverbankcomputing.com > Subject: [PyQt] Strange behavior with new-style signals and slots > Message-ID: <1362374.ZZnnlU3EYs@jupiter> > Content-Type: text/plain; charset="us-ascii" > > Hallo, > > I am observin

Re: [PyQt] SIP does not allow a %Property called 'name'

2012-04-02 Thread Phil Thompson
On Wed, 21 Mar 2012 17:14:43 +0200, Zvi Tarem wrote: > The following gives a syntax error in SIP: > > %Property(name=name, get=getName, set=setName) > > The following does work: > > %Property(name=Name, get=getName, set=setName) > > But then you get a Python property called 'Name', not 'name'.