summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay_x11
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-05 20:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-05 20:59:01 -0600
commitdfb87398c72e9248aa709ae212e6ab7f2209003d (patch)
tree52422e7b6774fcc503d7c701cb2c77fa016386e8 /examples/opengl/overlay_x11
parent891a448afad4ab1f09bfb0cfee71652975bd7687 (diff)
downloadtqt3-dfb87398c72e9248aa709ae212e6ab7f2209003d.tar.gz
tqt3-dfb87398c72e9248aa709ae212e6ab7f2209003d.zip
Automated update from Qt3
Diffstat (limited to 'examples/opengl/overlay_x11')
-rw-r--r--examples/opengl/overlay_x11/README10
-rw-r--r--examples/opengl/overlay_x11/README.X11-OVERLAYS8
-rw-r--r--examples/opengl/overlay_x11/overlay_x11.doc10
3 files changed, 14 insertions, 14 deletions
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