You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: