| Last change
 on this file since 85 was             2, checked in by dmik, 20 years ago | 
        
          | 
Imported xplatform parts of the official release 3.3.1 from Trolltech
 | 
        
          | File size:
            647 bytes | 
      
      
| Line |  | 
|---|
| 1 | This example demonstrates how to read in and display images, and the | 
|---|
| 2 | conversion facilities available. The CuteWidget can read a file into | 
|---|
| 3 | a pixmap and resizes the displayed pixmap when the widget is resized. | 
|---|
| 4 |  | 
|---|
| 5 | Note that the function CuteWidget::paintEvent uses the drawPixmap function | 
|---|
| 6 | of QPainter to display the pixmap, the bitBlt function can also be used to | 
|---|
| 7 | display pixmaps. | 
|---|
| 8 |  | 
|---|
| 9 | If you have installed the Qt imageio extension (see extensions/imageio | 
|---|
| 10 | in your Qt directory), you can build using that extension. | 
|---|
| 11 |  | 
|---|
| 12 | Some of the conversion options will have no effect, depending on the | 
|---|
| 13 | display hardware used.  Generally, these are disabled. | 
|---|
| 14 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.