Its keyword : "explicit deletion"! See my last post again, and in fact, it was written with explicit deletion to the UI form instance.
: QWidget(parent), ui(new Ui::SampleWidgetClass)
A reason of these approach is the scalability. For more detail, read the thread archives of QtCreator's mail list, title : "[Qt-creator] Multiple Iheritance".