Using Python and PyQt4, given a GUI with any number of QToolBar objects and each toolbar contains any number of QAction objects.
I can iterate the ui with the following code and find the toolbars:
for name, obj in inspect.getmembers(ui):
if isinstance(obj, QToolBar):
print "toolbar =",name
How can I iterate each toolbar object and find the QAction objects. I will then read the QActions to determine which are "checked". I am not using QActionGroups.