You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/examples/showimg
Michele Calgaro 397b7afa8e
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
2 months ago
..
README Rename graphics class nt* related files to equivalent tq* (part 1) 5 months ago
imagefip.cpp Rename image nt* related files to equivalent tq* 6 months ago
imagefip.h Rename graphics class nt* related files to equivalent tq* (part 2) 5 months ago
imagetexteditor.cpp Rename layout nt* related files to equivalent tq* 4 months ago
imagetexteditor.h Rename basic widget nt* related files to equivalent tq* 5 months ago
main.cpp Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* 2 months ago
showimg.cpp Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* 2 months ago
showimg.doc Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 13 years ago
showimg.h Rename image nt* related files to equivalent tq* 6 months ago
showimg.pro Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 13 years ago

README

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 TQPainter to display the pixmap, the bitBlt function can also be used to
display pixmaps.

If you have installed the TQt imageio extension (see extensions/imageio
in your TQt 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.