Skip to content

Properties shadowing methods and missing functions #42

Open
@fbordignon

Description

@fbordignon

Hi all,
I am new to the concept of pythonqt and find it fascinating. Great work!
I am working from the python side, so please keep that in mind.

I am trying to access QGraphicsWidget layout property from python but apparently cannot.
When I set it via setLayout(), it seems to work, but retrieving it is not working. I always get None from QGraphicsWidget.layout
The method layout() is not available, which if I understand correctly, the philosophy of pythonqt is to expose the property to be able to atribute a value to it from python and python methods cannot have the same name as properties.
But if I instantiate and do obj.layout = QGraphicsGridLayout() I get an error that layout is a pointer and cannot receive an object.
Can someone comment on this issues and help me understand it better? I am willing to help but I there are some things about python that I do not fully understand yet.

Other issues I've encountered
missing function: QMetaObject has no connectSlotsByName
Operators are not accessible via python. Example: QDataStream >>operator

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions