In the dialog class add a member of your QwtPlot subclass and cast the Ui QwtPlot widget from the dialog to your custom widget. Use this custom widget throughout the app, instead of the Ui member.
This is almost identical to promoting to custom widget ,except that ui_xxx.cpp will know nothing about your custom class. Nothing wrong with that, in my opinion...
Regards
Bookmarks