carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/CustomComponents/tutorials/verticallabel_uiq/verticallabel_tutorial_05.htm
equal
deleted
inserted
replaced
191 <p>Since source code generation is very detailed and specific, deriving from a component does not automatically enable source code generation. The derived component must specify what to generate, either completely or by referencing existing templates. Templates defined in ControlCollectionItemBase can be reused.</p> |
191 <p>Since source code generation is very detailed and specific, deriving from a component does not automatically enable source code generation. The derived component must specify what to generate, either completely or by referencing existing templates. Templates defined in ControlCollectionItemBase can be reused.</p> |
192 <p>The <code>makeVisible</code> template group does some standard initialization. Macros are groups of parametrized templates. The <code>SetupControlInstanceVariable</code> macro generates code to setup a member variable for the vertical label control's instance.</p> |
192 <p>The <code>makeVisible</code> template group does some standard initialization. Macros are groups of parametrized templates. The <code>SetupControlInstanceVariable</code> macro generates code to setup a member variable for the vertical label control's instance.</p> |
193 <p>The <inline> element inserts JavaScript code. This example calls a predefined function to copy the stock versions of VerticalLabel.cpp and VerticalLabel.h that contain the runtime code implementing the vertical label control.</p> |
193 <p>The <inline> element inserts JavaScript code. This example calls a predefined function to copy the stock versions of VerticalLabel.cpp and VerticalLabel.h that contain the runtime code implementing the vertical label control.</p> |
194 <p>There is a <template> element in this snippet that is used to define a new template in order to insert the <span class="code">#include "VerticalLabel.h"</span> and <span class="code">#include "example_verticallabel.hrh"</span> statements for the required header files.</p> |
194 <p>There is a <template> element in this snippet that is used to define a new template in order to insert the <span class="code">#include "VerticalLabel.h"</span> and <span class="code">#include "example_verticallabel.hrh"</span> statements for the required header files.</p> |
195 <p>The final <templateGroup> element embodies a set of templates used to generate and install a custom control factory to translate the custom control type identifier, <code>EVerticalLabel</code> used in the control collection resource into a CVerticalLabel object.</p> |
195 <p>The final <templateGroup> element embodies a set of templates used to generate and install a custom control factory to translate the custom control type identifier, <code>EVerticalLabel</code> used in the control collection resource into a CVerticalLabel object.</p> |
196 <p><img src="../../../img/nokia_copyright.png" alt="copyright" width="280" height="21"></img></p> |
196 <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> |
197 |
197 </div> |
198 </body> |
198 </body> |
199 </html> |
199 </html> |