[PyQt] List of childrens in QDialog by name?
Sergio Daniel Gomez
sergiogomez at tostado.com.ar
Thu Feb 26 13:41:44 GMT 2009
How can I access to children's attibutes of a QDialog?
dlgBuscar = QtGui.QDialog()
dlgGui = Ui_Dialog() # Made with QtDesigner and pyuic4
if dlgBuscar.exec_() == QtGui.QDialog.Accepted:
for child in dlgBuscar.children():
# Return the a object list, ok.
#print the text in the QLineEdit, but access by index. I need access by
object name. How?
Sergio D. Gómez
More information about the PyQt