📄 class_c_ocr_example_app_ui.html
字号:
<a class="anchor" name="a682d228622cea7790645ce10f591242"></a><!-- doxytag: member="COcrExampleAppUi::HandleCommandL" ref="a682d228622cea7790645ce10f591242" args="(TInt aCommand)" --><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">void COcrExampleAppUi::HandleCommandL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TInt </td> <td class="mdname1" valign="top" nowrap> <em>aCommand</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>From CEikAppUi, takes care of command handling. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aCommand</em> </td><td>command to be handled </td></tr> </table></dl><p>Definition at line <a class="el" href="_ocr_example_appui_8cpp-source.html#l00101">101</a> of file <a class="el" href="_ocr_example_appui_8cpp-source.html">OcrExampleAppui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00102"></a>00102 {<a name="l00103"></a>00103 <span class="keywordflow">switch</span> ( aCommand )<a name="l00104"></a>00104 {<a name="l00105"></a>00105 <span class="keywordflow">case</span> EAknSoftkeyExit:<a name="l00106"></a>00106 <span class="keywordflow">case</span> EEikCmdExit:<a name="l00107"></a>00107 Exit();<a name="l00108"></a>00108 <span class="keywordflow">break</span>;<a name="l00109"></a>00109 }<a name="l00110"></a>00110 }</pre></div><p> </td> </tr></table><a class="anchor" name="0664643ad6fd66cf11afb7fdf7f5c6cc"></a><!-- doxytag: member="COcrExampleAppUi::HandleKeyEventL" ref="0664643ad6fd66cf11afb7fdf7f5c6cc" 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 COcrExampleAppUi::HandleKeyEventL </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> [private, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>From CEikAppUi, handles key events. <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>Event to handled. </td></tr> <tr><td valign="top"></td><td valign="top"><em>aType</em> </td><td>Type of the key event. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Response code (EKeyWasConsumed, EKeyWasNotConsumed). </dd></dl><p>Definition at line <a class="el" href="_ocr_example_appui_8cpp-source.html#l00091">91</a> of file <a class="el" href="_ocr_example_appui_8cpp-source.html">OcrExampleAppui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00092"></a>00092 {<a name="l00093"></a>00093 <span class="keywordflow">return</span> EKeyWasNotConsumed;<a name="l00094"></a>00094 }</pre></div><p> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="1f042a3778633150ee122bad7a8e17e2"></a><!-- doxytag: member="COcrExampleAppUi::iTextData" ref="1f042a3778633150ee122bad7a8e17e2" 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="struct_t_text_container_data.html">TTextContainerData</a> <a class="el" href="class_c_ocr_example_app_ui.html#1f042a3778633150ee122bad7a8e17e2">COcrExampleAppUi::iTextData</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>data-object for text-view <p>Definition at line <a class="el" href="_ocr_example_appui_8h-source.html#l00089">89</a> of file <a class="el" href="_ocr_example_appui_8h-source.html">OcrExampleAppui.h</a>.<p>Referenced by <a class="el" href="_ocr_example_appui_8cpp-source.html#l00035">ConstructL()</a>. </td> </tr></table><a class="anchor" name="30d9af36f960ced9d66f76546ff72dc2"></a><!-- doxytag: member="COcrExampleAppUi::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_app_ui.html#30d9af36f960ced9d66f76546ff72dc2">COcrExampleAppUi::iSettingsData</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>data-object for settings- and image-view <p>Definition at line <a class="el" href="_ocr_example_appui_8h-source.html#l00092">92</a> of file <a class="el" href="_ocr_example_appui_8h-source.html">OcrExampleAppui.h</a>.<p>Referenced by <a class="el" href="_ocr_example_appui_8cpp-source.html#l00035">ConstructL()</a>. </td> </tr></table><a class="anchor" name="8ead615b97f5ee1f7fe6a5d7bb5d04ac"></a><!-- doxytag: member="COcrExampleAppUi::iImageView" ref="8ead615b97f5ee1f7fe6a5d7bb5d04ac" 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_c_ocr_example_image_view.html">COcrExampleImageView</a>* <a class="el" href="class_c_ocr_example_app_ui.html#8ead615b97f5ee1f7fe6a5d7bb5d04ac">COcrExampleAppUi::iImageView</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>image view <p>Definition at line <a class="el" href="_ocr_example_appui_8h-source.html#l00095">95</a> of file <a class="el" href="_ocr_example_appui_8h-source.html">OcrExampleAppui.h</a>.<p>Referenced by <a class="el" href="_ocr_example_appui_8cpp-source.html#l00035">ConstructL()</a>, <a class="el" href="_ocr_example_appui_8cpp-source.html#l00118">HandleResourceChangeL()</a>, and <a class="el" href="_ocr_example_appui_8cpp-source.html#l00066">~COcrExampleAppUi()</a>. </td> </tr></table><a class="anchor" name="45daf228a0ae14c3ca696598dbabc211"></a><!-- doxytag: member="COcrExampleAppUi::iSettingsView" ref="45daf228a0ae14c3ca696598dbabc211" 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_simple_view.html">NOCRUtils::CSimpleView</a><<a class="el" href="class_c_ocr_example_settings_container.html">COcrExampleSettingsContainer</a>, <a class="el" href="class_t_ocr_example_settings_data.html">TOcrExampleSettingsData</a>>* <a class="el" href="class_c_ocr_example_app_ui.html#45daf228a0ae14c3ca696598dbabc211">COcrExampleAppUi::iSettingsView</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>settings view <p>Definition at line <a class="el" href="_ocr_example_appui_8h-source.html#l00099">99</a> of file <a class="el" href="_ocr_example_appui_8h-source.html">OcrExampleAppui.h</a>.<p>Referenced by <a class="el" href="_ocr_example_appui_8cpp-source.html#l00035">ConstructL()</a>, <a class="el" href="_ocr_example_appui_8cpp-source.html#l00118">HandleResourceChangeL()</a>, and <a class="el" href="_ocr_example_appui_8cpp-source.html#l00066">~COcrExampleAppUi()</a>. </td> </tr></table><a class="anchor" name="e437fcd21ae7c4d5aab29592539872c5"></a><!-- doxytag: member="COcrExampleAppUi::iTextView" ref="e437fcd21ae7c4d5aab29592539872c5" 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_simple_view.html">NOCRUtils::CSimpleView</a><<a class="el" href="class_c_ocr_example_text_container.html">COcrExampleTextContainer</a>, <a class="el" href="struct_t_text_container_data.html">TTextContainerData</a>>* <a class="el" href="class_c_ocr_example_app_ui.html#e437fcd21ae7c4d5aab29592539872c5">COcrExampleAppUi::iTextView</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>text view <p>Definition at line <a class="el" href="_ocr_example_appui_8h-source.html#l00102">102</a> of file <a class="el" href="_ocr_example_appui_8h-source.html">OcrExampleAppui.h</a>.<p>Referenced by <a class="el" href="_ocr_example_appui_8cpp-source.html#l00035">ConstructL()</a>, <a class="el" href="_ocr_example_appui_8cpp-source.html#l00118">HandleResourceChangeL()</a>, and <a class="el" href="_ocr_example_appui_8cpp-source.html#l00066">~COcrExampleAppUi()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_ocr_example_appui_8h-source.html">OcrExampleAppui.h</a><li><a class="el" href="_ocr_example_appui_8cpp-source.html">OcrExampleAppui.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 + -