Hello everyone,
I can't figure out how to attach a maya popupMenu to a QlistWidget (or QlistView).
It works fine when i attach it to a QFrame for example, but nothing append when calling it on a QlistWidget.
My Pointer to the QlistWidget seems fine to me as it print |||testListWidget (and ||frame0 when attaching on a QFrame, and working inside hat Qframe).
self.listWdtPointer = long(shiboken2.getCppPointer(self.listWdt)[0])
self.listWdtPointerFullPathName = omui.MQtUtil.fullName(self.listWdtPointer)
print self.listWdtPointerFullPathName ----> |||testListWidget
cmds.popupMenu(mm=True,parent=self.listWdtPointerFullPathName)
cmds.menuItem(rp='N',l='Test')
Has anyone ever experienced that issue ?
Thanks