Hi everybody =)
I'm trying to use Qt Designer to create the source for a couple of widgets, but the code I get is weird, like this:

Qt Code:
  1. QT_BEGIN_NAMESPACE
  2.  
  3. class Ui_generalWindow
  4. {
  5. public:
  6. QVBoxLayout *verticalLayout;
  7. QGroupBox *groupBox_2;
  8. QVBoxLayout *verticalLayout_3;
  9. QLabel *laberUser;
  10. QLineEdit *textUser;
  11. QLabel *labelAPI;
  12. QLineEdit *textAPI;
  13. QGroupBox *groupBox;
  14. QVBoxLayout *verticalLayout_2;
  15. QLabel *labelKey;
  16. QLineEdit *textKey;
  17. QLabel *labelEmail;
  18. QLineEdit *textEmail;
  19.  
  20. void setupUi(QWidget *generalWindow)
  21. {
  22. if (generalWindow->objectName().isEmpty())
  23. generalWindow->setObjectName(QString::fromUtf8("generalWindow"));
  24. generalWindow->resize(311, 258);
To copy to clipboard, switch view to plain text mode 

etc etc..
Now, while I get how this code works ( I think that object is kind of like an assembly line for my object ), I would prefer getting the code for the actual widget I designed.

How should I do?
Thanks in advance! =D