I remember when messing around with Qt seeing something where it was like
class MyForm : QDialog
{
}
Instead of
class MyForm
{
void SetupUi(QDialog* dialog);
}
How do you generate the inherited form?
I remember when messing around with Qt seeing something where it was like
class MyForm : QDialog
{
}
Instead of
class MyForm
{
void SetupUi(QDialog* dialog);
}
How do you generate the inherited form?
It is the new and only way to setup your UI since Qt 4.0. Like it or not, you can always alter the generated code before building.
Here's an article on porting .ui files to Qt 4.x - http://qt.nokia.com/doc/4.0/porting4-designer.html.