diff options
Diffstat (limited to 'examples/opengl/overlay_x11/README')
-rw-r--r-- | examples/opengl/overlay_x11/README | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/overlay_x11/README b/examples/opengl/overlay_x11/README index d6afecfdc..1de87a43e 100644 --- a/examples/opengl/overlay_x11/README +++ b/examples/opengl/overlay_x11/README @@ -54,10 +54,10 @@ can put all kinds of TQt widgets (your own or those provided with Qt) on top of the OpenGL image (widget), e.g. pushbuttons etc., and they can be moved, resized, or removed without destroying the OpenGL image. -Using with geometry management: The QLayout classes will not allow you +Using with geometry management: The TQLayout classes will not allow you to put one widget (the overlay) on top of another (the OpenGL widget); that would defy the whole purpose of the automatic layout. The -solution is to add just one of them to the QLayout object. Have it +solution is to add just one of them to the TQLayout object. Have it keep a pointer to the other (i.e. the TQGLWidget knows about its overlay widget or vice versa). Implement the resizeEvent() method of the widget you put in the layout, and make it call setGeometry() on |