Hello!
Sorry for my English in advance
I will have class "Graph" in the file "Graph.h". I want to have a widget which I can "Promote to ..." from Qt Designer, like in the picture:
279.png
Must I inherit QwtPlot and QWidget? How to show the plot?
Qt Code:
#ifndef GRAPH_H #define GRAPH_H #include <QWidget> #include <qwt_plot.h> { public: Graph() { } }; #endif // GRAPH_HTo copy to clipboard, switch view to plain text mode
Bookmarks