hi,
uic generate code like this:

Qt Code:
  1. class Ui_MainWindow
  2. {
  3. // auto-generated stuff
  4. };
  5.  
  6. namespace Ui {
  7. class MainWindow: public Ui_MainWindow {};
  8. }
To copy to clipboard, switch view to plain text mode 

why not like this?
Qt Code:
  1. namespace Ui {
  2. class MainWindow
  3. {
  4. // auto-generated stuff
  5. };
  6. }
To copy to clipboard, switch view to plain text mode 

Is the latter more clearly and simply?