Quote Originally Posted by mingodad View Post
I don't agree with the answer to this question !

It's perfectly valid to want promote the top most widget, scenario:

We are designing several forms/dialogs and want all of then inherit from the basicFormDialog where we can insert all the common code and settings.

I'm looking for this functionality too and hope that it can be enabled in future versions of QTCreator !
Promoting a widget doesn't yield any benefits other than forcing uic to generate code for the promoted widget instead of its superclass. Bearing the fact that uic doesn't create the top-most widget, promoting it doesn't make any sense, the code generated by uic would be identical with the only exception that setupUi() would have a different argument type which would give no additional value considering the presence of inheritance in C++ where you can pass a subclass to a function that expects a superclass.

Also the promoting idea should be usable with layouts too !
I'm not sure how promoting a layout would work... I could understand a layout plugin but promoting a layout...?