Ui Designed file In Working, we can use Qt Designer to designe UI; Then, use uic -o head.h designe.ui to create ui_header.h file; When use this Ui, First, include head file, then namespace Ui { class Edit: public Ui_Form {}; } // namespace Ui QWidget…