You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Working on this began 2 day ago but failed to implement one.
I have duplicated a demo and re-configure it as a single project. For example, the simpleplot or dynamic plot can work well as a single project but shows memory violation error while I tried to display it inside a frame. Here is what I did
The object is declared as a member of TestGUI inheritted from QMainWindow
#include
#include "difplot.h" // given simply qwt3d plot things
Hello,
Working on this began 2 day ago but failed to implement one.
I have duplicated a demo and re-configure it as a single project. For example, the simpleplot or dynamic plot can work well as a single project but shows memory violation error while I tried to display it inside a frame. Here is what I did
The object is declared as a member of TestGUI inheritted from QMainWindow
#include
#include "difplot.h" // given simply qwt3d plot things
namespace Ui {
class TestGui;
}
class TestGui : public QMainWindow
{
Q_OBJECT
public:
explicit TestGui(QWidget *parent = 0);
~TestGui();
private:
Ui::TestGui *ui;
Qwt3D::GridPlot * oPlot;
};
#endif // TESTGUI_H
What I can do to show it in TestGui.cpp if the main.cpp given as
#include "testgui.h"
#include
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
TestGui w;
w.show();
return a.exec();
}
0
The text was updated successfully, but these errors were encountered: