diff options
author | Michele Calgaro <[email protected]> | 2024-08-16 19:11:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-08-16 19:11:00 +0900 |
commit | 82ecd83484c9fa1ede059986ab771e74e33e68ef (patch) | |
tree | d0e76f19632bb02fc55028625bdb903902e1bac1 /examples/opengl/overlay_x11 | |
parent | c55ef27a2c511c29a8a82d00bd2ede1fb02cfa41 (diff) | |
download | tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.tar.gz tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.zip |
Rename layout nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/opengl/overlay_x11')
-rw-r--r-- | examples/opengl/overlay_x11/README | 4 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/overlay_x11.doc | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/examples/opengl/overlay_x11/overlay_x11.doc b/examples/opengl/overlay_x11/overlay_x11.doc index 844621779..990795a16 100644 --- a/examples/opengl/overlay_x11/overlay_x11.doc +++ b/examples/opengl/overlay_x11/overlay_x11.doc @@ -59,10 +59,10 @@ can put all kinds of TQt widgets (your own or standard TQt widgets) on top of the OpenGL image (widget), e.g. pushbuttons etc., and they can be moved, resized, or removed without destroying the OpenGL image. -\i \e{Using with geometry management.} The QLayout classes don't permit +\i \e{Using with geometry management.} The TQLayout classes don't permit putting 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 +The 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 |