Details
Description
Hi,
Within a PySide2 environment, we couldn't access an already existing method indexOfTopLevelItem under QTreeWidget. A simple python snippet:
from PySide2 import QtGui
a = QtGui.QApplication( [] )
w = QtGui.QTreeWidget()
w.indexOfTopLevelItem
throws
Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'PySide2.QtWidgets.QTreeWidget' object has no attribute 'indexOfTopLevelItem'
Is this something that has been missed during migration or should we be using some other new method we are not aware of?
Skimming through the project tree noticed in the xml wrapper that the non-const method has been marked as internal and the const method has been marked as "remove=all". Not sure what these mean though.
The version of PySide2 is from Autodesk's Maya 2017. If I do PySide2._version_ I get '2.0.0~alpha0'
Any insight will be helpful.
Thanks,
Sundar
Attachments
Issue Links
- is required for
-
PYSIDE-487 Meta task for missing bindings
- Open