Dear Friends
Qt Code:
class COptWidget : public QWiget { Q_OBJECT public: COptWidget(SomeOtherClass *parent=0); ~COptWidget(); }; COptWidget *plotopt = new COptWidget(pointerToSomeOtherClass); curPlot->addWidget(plotopt); curPlot->setCurrentWidget(plotopt);To copy to clipboard, switch view to plain text mode
But with this I am not able to see the plot what am I missing here. Application crashed at curPlot->addWidget(plotopt);
Bookmarks