c0deland
30th November 2009, 13:46
Hello.
I have a problem with a simple application. I have a window with a few widgets in it including a QGLWidget. I want to make an animation in the glwidget but everytime I start it, I cannot access the other widgets.
I also tried with threads: I made a thread which increments a value and emits a signal when done. signal is connected to a glwidget class slot which draws the opengl object into the new position. Still, the application focuses on the opengl widget and cannot access other fuctions (widgets and menu items).
Any ideea how can I solve this? I want opengl widget to redraw separately from the other widgets.... currently redrawing with updateGL().
Thanks
I have a problem with a simple application. I have a window with a few widgets in it including a QGLWidget. I want to make an animation in the glwidget but everytime I start it, I cannot access the other widgets.
I also tried with threads: I made a thread which increments a value and emits a signal when done. signal is connected to a glwidget class slot which draws the opengl object into the new position. Still, the application focuses on the opengl widget and cannot access other fuctions (widgets and menu items).
Any ideea how can I solve this? I want opengl widget to redraw separately from the other widgets.... currently redrawing with updateGL().
Thanks