[Qt-interest] Designer plugins and "Promoted Widgets"

Giacomo S. giacomo.strangolino at elettra.trieste.it
Fri Aug 27 12:16:00 CEST 2010


Hi to all.

I wrote some Qt4 designer plugins that implement some custom widgets
used in my organization.

Often I extend their classes.

When designing an application with the Qt4 designer, I would like to add
my custom widget to a project and to "Promote" the custom widget to the
reimplemented version with the "Promoted Widgets" feature.

The problem is that the widget added from the "Widget Box" implemented
in the plugin is not present as base class in the combo Box of the Qt4
designer named "Base Class Name".

I have to add a simple QWidget and promote it to my reimplemented custom
widget.

Is there any possibility to tell the Qt4 designer plugin to add my
CustomClass to the base classes so that I can promote to another widget
starting from my CustomClass?

It would be a very nice feature...

Thanks in advance,

Giacomo.




More information about the Qt-interest-old mailing list