1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>The Pixmaps In The <images> Element</title>
<meta name="generator" content="Adobe GoLive 4">
<link rel="HOME" href="book1.html">
<link rel="UP" title="The File Format Of .ui Files" href="chap9_1.html">
<link rel="PREVIOUS" title="The <widget> Element" href="chap9_2.html">
<link rel="NEXT" title="The Description Of The Used Custom Widgets" href="chap9_4.html">
<link href="../trollstyle.css" rel="styleSheet" type="text/css">
</head>
<body class="SECT1" bgcolor="white" text="black" link="blue" vlink="#840084" alink="blue">
<div class="NAVHEADER">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="500" align="left" valign="middle"><a href="../"><img height="90" width="475" src="figures/title.png" border="0"></a></td>
<td></td>
<td align="right" valign="top"><a href="../company/about/trolls.html">
<table border="0" cellpadding="0" cellspacing="0" width="137">
<tr>
<td><a href="../company/about/trolls.html"><img height="100" width="100" src="figures/f001.png" border="0"></a></td>
<td><img height="100" width="100" src="figures/qtlogo.png" align="top" border="0"></td>
</tr>
</table>
</a></td>
</tr>
<tr>
<td width="500"><spacer type="block" width="500" height="20"></td>
<td><spacer type="block" width="42" height="20"></td>
<td><br>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td width="10%" align="left" valign="bottom" bgcolor="black"><a href="chap9_2.html"><img height="20" width="20" src="arrows/left.png" border="0"></a></td>
<td width="80%" align="center" valign="bottom" bgcolor="black"><font color="white"><b>Chapter 9. The File Format Of .ui Files</b></font></td>
<td width="10%" align="right" valign="bottom" bgcolor="black"><a href="chap9_4.html"><img height="20" width="20" src="arrows/right.png" border="0"></a></td>
</tr>
</table>
</div>
<div class="SECT1">
<h1 class="SECT1"><a name="QT-DESIGNER-REF-UI-IMAGESELEMENTE"></a>The Pixmaps In The <tt class="LITERAL"><images></tt> Element</h1>
<p>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 <tt class="LITERAL"><data></tt> element, using the <tt class="LITERAL">format</tt> attribute. Here is an example of an image collection with one entry:</p>
<pre class="SCREEN"><images>
<image>
<name>key</name>
<data format="PNG|XPM.GZ">PNG or XMP.GZ data in hexadecimal format</data>
</image>
</images></pre>
</div>
<div class="NAVFOOTER">
<br>
<br>
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td width="33%" align="left" valign="top" bgcolor="black"><a href="chap9_2.html"><img height="20" width="20" src="arrows/left.png" border="0"></a></td>
<td width="34%" align="center" valign="top" bgcolor="black"><a href="book1.html"><img height="20" width="25" src="arrows/home.png" border="0"></a></td>
<td width="33%" align="right" valign="top" bgcolor="black"><a href="chap9_4.html"><img height="20" width="20" src="arrows/right.png" border="0"></a></td>
</tr>
<tr>
<td width="33%" align="left" valign="top" bgcolor="black"><font color="white" >The <tt class="LITERAL"><widget></tt> Element</font></td>
<td width="34%" align="center" valign="top" bgcolor="black"><a href="chap9_1.html"><img height="20" width="20" src="arrows/up.png" border="0"></a></td>
<td width="33%" align="right" valign="top" bgcolor="black"><font color="white" >The Description Of The Used Custom Widgets</font></td>
</tr>
</table>
</div>
</body>
</html>
|