[PyQt] Python properties on virtual methods

Phil Thompson phil at riverbankcomputing.com
Tue Apr 21 16:20:08 BST 2015


On 21/04/2015 4:12 pm, Alessandro Pasotti wrote:
> Hi,
> 
> I noticed that if I create a property() alias on a virtual method, the
> alias will always call the base class method instead of the concrete
> instance method.
> 
> Is this the expected behaviour?
> Is it documented somewhere?
> 
> Here using PyQt4 4.8.5 and python 2.7, SIP should be 4.15.5

A simple, complete example that demonstrates the problem would help.

Phil


More information about the PyQt mailing list