summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/showimg/README
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/showimg/README')
-rw-r--r--qtjava/javalib/examples/showimg/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/qtjava/javalib/examples/showimg/README b/qtjava/javalib/examples/showimg/README
new file mode 100644
index 00000000..a6c9ca98
--- /dev/null
+++ b/qtjava/javalib/examples/showimg/README
@@ -0,0 +1,14 @@
+This example demonstrates how to read in and display images, and the
+conversion facilities available. The CuteWidget can read a file into
+a pixmap and resizes the displayed pixmap when the widget is resized.
+
+Note that the function CuteWidget::paintEvent uses the drawPixmap function
+of QPainter to display the pixmap, the bitBlt function can also be used to
+display pixmaps.
+
+If you have installed the Qt imageio extension (see extensions/imageio
+in your Qt directory), you can build using that extension.
+
+Some of the conversion options will have no effect, depending on the
+display hardware used. Generally, these are disabled.
+