<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<p style="box-sizing: border-box; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: "Titillium Web"; font-size: 14px;">
Hello,</p>
<p style="box-sizing: border-box; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: "Titillium Web"; font-size: 14px;">
I have been porting a PyQt4 application to use PyQt5. Everything seems to work fine apart from one thing: setHandlesChildEvents is now obsolete with QGraphicsItemGroup meaning I can no longer pick up on click events on my items within a group.</p>
<p style="box-sizing: border-box; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: "Titillium Web"; font-size: 14px;">
What is the alternative approach with PyQt5? I have tried replacing it with self.MyGroup.setFiltersChildEvents(False) but this has no effect.</p>
<p style="box-sizing: border-box; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: "Titillium Web"; font-size: 14px;">
Thanks for any guidance,</p>
<p style="box-sizing: border-box; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: "Titillium Web"; font-size: 14px;">
Jimbo</p>
<br>
<p></p>
</div>
</body>
</html>