[PyQt] Page of QStackedWidget showing up in QApplication.topLevelWidgets()
Grant Limberg
glimberg at cedrus.com
Fri Dec 17 23:38:22 GMT 2010
I'm having an issue in finding the top level widgets of my application. When I call QApplication.topLevelWidgets(), one of the pages that I have in a QStackedWidget is showing up in the list of top level widgets. Also, if I try to call parentWidget() on the page of the QStackedWidget showing up in the topLevelWidgets list, it returns None. I've examined the code created by pyuic4 and everything seems in order.
I attempted to make a minimal example showing the error but was unsuccessful. Does anyone know what could possibly cause this behavior?
Thanks in advance,
Grant Limberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cedrus_masthead_logo.jpg
Type: image/jpeg
Size: 14398 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101217/18cdbebc/attachment.jpg>
-------------- next part --------------
glimberg at cedrus.com
http://www.cedrus.com/
More information about the PyQt
mailing list