⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_c_akn_ex_editor_app_ui.html

📁 一个S60V3 FP1 的编辑软件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>CAknExEditorAppUi Class Reference</title><link href="style.css" rel="stylesheet" type="text/css"></head><table border="0" width="100%" height="8" bgcolor="#eeeeee"><tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>S60 3rd Edition SDK FP1 for Symbian OS </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table><!-- Generated by Doxygen 1.4.5 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>CAknExEditorAppUi Class Reference</h1><!-- doxytag: class="CAknExEditorAppUi" --><!-- doxytag: inherits="CAknViewAppUi" --><code>#include &lt;<a class="el" href="aknexeditorappui_8h-source.html">aknexeditorappui.h</a>&gt;</code><p>Inherits CAknViewAppUi.<p>Inheritance diagram for CAknExEditorAppUi:<p><center><img src="class_c_akn_ex_editor_app_ui__inherit__graph.png" border="0" usemap="#_c_akn_ex_editor_app_ui__inherit__map" alt="Inheritance graph"></center><a href="class_c_akn_ex_editor_app_ui-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>Application UI class. Provides support for the following features:<ul><li>EIKON control architecture</li><li>view architecture</li><li>status pane </li></ul><p><p>Definition at line <a class="el" href="aknexeditorappui_8h-source.html#l00041">41</a> of file <a class="el" href="aknexeditorappui_8h-source.html">aknexeditorappui.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#77c8c9f92d10d6613ad8f97a9b7be55d">CAknExEditorAppUi</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#9ce34ba0b947863222da3c63d0481044">ConstructL</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#ca5bf894d59c4c36d77f31f6d162eef3">~CAknExEditorAppUi</a> ()</td></tr><tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#3ae77c2aed5e1270a13c14bd5aa415fe">DynInitMenuPaneL</a> (TInt aResourceId, CEikMenuPane *aMenuPane)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#a682d228622cea7790645ce10f591242">HandleCommandL</a> (TInt aCommand)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#6acdbe8a9b57446075bf46d035e751eb">HandleResourceChangeL</a> (TInt aType)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual TKeyResponse&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#a13d016d68ff6071d49d47b2a4bcfbed">HandleKeyEventL</a> (const TKeyEvent &amp;, TEventCode)</td></tr><tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">CAknNavigationControlContainer *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#e2d7ed994d3f3c8f79755df25733df5a">iNaviPane</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">CAknTitlePane *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_akn_ex_editor_app_ui.html#df04b4fbc39192311d61862794494ce8">iTitlePane</a></td></tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="77c8c9f92d10d6613ad8f97a9b7be55d"></a><!-- doxytag: member="CAknExEditorAppUi::CAknExEditorAppUi" ref="77c8c9f92d10d6613ad8f97a9b7be55d" 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">CAknExEditorAppUi::CAknExEditorAppUi           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>CAknExEditorAppUi C++ default constructor. <p>Definition at line <a class="el" href="aknexeditorappui_8cpp-source.html#l00037">37</a> of file <a class="el" href="aknexeditorappui_8cpp-source.html">aknexeditorappui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00038"></a>00038     {<a name="l00039"></a>00039     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="ca5bf894d59c4c36d77f31f6d162eef3"></a><!-- doxytag: member="CAknExEditorAppUi::~CAknExEditorAppUi" ref="ca5bf894d59c4c36d77f31f6d162eef3" 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">CAknExEditorAppUi::~CAknExEditorAppUi           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>~CAknExEditorAppUi Destructor. <p>Definition at line <a class="el" href="aknexeditorappui_8cpp-source.html#l00073">73</a> of file <a class="el" href="aknexeditorappui_8cpp-source.html">aknexeditorappui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00074"></a>00074     {<a name="l00075"></a>00075     }</pre></div><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="9ce34ba0b947863222da3c63d0481044"></a><!-- doxytag: member="CAknExEditorAppUi::ConstructL" ref="9ce34ba0b947863222da3c63d0481044" 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">void CAknExEditorAppUi::ConstructL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>ConstructL Default constructor. <p>Definition at line <a class="el" href="aknexeditorappui_8cpp-source.html#l00046">46</a> of file <a class="el" href="aknexeditorappui_8cpp-source.html">aknexeditorappui.cpp</a>.<p>References <a class="el" href="aknexeditorappui_8h-source.html#l00105">iNaviPane</a>, and <a class="el" href="aknexeditorappui_8h-source.html#l00111">iTitlePane</a>.<div class="fragment"><pre class="fragment"><a name="l00047"></a>00047     {<a name="l00048"></a>00048     BaseConstructL( EAknEnableSkin );<a name="l00049"></a>00049 <a name="l00050"></a>00050     <span class="comment">// Show tabs for main views from resources</span><a name="l00051"></a>00051     CEikStatusPane *sp = StatusPane();<a name="l00052"></a>00052 <a name="l00053"></a>00053     <span class="comment">// Title</span><a name="l00054"></a>00054     <a class="code" href="class_c_akn_ex_editor_app_ui.html#df04b4fbc39192311d61862794494ce8">iTitlePane</a> =  static_cast&lt;CAknTitlePane*&gt;( sp-&gt;ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );<a name="l00055"></a>00055 <a name="l00056"></a>00056     <span class="comment">// Fetch pointer to the default navi pane control</span><a name="l00057"></a>00057     <a class="code" href="class_c_akn_ex_editor_app_ui.html#e2d7ed994d3f3c8f79755df25733df5a">iNaviPane</a> = ( CAknNavigationControlContainer* ) sp-&gt;ControlL( <a name="l00058"></a>00058         TUid::Uid( EEikStatusPaneUidNavi ) );<a name="l00059"></a>00059 <a name="l00060"></a>00060     <span class="comment">// Create and view.</span><a name="l00061"></a>00061     <a class="code" href="class_c_akn_ex_editor_view.html">CAknExEditorView</a>* view = new ( ELeave ) <a class="code" href="class_c_akn_ex_editor_view.html">CAknExEditorView</a>;<a name="l00062"></a>00062     CleanupStack::PushL( view );<a name="l00063"></a>00063     view-&gt;<a class="code" href="class_c_akn_ex_editor_app_ui.html#9ce34ba0b947863222da3c63d0481044">ConstructL</a>();<a name="l00064"></a>00064     CleanupStack::Pop();    <span class="comment">// view</span><a name="l00065"></a>00065     AddViewL( view );        <span class="comment">// transfer ownership to CAknViewAppUi</span><a name="l00066"></a>00066     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="3ae77c2aed5e1270a13c14bd5aa415fe"></a><!-- doxytag: member="CAknExEditorAppUi::DynInitMenuPaneL" ref="3ae77c2aed5e1270a13c14bd5aa415fe" args="(TInt aResourceId, CEikMenuPane *aMenuPane)" --><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 CAknExEditorAppUi::DynInitMenuPaneL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TInt&nbsp;</td>          <td class="mdname" nowrap> <em>aResourceId</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>CEikMenuPane *&nbsp;</td>          <td class="mdname" nowrap> <em>aMenuPane</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>DynInitMenuPaneL From MEikMenuObserver, DynInitMenuPaneL. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aResourceID</em>&nbsp;</td><td>specifies dialog-resource ID. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>aMenuPane</em>&nbsp;</td><td>specifies menu pane </td></tr>  </table></dl><p>Definition at line <a class="el" href="aknexeditorappui_8cpp-source.html#l00084">84</a> of file <a class="el" href="aknexeditorappui_8cpp-source.html">aknexeditorappui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00086"></a>00086     {<a name="l00087"></a>00087     }</pre></div><p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -