title: Why QFormBuilder save BAD *ui files?
body: <p>Note: The question from <a href="http://www.qtcentre.org/threads/31327-QFormBuilder-save-BAD-" rel="nofollow">http://www.qtcentre.org/threads/31327-QFormBuilder-save-BAD-</a></p>
  
  <p>I create in QtDesigner standart QWidget and add standart widgets (QPushButtons, QLineEdit and etc.)
  Then save it to "formIn.ui" file. Next, load and save it with QFormBuilder in "formOut.ui" BUT size of dest file ("formOut.ui") more then 126kb!!!!
  Scr file "formIn.ui" created with QtDesigner is 2kb only!!! Also then I open "formOut.ui" in QtDesigner it's opened incorrect!</p>
  
  <p>It's trouble me! May be some people know how to solve it?</p>
  
  <pre><code>QFormBuilder fb;
  QFile fileIn("c:/formIn.ui"); //file created in Qtdesigner
  QFile fileOut("c:/formOut.ui");
  
  bool isOk =false;
  isOk = fileIn.open(QIODevice::ReadOnly);
  isOk = fileOut.open(QIODevice::ReadWrite);
  
  QWidget *w = fb.load(&amp;fileIn, 0);
  fb.save(&amp;fileOut, w);
  </code></pre>