On Dec 17, 2010, at 3:38 PM, Grant Limberg wrote:

> 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
> <cedrus_masthead_logo.jpg>
> 
> [email protected]
> http://www.cedrus.com/

I forgot to mention, that it also breaks the behavior of 
QWidget.isAncestorOf(), so I can't determine if any widgets inside this page of 
the QStackedWidget belong inside which QMainWindow instance.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to