carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/CustomComponents/tutorials/verticallabel_s60/verticallabel_tutorial_05.htm
equal
deleted
inserted
replaced
146 <p>The <span class="code">INIT_FROM_CONTAINER</span> template emits the standard Symbian code for allocating the component within a CCoeControl container. This includes allocating the object, reading the state from a resource, and managing the cleanup stack.</p> |
146 <p>The <span class="code">INIT_FROM_CONTAINER</span> template emits the standard Symbian code for allocating the component within a CCoeControl container. This includes allocating the object, reading the state from a resource, and managing the cleanup stack.</p> |
147 <p>The <span class="code">LAYOUT_CONTROLS</span> template generates source to size and position the component according to the properties set in the UI designer.</p> |
147 <p>The <span class="code">LAYOUT_CONTROLS</span> template generates source to size and position the component according to the properties set in the UI designer.</p> |
148 <p>The <inline> element inserts JavaScript code. This example calls a predefined function to emit the header files needed to use this component.</p> |
148 <p>The <inline> element inserts JavaScript code. This example calls a predefined function to emit the header files needed to use this component.</p> |
149 <p>The additional <useTemplateGroup> elements (after the inline element) references existing templates in order to support events. Since the VerticalLabel example is a subclass of CCoeControl you want to support all the events in a CCoeControl container. Since the example inherits from CCoeControlBase, the appropriate event declarations and templates have already been inherited.</p> |
149 <p>The additional <useTemplateGroup> elements (after the inline element) references existing templates in order to support events. Since the VerticalLabel example is a subclass of CCoeControl you want to support all the events in a CCoeControl container. Since the example inherits from CCoeControlBase, the appropriate event declarations and templates have already been inherited.</p> |
150 <p>The final <template> element in this snippet is used to define a new template in order to insert the <span class="code">#include "VerticalLabel.h"</span> statement for the class header file.</p> |
150 <p>The final <template> element in this snippet is used to define a new template in order to insert the <span class="code">#include "VerticalLabel.h"</span> statement for the class header file.</p> |
151 <p><img src="../../../img/nokia_copyright.png" alt="copyright" width="280" height="21"></img></p> |
151 <div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
152 |
152 </div> |
153 </body> |
153 </body> |
154 </html> |
154 </html> |