Svalorzen
28th June 2010, 22:47
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_BEGIN_NAMESPACE
class Ui_generalWindow
{
public:
QVBoxLayout *verticalLayout;
QGroupBox *groupBox_2;
QVBoxLayout *verticalLayout_3;
QLabel *laberUser;
QLineEdit *textUser;
QLabel *labelAPI;
QLineEdit *textAPI;
QGroupBox *groupBox;
QVBoxLayout *verticalLayout_2;
QLabel *labelKey;
QLineEdit *textKey;
QLabel *labelEmail;
QLineEdit *textEmail;
void setupUi(QWidget *generalWindow)
{
if (generalWindow->objectName().isEmpty())
generalWindow->setObjectName(QString::fromUtf8("generalWindow"));
generalWindow->resize(311, 258);
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
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_BEGIN_NAMESPACE
class Ui_generalWindow
{
public:
QVBoxLayout *verticalLayout;
QGroupBox *groupBox_2;
QVBoxLayout *verticalLayout_3;
QLabel *laberUser;
QLineEdit *textUser;
QLabel *labelAPI;
QLineEdit *textAPI;
QGroupBox *groupBox;
QVBoxLayout *verticalLayout_2;
QLabel *labelKey;
QLineEdit *textKey;
QLabel *labelEmail;
QLineEdit *textEmail;
void setupUi(QWidget *generalWindow)
{
if (generalWindow->objectName().isEmpty())
generalWindow->setObjectName(QString::fromUtf8("generalWindow"));
generalWindow->resize(311, 258);
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