[Qt-interest] Designer plugins and "Promoted Widgets"
Friedemann Kleint
Friedemann.Kleint at nokia.com
Fri Aug 27 16:24:20 CEST 2010
Hi Giacomo,
> 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?
This is currently not possible since promoted widgets and custom widgets are
two sides of a coin:
If Designer finds a plugin, it creates the custom widget using its factory
method. If it cannot find the plugin, it treats the widget as promoted from the
base class (which then must be one of the available Qt widgets).
Thus, you cannot further promote custom widgets.
Regards,
Friedemann
--
Friedemann Kleint
Nokia, Qt Development Frameworks
More information about the Qt-interest-old
mailing list