QWidget casts with PyQt?

Stefan Quandt squan at web.de
Wed Feb 18 06:04:27 EST 2004


Hi,

I want to access widgets from a Qt container widget e.g.
  item = ToolBox.item( 0 )

I know that the item is a QButtonGroup.
The Qt-Library returns a QWidget pointer.
So what I get is a Python QWidget wrapper object.

How can I access the returned item as what it is (as a QButtonGroup)?

Stefan



More information about the Python-list mailing list