106 </row> |
108 </row> |
107 </tbody> |
109 </tbody> |
108 </tgroup> |
110 </tgroup> |
109 </table> |
111 </table> |
110 <section id="GUID-D51BDE18-D03E-42DC-BC41-551BB0DBBAD7"><title>Using |
112 <section id="GUID-D51BDE18-D03E-42DC-BC41-551BB0DBBAD7"><title>Using |
111 grids in C++ applications</title><p>The APIs to use for grids are the <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html" scope="peer">Grids API</xref> and the <xref format="html" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html" scope="peer">Lists API</xref>. For implementation information, see <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html#Grids_API_Specification.topic3" scope="peer">Using the Grids API</xref> and <xref format="html" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html#Lists_API_Specification.topic3" scope="peer">Using the Lists API</xref>.</p><p>The <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classCAknGrid.html" format="application/java-archive"><codeph>CAknGrid</codeph></xref> class is used to set up the basic parameters of |
113 grids in applications</title><p>The APIs to use for grids are |
112 a layout in terms of number of columns and rows, cell size, and orientation. |
114 the <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html" scope="peer">Grids API</xref> and the <xref format="html" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html" scope="peer">Lists API</xref>. For implementation information, see <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html#Grids_API_Specification.topic3" scope="peer">Using the Grids API</xref> and <xref format="html" href="specs/guides/Lists_API_Specification/Lists_API_Specification.html#Lists_API_Specification.topic3" scope="peer">Using the Lists API</xref>.</p><p>The <xref href="GUID-B49E127B-09B1-3A82-B704-56373B4E1F1D.dita"><apiname>CAknGrid</apiname></xref> class |
113 After this, <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classAknListBoxLayouts.html" format="application/java-archive"><codeph>AknListBoxLayouts</codeph></xref> is |
115 is used to set up the basic parameters of a layout in terms of number of columns |
|
116 and rows, cell size, and orientation. After this, <xref href="GUID-75F5E010-D30A-37B6-B4B3-A25C1DAEAD52.dita"><apiname>AknListBoxLayouts</apiname></xref> is |
114 used to set up detailed parameters for graphics and text in the cell. The |
117 used to set up detailed parameters for graphics and text in the cell. The |
115 following cell parameters can be set:</p><ul> |
118 following cell parameters can be set:</p><ul> |
116 <li><p>Location and size of bitmaps</p></li> |
119 <li><p>Location and size of bitmaps</p></li> |
117 <li><p>Location and size of text string</p></li> |
120 <li><p>Location and size of text string</p></li> |
118 <li><p>Font and its color </p></li> |
121 <li><p>Font and its color </p></li> |
119 <li><p>Text align in the allocated space</p></li> |
122 <li><p>Text align in the allocated space</p></li> |
120 </ul><p>Bitmaps are loaded manually, as an icon array.</p><p>Other parameters |
123 </ul><p>Bitmaps are loaded manually, as an icon array.</p><p>Other parameters |
121 of visual elements (for example, highlighted text color) are used from the |
124 of visual elements (for example, highlighted text color) are used from the |
122 Symbian Developer Platform standard look and feel module; these should not |
125 Symbian Developer Platform standard look and feel module; these should not |
123 be overridden unless you've instantiated your own class. </p><p>Several <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html" scope="peer">specialized grid classes</xref> can be found in AVKON.</p><p>Use |
126 be overridden unless you've instantiated your own class. </p><p>Several <xref format="html" href="specs/guides/Grids_API_Specification/Grids_API_Specification.html" scope="peer">specialized grid classes</xref> can be found in AVKON.</p><p>Use |
124 the class <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classCAknCaleMonthStyleGrid.html" format="application/java-archive"><codeph>CAknCaleMonthStyleGrid</codeph></xref> to show a month view. The first row shows the day and the first column shows |
127 the class <xref href="GUID-4A864745-EA9C-3ED6-B3B7-1DF92817A96A.dita"><apiname>CAknCaleMonthStyleGrid</apiname></xref> to show a month view. |
125 the week number. The following data can be set for an item:</p><ul> |
128 The first row shows the day and the first column shows the week number. The |
|
129 following data can be set for an item:</p><ul> |
126 <li><p>Outlined icon to show border, dimension 21 x 9 pixels</p></li> |
130 <li><p>Outlined icon to show border, dimension 21 x 9 pixels</p></li> |
127 <li><p>Marking icon in the bottom right corner of a cell, dimension 5 x 5 |
131 <li><p>Marking icon in the bottom right corner of a cell, dimension 5 x 5 |
128 pixels</p></li> |
132 pixels</p></li> |
129 <li><p>Two-digit number</p></li> |
133 <li><p>Two-digit number</p></li> |
130 </ul><p>Use the class <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classCAknPinbStyleGrid.html" format="application/java-archive"><codeph>CAknPinbStyleGrid</codeph></xref> to show application shortcuts in a 5 x 5 cells grid. For every item, an |
134 </ul><p>Use the class <xref href="GUID-D2166870-2ED0-3516-BE88-92FE7E9ED7BA.dita"><apiname>CAknPinbStyleGrid</apiname></xref> to show application |
131 icon is specified that is displayed in the center of a cell. In addition, |
135 shortcuts in a 5 x 5 cells grid. For every item, an icon is specified that |
132 two small icons, 13 x 13 pixels, can be specified. The first one is displayed |
136 is displayed in the center of a cell. In addition, two small icons, 13 x 13 |
133 in the top-right corner for marking. The second one is displayed in the bottom-left |
137 pixels, can be specified. The first one is displayed in the top-right corner |
134 corner to show the target application. </p></section> |
138 for marking. The second one is displayed in the bottom-left corner to show |
|
139 the target application. </p></section> |
135 </conbody></concept> |
140 </conbody></concept> |