[PyQt] property support?

Diez B. Roggisch deets at web.de
Fri Aug 17 16:34:27 BST 2007


Hi,

is there any existing or planned property-support? I've got a class that 
essentially looks like this:

class Foo {
public:
    SomeType Name[Size];
};


So the Name-property is part of the public API. I'd like to access that 
using

foo_instance.Name

instead of introducing a getter/setter-pair. Any suggestions?

Regards,

diez


More information about the PyQt mailing list