The Pixmaps In The <images> Element

| Chapter 9. The File Format Of .ui Files |

# The Pixmaps In The `<images>` Element

To decrease the file size, images are saved in a shared fashion. This means that each image is assigned a key that is used in the pixmap, image, or icon set properties. Later in the image collection, all these images are saved at once. The images are written in either PNG format or compressed XPM format with each character converted to a hex code. The format is specified in the `<data>` element, using the `format` attribute. Here is an example of an image collection with one entry:

    <images>
      <image>
        <name>key</name>
        <data format="PNG|XPM.GZ">PNG or XMP.GZ data in hexadecimal format</data>
      </image>
    </images>

The `<widget>` Element |  | The Description Of The Used Custom Widgets