Hi Guillaume,
This was actually the first I've tried, without success. The mouseReleaseEvent is a known function of the QAbstractItem but it is never called. Probably QTreeView redefines the function that calls the mouseReleaseEvent function. -MP- On 07/08/15 17:36, Guillaume Baty wrote:
Hello, I think you can try to reimplement: QAbstractItemView::mouseReleaseEvent(QMouseEvent * event)
-- -- ---------------------------------------------------------------------------- -- Marc POINOT [ONERA/DSNA] Tel:+33.1.46.73.42.84 Fax:+33.1.46.73.41.66 -- Avertissement/disclaimer http://www.onera.fr/en/emails-terms -- ---------------------------------------------------------------------------- --
_______________________________________________ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside