I have a widget made in QtDesigner, I use it in a standard for this class, everything works, except one tiny problem. I want to catch mouse events:<br><br>def mousePressEvent(self, event):<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print &#39;test&#39;<br>
<br>It works if I click mouse on the widget, but only if the cursor is on the widget &quot;background&quot; - and I want it to work when I click something on QListWidget (self.ui.items) that is on that custom widget (self.ui).<br>