diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-03-05 20:59:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-03-05 20:59:01 -0600 |
commit | dfb87398c72e9248aa709ae212e6ab7f2209003d (patch) | |
tree | 52422e7b6774fcc503d7c701cb2c77fa016386e8 /examples/opengl | |
parent | 891a448afad4ab1f09bfb0cfee71652975bd7687 (diff) | |
download | tqt3-dfb87398c72e9248aa709ae212e6ab7f2209003d.tar.gz tqt3-dfb87398c72e9248aa709ae212e6ab7f2209003d.zip |
Automated update from Qt3
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/box/README | 2 | ||||
-rw-r--r-- | examples/opengl/box/box.doc | 2 | ||||
-rw-r--r-- | examples/opengl/overlay/README | 2 | ||||
-rw-r--r-- | examples/opengl/overlay/overlay.doc | 2 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/README | 10 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/README.X11-OVERLAYS | 8 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/overlay_x11.doc | 10 |
7 files changed, 18 insertions, 18 deletions
diff --git a/examples/opengl/box/README b/examples/opengl/box/README index 113f82d6c..242c37257 100644 --- a/examples/opengl/box/README +++ b/examples/opengl/box/README @@ -3,6 +3,6 @@ The box example This example program shows how to use OpenGL in Qt: Put your OpenGL code in a class inherited from QGLWidget. The resulting subclass may -be used like any other Qt widget, with signals and slots, geometry +be used like any other TQt widget, with signals and slots, geometry management, etc.. diff --git a/examples/opengl/box/box.doc b/examples/opengl/box/box.doc index 51297fa35..617558269 100644 --- a/examples/opengl/box/box.doc +++ b/examples/opengl/box/box.doc @@ -6,7 +6,7 @@ This example demonstrates how to use OpenGL in Qt. Essentially, all you do is put your OpenGL code in a class inherited -from QGLWidget. This class may then be used like any other Qt widget, +from QGLWidget. This class may then be used like any other TQt widget, including the use of signals and slots and geometry management. See \c{$QTDIR/examples/opengl/box} for the source code. diff --git a/examples/opengl/overlay/README b/examples/opengl/overlay/README index f08e539d2..39e20b8a3 100644 --- a/examples/opengl/overlay/README +++ b/examples/opengl/overlay/README @@ -1,7 +1,7 @@ The overlay example -This example program shows how to use OpenGL overlays with the Qt OpenGL +This example program shows how to use OpenGL overlays with the TQt OpenGL Extension. It contains a QGLWidget with a relatively expensive redrawing operation, and rubber-band drawing in the overlay plane. Using the overlay has the advantage that the rubber-band may be drawn diff --git a/examples/opengl/overlay/overlay.doc b/examples/opengl/overlay/overlay.doc index 7a10b3cbd..43c77cc8a 100644 --- a/examples/opengl/overlay/overlay.doc +++ b/examples/opengl/overlay/overlay.doc @@ -3,7 +3,7 @@ \ingroup opengl-examples \title OpenGL Overlay Example -This example demonstrates how to use OpenGL overlays with the Qt OpenGL +This example demonstrates how to use OpenGL overlays with the TQt OpenGL Extension. It features a QGLWidget with a relatively expensive redrawing operation, and rubber-band drawing in the overlay plane. Using the overlay has the advantage that the rubber-band may be drawn and erased diff --git a/examples/opengl/overlay_x11/README b/examples/opengl/overlay_x11/README index eba728e67..03dda2e83 100644 --- a/examples/opengl/overlay_x11/README +++ b/examples/opengl/overlay_x11/README @@ -1,13 +1,13 @@ ----------------------------------------------------------------------- -UPDATE: From version 5.0 onwards, the Qt OpenGL Extension includes +UPDATE: From version 5.0 onwards, the TQt OpenGL Extension includes direct support for use of OpenGL overlays. For many uses of overlays, this makes the technique described below redundant. See the 'overlay' example program. The following is a discussion on how to use non-QGL widgets in overlay planes. ----------------------------------------------------------------------- -Overlayrubber: An example program showing how to use Qt and Qt OpenGL +Overlayrubber: An example program showing how to use TQt and TQt OpenGL Extension with X11 overlay visuals. (Background information for this example can be found in the file @@ -21,7 +21,7 @@ itself. Thus, you can eaily confirm that drawing in the overlay plane does not cause redrawings in the main plane where the QGLWidget resides. -RubberbandWidget: Very simple standard (non-GL) Qt widget that +RubberbandWidget: Very simple standard (non-GL) TQt widget that implements rubberband drawing. Designed for use in an overlay plane. It takes the planes' transparent color as a constructor argument and uses that for its background color. Thus, the widget @@ -50,7 +50,7 @@ For clarity, this example program has been kept very simple. Here are some hints for real application use: All normal widgets can go in the overlay plane: This means that you -can put all kinds of Qt widgets (your own or those provided with Qt) +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. @@ -67,7 +67,7 @@ two widgets' geometries synchronized. Using with QPalette and QColorGroup: Instead of the somewhat simplistic setBackgroundColor( transparentColor ), you can use Qt's QPalette system for having your overlay widgets use transparent color -for what you want. This way, the normal Qt widgets can be used as +for what you want. This way, the normal TQt widgets can be used as overlays for fancy effects: just create a palette for them with the transparent color for the wanted color roles, e.g. Background and Base, in the Normal and/or Active modes. This way, you can create diff --git a/examples/opengl/overlay_x11/README.X11-OVERLAYS b/examples/opengl/overlay_x11/README.X11-OVERLAYS index f415f4e5c..b951b0edf 100644 --- a/examples/opengl/overlay_x11/README.X11-OVERLAYS +++ b/examples/opengl/overlay_x11/README.X11-OVERLAYS @@ -8,7 +8,7 @@ highly recommended book "OpenGL Programming for the X Window System" (Mark Kilgard, Addison Wesley Developers Press 1996). ----------------------------------------------------------------------- -UPDATE: From version 5.0 onwards, the Qt OpenGL Extension includes +UPDATE: From version 5.0 onwards, the TQt OpenGL Extension includes direct support for use of OpenGL overlays. For many uses of overlays, this makes the technique described below redundant. See the 'overlay' example program. The following is a discussion on how to use non-QGL @@ -16,7 +16,7 @@ widgets in overlay planes. ----------------------------------------------------------------------- In the typical case, X11 overlays can easily be used together with the -current version of Qt and the Qt OpenGL Extension. The following +current version of TQt and the TQt OpenGL Extension. The following requirements apply: 1) Your X server and graphics card/hardware must support overlays (of @@ -62,7 +62,7 @@ overpainted. Note: To use this technique, you must not use the "ManyColor" or "TrueColor" ColorSpec for the QApplication, because this will force -the normal Qt widgets to use a TrueColor visual, which will typically +the normal TQt widgets to use a TrueColor visual, which will typically be in the main plane, not in the overlay plane as desired. @@ -85,7 +85,7 @@ the visual is in an overlay plane. transparency information for overlay visuals. The overlayrubber example program will output what visual is used for -the normal Qt widgets, and what visual is used by the QGLWidget. +the normal TQt widgets, and what visual is used by the QGLWidget. diff --git a/examples/opengl/overlay_x11/overlay_x11.doc b/examples/opengl/overlay_x11/overlay_x11.doc index 6dddc9b9b..3a6eff039 100644 --- a/examples/opengl/overlay_x11/overlay_x11.doc +++ b/examples/opengl/overlay_x11/overlay_x11.doc @@ -3,14 +3,14 @@ \ingroup opengl-examples \title OpenGL Overlay X11 Example -\warning From version 5.0 onwards, the Qt OpenGL Extension includes +\warning From version 5.0 onwards, the TQt OpenGL Extension includes direct support for use of OpenGL overlays. For many uses of overlays, this makes the technique described below redundant. See the \link opengl-overlay-example.html overlay\endlink example program. The following is a discussion on how to use non-QGL widgets in overlay planes. -Overlayrubber: An example program showing how to use Qt and Qt OpenGL +Overlayrubber: An example program showing how to use TQt and TQt OpenGL Extension with X11 overlay visuals. See \c{$QTDIR/examples/opengl/overlay_x11} for the source code. @@ -27,7 +27,7 @@ redraws (renders) itself. Thus, you can easily confirm that drawing in the overlay plane does not cause redrawings in the main plane where the QGLWidget resides. -\i \e RubberbandWidget - Very simple standard (non-GL) Qt widget that +\i \e RubberbandWidget - Very simple standard (non-GL) TQt widget that implements rubberband drawing. Designed for use in an overlay plane. It takes the plane's transparent color as a constructor argument and uses that for its background color. Thus, the widget itself will be @@ -55,7 +55,7 @@ some hints for real application usage: \list \i \e{All normal widgets are in the overlay plane.} This means that you -can put all kinds of Qt widgets (your own or standard Qt widgets) on +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. @@ -72,7 +72,7 @@ two widgets' geometries synchronized. \i \e{Using together with QPalette and QColorGroup.} Instead of the simplistic setBackgroundColor( transparentColor ), you can use Qt's QPalette system to make your overlay widgets use -transparent color for what you want. This way, the normal Qt widgets +transparent color for what you want. This way, the normal TQt widgets can be used as overlays for fancy effects. Just create a palette for them with the transparent color for the relevant color roles, e.g. Background and Base, in the Normal and/or Active modes. This way, you |