Re: [PyQt] pyqt5.1 QWidget.childAt() exception

2013-10-06 Thread Stephen Gava
i've noted possible temporary workarounds for this issue in the related thread titled: Re: [PyQt] pyqt5.1 baffling exceptions: AttributeError: 'Qxx' object has no attribute 'QWidget' stephen. On 05/10/13 19:31, Phil Thompson wrote: On Fri, 04 Oct 2013 16:07:38 +1000, Stephen Gava

Re: [PyQt] pyqt5.1 QWidget.childAt() exception

2013-10-05 Thread Phil Thompson
On Fri, 04 Oct 2013 16:07:38 +1000, Stephen Gava elgua...@gmail.com wrote: i've found another puzzling (to me) difference in behaviour between pyqt5 and pyqt4. using pyqt4 this works without any problem:

[PyQt] pyqt5.1 QWidget.childAt() exception

2013-10-04 Thread Stephen Gava
i've found another puzzling (to me) difference in behaviour between pyqt5 and pyqt4. using pyqt4 this works without any problem: child_widget=self.parent_widget.childAt(self.parent_widget.mapFromGlobal(QCursor.pos())) returning the child widget under the cursor, which i can then use in