title: PyQt 4 - save all data in window to file on app close
body: <p>Is there a fast python way to save all data in all widgets to file before app is close?
  And of course read it and restore after app is re-run?</p>