[solved] Promoting with preview
-
Hello
Is it possible to create a custom widget and in qt designer promote a widget to it so that a preview of the custom widget is shown in the qt designer? This would easy the design process. Thanks- Richard
-
[quote]
Hello
I’m wondering it it’s possible to display a preview of the custom class when promoting a widget?
E.g. I I make a widget consisting of standard components, let’s say two pushbuttons, can I have
the Qt creator (design mode) displaying this when promoting a widget to this custom class?
Best regards
Richard
[/quote] -
You'll need to create a QtDesigner widget plugin. How to do that is described here
http://qt-project.org/doc/qt-4.8/designer-creating-custom-widgets.html