Please Help,

I am a OpenGL and libQGLViewer newbie and am trying to execute what is probably a simple idea. I have a GUI built with Qt4.1.4 and would like the libQGLViewer widget to only execute the draw() method of the libQGLViewer widget when the user pushes a button (say QPushButton “display”). Does anyone know how to do this? The examples included with libQGLViewer execute the draw() method automatically.

Thanks in advance for any help or hints.