I am trying to get a right click context menu working in a UI
self.treeView = QTreeView()
self.treeView.setContextMenuPolicy(Qt.CustomContextMenu)
self.treeView.customContextMenuRequested.connect(self.openMenu)
self.openMenu is a small menu that should open when right clicked on a
tree item, but nothing is executed.
any suggestions where to start looking
--
Todd Widup
Creature TD / Technical Artist
[email protected]
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CABBPk35Qzm9%2Bhs3TKHiQkWXUCN45N2rgz%3DM5ApYT-KwytsDNYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.