[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]
    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

  • You'll need to create a QtDesigner widget plugin. How to do that is described here

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.