There is a class

namespace Ui { class Base; } class Base : public QWidget { protected: Ui::Base* ui; public: explicit Base(QWidget* parent) :QWidget(parent), ui(new Ui::Base) { ui.setupUi(this); } } 

Well, respectively, somewhere in the base.ui file its interface is described. It is necessary to make a class that will inherit the interface of the Base class and it was possible to extend it in the designer.
How can I do that?

    1 answer 1

    If I understand the question correctly, then nothing. base.ui is just a description of the location of the widgets in xml format. When compiling, the uic utility generates C ++ code that places the widgets in the same way as you placed them in the designer.

    You can inherit the Base widget with its interface. You can edit and supplement this interface with your hands from code. But you cannot edit the heir widget in the designer.