For example, In QtDesigner, I dragged a generic Widget (called it "graphWidget"), then promoted it from its baseclass of QWidget to my own class "PlotWidget"