You can get hints on how qt designer save/load the ui file...