[PyQt] Type casting

Phil Thompson phil at riverbankcomputing.com
Tue Mar 31 16:09:41 BST 2009


On Tue, 31 Mar 2009 07:49:00 -0700 (PDT), Rendezvous
<junk_and_mail at yahoo.com> wrote:
> How does one type cast in PyQt4? For example, a QObject to a QAction?

Why would you ever need it? PyQt will return a QAction if the C++ instance
is a QAction.

Phil


More information about the PyQt mailing list