此外, QFormBuilder class provides the possibility of constructing user interfaces from UI files at run-time.
To use Qt Designer classes,add this directive into the C++ files:
#include <QtDesigner>
To link against the Qt Designer module, add this line to the project file:
CONFIG += designer
These articles contain information about Qt Designer.
These are links to the API reference material.