Does anyone know if the Qt Toolkit supports a way to generate Ui files from a given QWidget instance? Speaking in pseudo code, I am looking for something like this:
QWidget* pMyWidget=new QWidget(...);
pMyWidget->layout()->addWidget(new QLabel(...));
...
pMyWidget->exportToUiFile(QString("/some/path/to/filename.ui"));
Alternatively: does anyone know a tool capable of doing this? thanks in advance, Axel
source
share