Newest 'qopenglwidget' Questions - Stack Overflow

Questions tagged [qopenglwidget]

The tag has no usage guidance.

-1
votes
0answers
45 views

How to add axis hint in QOpenGLWidget in Qt5 / PyQt5?

I am doing a project in which I am creating a GUI in Qt5 and for the OpenGL rendering, I have QOpenGLWidget. What I want here, I want to add axis hint in my OpenGLWidget like other software as Blender ...
3
votes
0answers
82 views

Is it possible to have a transparent QMainWindow and QOpenGLWidget with an opaque child toolbar?

I would like to have an opaque QWidget in a transparent QMainWindow. The QMainWindow's centralWidget contains a QWidget and a QOpenGLWidget in a vertical layout. The QOpenGLWidget is drawing correctly ...
0
votes
0answers
21 views

how to speedup when using QOpenGLWidget class to show point cloud?

when I use the qopenglwidget to show ply file, found the interface feedback with low efficiency when performing a mouse event.
0
votes
1answer
43 views

Qt QOpenGLWidget crash when call glewInit() with error : Missing GL version

I use Qt to create a 3D program with GLEW. I have a problem when I call glewInit() from run-time creating Widget. I create an inherited class , MyRender, based on QOpenGLWidget. Then, implemented ...
0
votes
0answers
84 views

QOpenGLWidget draw line sometimes invisible or bold

I'm subclassing QOpenGLWidget for drawing a crosshair follow mouse. But drawing in QOpenGLWidget is little weird. The horizontal line could disappear or be bold in some height while I moving the mouse ...
0
votes
0answers
25 views

Text dissapears on QOpenGLWidget after undocking

I'm trying to integrate Qt5 and OpenSceneGraph. I've found this minimal example of embedding. When I encapsulate the widget, defined in the example, into a QDockWidget and add a simple text label to ...
2
votes
1answer
63 views

What is the performance difference between QOpenGLWindow and QOpenGLWidget?

I have been looking into the two classes QOpenGLWindow and QOpenGLWidget. And in the documentation of QOpenGLWindow it states: "Unlike QOpenGLWidget, QOpenGLWindow has no dependency on the widgets ...
0
votes
1answer
35 views

QOpenGLWidget in new window

I have a simple UI with a button, after pressing the button I should open a new window where OpenGL stuff should be drawn. I'm trying to do this with QOpenGLWidget but the InitializeGL() and paintGL() ...
1
vote
1answer
133 views

Qmatrix4x4 translate does not take any effect

I didn't have a lot experience in opengl, so excuse me if the question is silly. I'm trying to move triangle with the mouseMoveEvent by translating Qmatrix4x4 field in my class glView. When i did not ...
0
votes
0answers
29 views

Qt brother window refresh causes efficiency

I have a parent window that has a QStackedLayout layout, using QStackedLayout::All mode, with a QOpenGlWidget at the bottom to render the video. The top layer is a custom QWidget C that rewrites the ...
1
vote
0answers
57 views

Child class of QOpenGLWidget with shared context

I have a QOpenGLWidget class: #ifndef GLWIDGET_H #define GLWIDGET_H #include <QOpenGLWidget> #include <QOpenGLFunctions> #include <QOpenGLVertexArrayObject> #include <...
0
votes
0answers
52 views

QOpenGLWidget in QTabWidget slows MouseMoveEvent

For a kind of CAD application I first create a QWidget (intended as a 2D editor) with mouse tracking enabled in a tab of QTabWidget. Drawing and moving lines is super fast as expected. Next I create ...
0
votes
1answer
43 views

Qt Button Group over OpenGLWidget

I am designing a user interface with Qt Creator. I have a openGLwidget which covers all the form and I want to place some buttons aligned to bottom and some kind of notification frames over the widget....