Qt-interest Archive, December 2006
Custom Widget in Designer: D&D ok, but not displayed ??
Message 1 in thread
Hello !
I have a strange problem, perhaps someone did have a such one.
I made a custom widget, designed with Designer, and inherited and
implemented properly. Works fine.
Now I want to integrate it in Designer. And I made it, and the plugin is
displayed on the left of designer and drag and drop on a Main Windows works
too. The problem ?
The Widget is not displayed when drag & dropped into the MainWindow. A
selection, with the size of my widget, is displayed, but nothing to see into
it ?!? So, what's up.. ?
--
[ signature omitted ]
Message 2 in thread
Nicolas Fête wrote:
> The Widget is not displayed when drag & dropped into the MainWindow. A
> selection, with the size of my widget, is displayed, but nothing to see
> into it ?!? So, what's up.. ?
This is usually related to the information about the custom widget that is
supplied by the plugin. If the property editor only shows the base classes
of your widget, it's a sign that Designer can't figure out what the widget's
class is.
Are you returning the name of the widget's class in the plugin's name()
function?
--
[ signature omitted ]