7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
8 Contributors: |
9 --> |
9 --> |
10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept id="GUID-8C134C72-0552-59FE-AA19-F72250A8A947" xml:lang="en"><title>CustomControls: |
12 <concept id="GUID-8C134C72-0552-59FE-AA19-F72250A8A947" xml:lang="en"><title>CustomControls: custom control example</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 custom control example</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 <p> <b>Note: </b> This example only works properly with Techview and |
14 <p> <b>Note: </b> This example only works properly with Techview and there |
14 there is no guarantee that it will work with other interfaces. </p> |
15 is no guarantee that it will work with other interfaces. </p> |
15 <section id="GUID-FFDEB4FB-DFC9-4DB6-9987-D1140ADFA912"><title>Description</title> <p> <filepath>CustomControls</filepath> demonstrates customised |
16 <section id="GUID-FFDEB4FB-DFC9-4DB6-9987-D1140ADFA912"><title>Description</title> <p> <filepath>CustomControls</filepath> demonstrates |
16 simple and compound UI Control Framework control classes. Compound |
17 customised simple and compound UI Control Framework control classes. Compound |
17 controls are used as on-screen containers for other controls, either |
18 controls are used as on-screen containers for other controls, either simple |
18 simple or compound. The custom controls are subclasses of the class <codeph>CCoeControl</codeph>, with implementations of its virtual functions |
19 or compound. The custom controls are subclasses of the class <codeph>CCoeControl</codeph>, |
19 for construction, drawing, and accepting user input. </p> <p>Note |
20 with implementations of its virtual functions for construction, drawing, and |
20 that the <filepath>CustomControls</filepath> example has dependencies |
21 accepting user input. </p> <p>Note that the <filepath>CustomControls</filepath> example |
21 on GUI components that may not be present on all SDKs. </p> </section> |
22 has dependencies on GUI components that may not be present on all SDKs. </p> </section> |
22 <section id="GUID-C506CD9E-BB64-4038-A65B-218A1A8CE1DA"><title>Download</title><p>Click on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-50a91c4c-d6c0-4699-9531-befb26574240.zip" scope="external">CustomControls.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-50a91c4c-d6c0-4699-9531-befb26574240.html" scope="peer">browse</xref> to view the example code. </p> </section> |
23 <section id="GUID-C506CD9E-BB64-4038-A65B-218A1A8CE1DA"><title>Download</title><p>Click on the following link to download |
23 <section id="GUID-842D73D6-9805-481A-BE65-28A0318B5E58"><title>Usage</title> <p>When the application starts, it displays two smiling faces (smiley) |
24 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-50a91c4c-d6c0-4699-9531-befb26574240.zip" scope="external">CustomControls.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-50a91c4c-d6c0-4699-9531-befb26574240.html" scope="peer">browse</xref> to view the example code. </p> </section> |
24 controls. The mood of the smileys can be changed by selecting a smiley |
25 <section id="GUID-842D73D6-9805-481A-BE65-28A0318B5E58"><title>Usage</title> <p>When the application starts, it displays |
25 using the left/right keys or pointer, and pressing space/clicking. |
26 two smiling faces (smiley) controls. The mood of the smileys can be changed |
|
27 by selecting a smiley using the left/right keys or pointer, and pressing space/clicking. |
|
28 A dialog containing the smiley controls can be started from the application’s |
26 A dialog containing the smiley controls can be started from the application’s |
29 menu. </p> </section> |
27 menu. </p> </section> |
30 <section id="GUID-7C8B38C5-DFF0-4988-96D4-0BF3594D0F55"><title>Class Summary</title><p> <xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname></xref> </p><p><xref href="GUID-A2BF9AE8-CF42-3D94-8763-66DB11EDDA46.dita"><apiname>MCoeControlObserver</apiname></xref> </p><p> <xref href="GUID-DC21E927-18B3-3BBF-9B67-496F2D158B03.dita"><apiname>CEikDialog</apiname></xref></p><p> <xref href="GUID-1185F595-0488-3E93-8D60-6B3A1A3AC32E.dita"><apiname>CEikAppUi</apiname></xref> </p><p><xref href="GUID-B33A8A56-D1BE-3E3D-B5AC-F644A5C764DB.dita"><apiname>CEikDocument</apiname></xref></p><p><xref href="GUID-E36E2F07-09E7-32BC-BB83-14DF9232E7D9.dita"><apiname>CEikApplication |
28 <section id="GUID-7C8B38C5-DFF0-4988-96D4-0BF3594D0F55"><title>Class |
31 </apiname></xref></p></section> |
29 Summary</title><ul> |
|
30 <li><p><xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname></xref></p></li> |
|
31 <li><p><xref href="GUID-A2BF9AE8-CF42-3D94-8763-66DB11EDDA46.dita"><apiname>MCoeControlObserver</apiname></xref></p></li> |
|
32 <li><p><xref href="GUID-DC21E927-18B3-3BBF-9B67-496F2D158B03.dita"><apiname>CEikDialog</apiname></xref></p></li> |
|
33 <li><p><xref href="GUID-1185F595-0488-3E93-8D60-6B3A1A3AC32E.dita"><apiname>CEikAppUi</apiname></xref></p></li> |
|
34 <li><p><xref href="GUID-B33A8A56-D1BE-3E3D-B5AC-F644A5C764DB.dita"><apiname>CEikDocument</apiname></xref></p></li> |
|
35 <li><p><xref href="GUID-E36E2F07-09E7-32BC-BB83-14DF9232E7D9.dita"><apiname>CEikApplication</apiname></xref></p></li> |
|
36 </ul></section> |
32 </conbody></concept> |
37 </conbody></concept> |