📄 class_c_ocr_example_settings_container.html
字号:
</tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>From CCoeControl set the size and position of its component controls. <p>Definition at line <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00123">123</a> of file <a class="el" href="_ocr_example_settings_container_8cpp-source.html">OcrExampleSettingsContainer.cpp</a>.<p>References <a class="el" href="_ocr_example_settings_container_8h-source.html#l00085">iSettingsList</a>.<div class="fragment"><pre class="fragment"><a name="l00124"></a>00124 {<a name="l00125"></a>00125 <span class="keywordflow">if</span> (<a class="code" href="class_c_ocr_example_settings_container.html#d3a8f217e92011906ec499ea96b7583c">iSettingsList</a>)<a name="l00126"></a>00126 {<a name="l00127"></a>00127 <a class="code" href="class_c_ocr_example_settings_container.html#d3a8f217e92011906ec499ea96b7583c">iSettingsList</a>->SetRect(Rect());<a name="l00128"></a>00128 }<a name="l00129"></a>00129 }</pre></div><p> </td> </tr></table><a class="anchor" name="195be64c0e5b9f91ce87699e499af01c"></a><!-- doxytag: member="COcrExampleSettingsContainer::CountComponentControls" ref="195be64c0e5b9f91ce87699e499af01c" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TInt COcrExampleSettingsContainer::CountComponentControls </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>From CCoeControl return the number of controls owned <dl compact><dt><b>Returns:</b></dt><dd>TInt number of controls </dd></dl><p>Definition at line <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00080">80</a> of file <a class="el" href="_ocr_example_settings_container_8cpp-source.html">OcrExampleSettingsContainer.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00081"></a>00081 {<a name="l00082"></a>00082 <span class="keywordflow">return</span> 1;<a name="l00083"></a>00083 }</pre></div><p> </td> </tr></table><a class="anchor" name="c1d1ba8d1c19e939c47fb73d50cb5432"></a><!-- doxytag: member="COcrExampleSettingsContainer::ComponentControl" ref="c1d1ba8d1c19e939c47fb73d50cb5432" args="(TInt aIndex) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">CCoeControl * COcrExampleSettingsContainer::ComponentControl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TInt </td> <td class="mdname1" valign="top" nowrap> <em>aIndex</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>From CCoeControl returns a control <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aIndex</em> </td><td>index of a control </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>CCoeControl* pointer on a control </dd></dl><p>Definition at line <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00091">91</a> of file <a class="el" href="_ocr_example_settings_container_8cpp-source.html">OcrExampleSettingsContainer.cpp</a>.<p>References <a class="el" href="_ocr_example_settings_container_8h-source.html#l00085">iSettingsList</a>.<div class="fragment"><pre class="fragment"><a name="l00092"></a>00092 {<a name="l00093"></a>00093 <span class="keywordflow">return</span> <a class="code" href="class_c_ocr_example_settings_container.html#d3a8f217e92011906ec499ea96b7583c">iSettingsList</a>;<a name="l00094"></a>00094 }</pre></div><p> </td> </tr></table><a class="anchor" name="6775621e6d3ce05d6685555c939c7706"></a><!-- doxytag: member="COcrExampleSettingsContainer::OfferKeyEventL" ref="6775621e6d3ce05d6685555c939c7706" args="(const TKeyEvent &aKeyEvent, TEventCode aType)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TKeyResponse COcrExampleSettingsContainer::OfferKeyEventL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TKeyEvent & </td> <td class="mdname" nowrap> <em>aKeyEvent</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TEventCode </td> <td class="mdname" nowrap> <em>aType</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>From CCoeControl event handling section <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aKeyEvent</em> </td><td>the key event </td></tr> <tr><td valign="top"></td><td valign="top"><em>aType</em> </td><td>the type of the event </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TKeyResponse key event was used by this control or not </dd></dl><p>Definition at line <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00101">101</a> of file <a class="el" href="_ocr_example_settings_container_8cpp-source.html">OcrExampleSettingsContainer.cpp</a>.<p>References <a class="el" href="_ocr_example_settings_container_8h-source.html#l00085">iSettingsList</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 {<a name="l00105"></a>00105 <span class="keywordflow">if</span> ( aKeyEvent.iCode == EKeyLeftArrow ||<a name="l00106"></a>00106 aKeyEvent.iCode == EKeyRightArrow )<a name="l00107"></a>00107 {<a name="l00108"></a>00108 <span class="comment">// Listbox takes all events even if it doesn't use them</span><a name="l00109"></a>00109 <span class="keywordflow">return</span> EKeyWasNotConsumed;<a name="l00110"></a>00110 }<a name="l00111"></a>00111 <a name="l00112"></a>00112 <span class="keywordflow">return</span> <a class="code" href="class_c_ocr_example_settings_container.html#d3a8f217e92011906ec499ea96b7583c">iSettingsList</a>->OfferKeyEventL( aKeyEvent, aType );<a name="l00113"></a>00113 }</pre></div><p> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="d3a8f217e92011906ec499ea96b7583c"></a><!-- doxytag: member="COcrExampleSettingsContainer::iSettingsList" ref="d3a8f217e92011906ec499ea96b7583c" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_n_o_c_r_utils_1_1_c_settings_list.html">NOCRUtils::CSettingsList</a>* <a class="el" href="class_c_ocr_example_settings_container.html#d3a8f217e92011906ec499ea96b7583c">COcrExampleSettingsContainer::iSettingsList</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>settings list <p>Definition at line <a class="el" href="_ocr_example_settings_container_8h-source.html#l00085">85</a> of file <a class="el" href="_ocr_example_settings_container_8h-source.html">OcrExampleSettingsContainer.h</a>.<p>Referenced by <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00091">ComponentControl()</a>, <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00060">ConstructL()</a>, <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00101">OfferKeyEventL()</a>, <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00123">SizeChanged()</a>, and <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00069">~COcrExampleSettingsContainer()</a>. </td> </tr></table><a class="anchor" name="30d9af36f960ced9d66f76546ff72dc2"></a><!-- doxytag: member="COcrExampleSettingsContainer::iSettingsData" ref="30d9af36f960ced9d66f76546ff72dc2" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_t_ocr_example_settings_data.html">TOcrExampleSettingsData</a>& <a class="el" href="class_c_ocr_example_settings_container.html#30d9af36f960ced9d66f76546ff72dc2">COcrExampleSettingsContainer::iSettingsData</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>settings data <p>Definition at line <a class="el" href="_ocr_example_settings_container_8h-source.html#l00088">88</a> of file <a class="el" href="_ocr_example_settings_container_8h-source.html">OcrExampleSettingsContainer.h</a>.<p>Referenced by <a class="el" href="_ocr_example_settings_container_8cpp-source.html#l00060">ConstructL()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_ocr_example_settings_container_8h-source.html">OcrExampleSettingsContainer.h</a><li><a class="el" href="_ocr_example_settings_container_8cpp-source.html">OcrExampleSettingsContainer.cpp</a></ul><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -