Hi,
sorry maybe I don't make things clear enough.

As far as I understud if I setup a new class which inherit from a widget class I have to write a plugin for designer to use this class in the designer. This is only efficient if you reuse this class serveral times. (not ony onetime)

Quote Originally Posted by stampede View Post
After I setup a gui with Qt designer, I switch to code editor in order to implement the functionality ( add methods to some of the used widgets ).
And if you have to change the layout all the work is gone because this file is overwritten by the designer. So that seem not to be a good choice to me.

Quote Originally Posted by SixDegrees View Post
Or, you can perform the inheritance step offline, then use Designer's promotion feature to include your custom widget in the layout. It won't display any custom functionality like signals or slots you might have implemented, but it'll appear in the layout and the generated code will use the correct class.
That sounds like it is what i'm looking for. Can you please tell me where I find a howto about this promotion feature.

Thanks

dexli