Hi everybody,
has anyone created a container widget in a designer plugin? I mean creating a plugin that when overiding the QWidgetPlugin::isContainer() returns true? I have created a widget that just inherits QDialog and nothing else, the plugin gets integrated nicely but the resulting widget is not editable from the designer. All the custom widgets, that are not container widgets, I have plugged into designer are working nicely.
Don't make widgets that inherit QDialog. What's the point of doing that anyway? Have you tried inheriting QWidget instead?
Originally Posted by MrGarbage
I just posted a similar question. My container widget does allow me to drop controls
onto it so I have that much. It does not appreciate an attempt to place those controls
into a layout though...
Don't make widgets that inherit QDialog. What's the point of doing that anyway? Have you tried inheriting QWidget instead
Yeap, QWidget worked . In the doc examples the one available for custom container widgets does inherit from QDialog. Anyway I don't really care QWidget is enough for my plugin.
I love deadlines. I like the whooshing sound they make as they fly by.
--
Douglas Adams
Bookmarks