Hello, I would like to pop up a menu on items in QTreeView. I decided to intercept pressed(const QModelIndex&) signal, because contextMenuEvent doesn't provide information about the tree view chosen index. However, inside the slot for this signal I cannot acces position of the mouse (no event) and decide, where to pop this menu. I tried browsing QApplication class, but found no information about the global mouse position (though there is global information about buttons pressed). Is there anyway to obtain it and popup menu in the right place?
-- Filip Gruszczyński _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt