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

📄 class_c_akn_ex_editor_container.html

📁 一个S60V3 FP1 的编辑软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
      &nbsp;    </td>    <td><p>From CoeControl,SizeChanged. <p>Definition at line <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00124">124</a> of file <a class="el" href="aknexeditorcontainer_8cpp-source.html">aknexeditorcontainer.cpp</a>.<p>References <a class="el" href="aknexeditorcontainer_8h-source.html#l00159">iGTextEd</a>.<div class="fragment"><pre class="fragment"><a name="l00125"></a>00125     {<a name="l00126"></a>00126     TSize size = Size();<a name="l00127"></a>00127     <span class="keywordflow">if</span> (<a class="code" href="class_c_akn_ex_editor_container.html#159b83de6413bb49575c066d68a4495d">iGTextEd</a>-&gt;ScrollBarFrame())<a name="l00128"></a>00128         {<a name="l00129"></a>00129         size.iWidth -= <a class="code" href="class_c_akn_ex_editor_container.html#159b83de6413bb49575c066d68a4495d">iGTextEd</a>-&gt;ScrollBarFrame()-&gt;VerticalScrollBar()-&gt;ScrollBarBreadth();<a name="l00130"></a>00130         }<a name="l00131"></a>00131     <a class="code" href="class_c_akn_ex_editor_container.html#159b83de6413bb49575c066d68a4495d">iGTextEd</a>-&gt;SetExtent(TPoint(0,0), size);<a name="l00132"></a>00132     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="195be64c0e5b9f91ce87699e499af01c"></a><!-- doxytag: member="CAknExEditorContainer::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 CAknExEditorContainer::CountComponentControls           </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> const<code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>From CoeControl,CountComponentControls. <p>Definition at line <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00139">139</a> of file <a class="el" href="aknexeditorcontainer_8cpp-source.html">aknexeditorcontainer.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00140"></a>00140     {<a name="l00141"></a>00141     <span class="keywordflow">return</span> KNumberOfControls; <span class="comment">// return nbr of controls inside this container</span><a name="l00142"></a>00142     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="c1d1ba8d1c19e939c47fb73d50cb5432"></a><!-- doxytag: member="CAknExEditorContainer::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 * CAknExEditorContainer::ComponentControl           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TInt&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aIndex</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>From CCoeControl,ComponentControl. <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>&nbsp;</td><td>of control </td></tr>  </table></dl><p>Definition at line <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00149">149</a> of file <a class="el" href="aknexeditorcontainer_8cpp-source.html">aknexeditorcontainer.cpp</a>.<p>References <a class="el" href="aknexeditorcontainer_8h-source.html#l00159">iGTextEd</a>, and <a class="el" href="aknexeditorcontainer_8h-source.html#l00154">iLabel</a>.<div class="fragment"><pre class="fragment"><a name="l00150"></a>00150     {<a name="l00151"></a>00151     <span class="keywordflow">switch</span> ( aIndex )<a name="l00152"></a>00152         {<a name="l00153"></a>00153         <span class="keywordflow">case</span> EGTextEdPrompt:<a name="l00154"></a>00154             <span class="keywordflow">return</span> <a class="code" href="class_c_akn_ex_editor_container.html#f49c68988a8223c682bb785cfc992bce">iLabel</a>;<a name="l00155"></a>00155         <span class="keywordflow">case</span> EGTextEd:<a name="l00156"></a>00156             <span class="keywordflow">return</span> <a class="code" href="class_c_akn_ex_editor_container.html#159b83de6413bb49575c066d68a4495d">iGTextEd</a>;<a name="l00157"></a>00157         <span class="keywordflow">default</span>:<a name="l00158"></a>00158             <span class="keywordflow">return</span> NULL;<a name="l00159"></a>00159         }<a name="l00160"></a>00160     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="6775621e6d3ce05d6685555c939c7706"></a><!-- doxytag: member="CAknExEditorContainer::OfferKeyEventL" ref="6775621e6d3ce05d6685555c939c7706" args="(const TKeyEvent &amp;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 CAknExEditorContainer::OfferKeyEventL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const TKeyEvent &amp;&nbsp;</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&nbsp;</td>          <td class="mdname" nowrap> <em>aType</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>OfferKeyEventL From CCoeControl, Handles key event. <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>&nbsp;</td><td>The key event. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>aType</em>&nbsp;</td><td>The type of the event. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Indicates whether or not the key event was used by this control. </dd></dl><p>Definition at line <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00289">289</a> of file <a class="el" href="aknexeditorcontainer_8cpp-source.html">aknexeditorcontainer.cpp</a>.<p>References <a class="el" href="aknexeditorcontainer_8h-source.html#l00159">iGTextEd</a>.<div class="fragment"><pre class="fragment"><a name="l00291"></a>00291     {<a name="l00292"></a>00292     <span class="keywordflow">return</span> <a class="code" href="class_c_akn_ex_editor_container.html#159b83de6413bb49575c066d68a4495d">iGTextEd</a>-&gt;OfferKeyEventL( aKeyEvent, aType );<a name="l00293"></a>00293     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="fd8d1486e494e8a6c1ea3199e29baf5b"></a><!-- doxytag: member="CAknExEditorContainer::HandleControlEventL" ref="fd8d1486e494e8a6c1ea3199e29baf5b" args="(CCoeControl *, TCoeEvent)" --><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 CAknExEditorContainer::HandleControlEventL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">CCoeControl *&nbsp;</td>          <td class="mdname" nowrap>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>TCoeEvent&nbsp;</td>          <td class="mdname" nowrap></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>HandleControlEventL From MCoeControlObserver, Handles an event of type aEventType <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aControl</em>&nbsp;</td><td>Pointer to component control </td></tr>    <tr><td valign="top"></td><td valign="top"><em>aEventType</em>&nbsp;</td><td>Event Code </td></tr>  </table></dl><p>Definition at line <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00300">300</a> of file <a class="el" href="aknexeditorcontainer_8cpp-source.html">aknexeditorcontainer.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00302"></a>00302     {<a name="l00303"></a>00303     }</pre></div><p>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="f49c68988a8223c682bb785cfc992bce"></a><!-- doxytag: member="CAknExEditorContainer::iLabel" ref="f49c68988a8223c682bb785cfc992bce" 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">CEikLabel* <a class="el" href="class_c_akn_ex_editor_container.html#f49c68988a8223c682bb785cfc992bce">CAknExEditorContainer::iLabel</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iLabel Owned by CAknExEditorContainer object. <p>Definition at line <a class="el" href="aknexeditorcontainer_8h-source.html#l00154">154</a> of file <a class="el" href="aknexeditorcontainer_8h-source.html">aknexeditorcontainer.h</a>.<p>Referenced by <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00149">ComponentControl()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00045">ConstructL()</a>, and <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00077">~CAknExEditorContainer()</a>.    </td>  </tr></table><a class="anchor" name="159b83de6413bb49575c066d68a4495d"></a><!-- doxytag: member="CAknExEditorContainer::iGTextEd" ref="159b83de6413bb49575c066d68a4495d" 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">CEikGlobalTextEditor* <a class="el" href="class_c_akn_ex_editor_container.html#159b83de6413bb49575c066d68a4495d">CAknExEditorContainer::iGTextEd</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iGTextEd, Global Rich Text Editor Owned by CAknExEditorContainer object. <p>Definition at line <a class="el" href="aknexeditorcontainer_8h-source.html#l00159">159</a> of file <a class="el" href="aknexeditorcontainer_8h-source.html">aknexeditorcontainer.h</a>.<p>Referenced by <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00276">ClearTextL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00149">ComponentControl()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00045">ConstructL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00289">OfferKeyEventL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00254">OpenFileL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00232">SaveToFileL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00215">ScrollTextL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00089">SetSystemFontL()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00124">SizeChanged()</a>, <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00166">TestSelectedCase()</a>, and <a class="el" href="aknexeditorcontainer_8cpp-source.html#l00077">~CAknExEditorContainer()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="aknexeditorcontainer_8h-source.html">aknexeditorcontainer.h</a><li><a class="el" href="aknexeditorcontainer_8cpp-source.html">aknexeditorcontainer.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 + -