Unsolved The graph drawn by QGLWidget is duplicated to other widget of itself.
-
I made two widgets on one window as above. They are child widget of QGLWidget such that
#ifndef MYGLWIDGET_H #define MYGLWIDGET_H #include <QGLWidget> #include <QtSql> #include "conndb.h" class QWheelEvent; class MyGLWidget : public QGLWidget { Q_OBJECT public: explicit MyGLWidget(QWidget *parent = 0); ~MyGLWidget(); ....
As you seen the pictures, I draw a graph on A, not B. Then, if I do other actions like pressing other button or tab ley,... , then the graph in A is copied to B of itself. I don't know the reason of this phenomenum. Could you expain this?
Edit: Added code tags -- @Wieland
-
Hi! Maybe the same bug as in this thread: https://forum.qt.io/topic/71826.