[PyQt] List of childrens in QDialog by name?

2009-02-26 Thread Sergio Daniel Gomez
How can I access to children's attibutes of a QDialog? dlgBuscar = QtGui.QDialog() dlgGui = Ui_Dialog() # Made with QtDesigner and pyuic4 dlgGui.setupUi(dlgBuscar) if dlgBuscar.exec_() == QtGui.QDialog.Accepted: for child in dlgBuscar.children(): print child # Return the a object

Re: [PyQt] List of childrens in QDialog by name?

2009-02-26 Thread Sergio Daniel Gomez
Sergio Daniel Gomez escribió: How can I access to children's attibutes of a QDialog? dlgBuscar = QtGui.QDialog() dlgGui = Ui_Dialog() # Made with QtDesigner and pyuic4 dlgGui.setupUi(dlgBuscar) if dlgBuscar.exec_() == QtGui.QDialog.Accepted: for child in dlgBuscar.children(): print