[solved] Promoting with preview
General and Desktop
3
Posts
3
Posters
1.6k
Views
1
Watching
-
[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