Actually, might it be a problem that the QLayout object was created by C(++)? Wouldn't that mean any manipulation is impossible?
Because if I translate this: http://developer.qt.nokia.com/faq/an...ialog_instance line-by-line, it's not working either:
Qt Code:
  1. import sys
  2. from PyQt4 import QtCore,QtGui
  3.  
  4. app = QtGui.QApplication(sys.argv)
  5. box = QtGui.QFileDialog()
  6. button = QtGui.QPushButton(box)
  7. button.setText("New button")
  8. layout = box.layout()
  9. layout.addWidget(button, 0, 0)
  10. box.show()
  11. sys.exit(app.exec_())
To copy to clipboard, switch view to plain text mode 
(Actually, is line 8 correct? I don't speak C++)

Regards, Xaver