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

📄 class_qwt_legend_item.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 4 页
字号:
  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#53cd8956bab00b09be587da0bb7ca42b">identifierMode()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00173">173</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.    </td>  </tr></table><a class="anchor" name="e6487dbe8f2c72512887df8bcb648d53"></a><!-- doxytag: member="QwtLegendItem::setItemMode" ref="e6487dbe8f2c72512887df8bcb648d53" args="(QwtLegend::LegendItemMode)" --><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 QwtLegendItem::setItemMode           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_legend.html#b216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>mode</em>          </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>Set the item mode The default is QwtLegend::ReadOnlyItem<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>Item mode </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#2574e634e54eb7afff34ca24752c3f9b">itemMode()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00142">142</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>References <a class="el" href="qwt__text__label_8cpp-source.html#l00152">QwtTextLabel::setMargin()</a>.    </td>  </tr></table><a class="anchor" name="4ff8a83f130d56bf5932c6a35384d85f"></a><!-- doxytag: member="QwtLegendItem::setSpacing" ref="4ff8a83f130d56bf5932c6a35384d85f" args="(int spacing)" --><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 QwtLegendItem::setSpacing           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>spacing</em>          </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>Change the spacing <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>spacing</em>&nbsp;</td><td>Spacing </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#dc59d1683f3bb11a795098776e76c0bc">spacing()</a>, <a class="el" href="class_qwt_legend_item.html#3326305e42b8904e55bf0c358b69267a">identifierWidth()</a>, <a class="el" href="class_qwt_text_label.html#b754bebe50bc0e713cde9ba58bf6c3c8">QwtTextLabel::margin()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00224">224</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>References <a class="el" href="qwt__text__label_8cpp-source.html#l00143">QwtTextLabel::margin()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00131">QwtTextLabel::setIndent()</a>.    </td>  </tr></table><a class="anchor" name="12029c7394b76b7431593630ce6ee386"></a><!-- doxytag: member="QwtLegendItem::setSymbol" ref="12029c7394b76b7431593630ce6ee386" args="(const QwtSymbol &amp;)" --><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 QwtLegendItem::setSymbol           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>symbol</em>          </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>Set curve symbol. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>symbol</em>&nbsp;</td><td>Symbol</td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#18ea9b789197ce0d6eedae02d27f5a55">symbol()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00250">250</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>References <a class="el" href="qwt__legend__item_8cpp-source.html#l00263">symbol()</a>.    </td>  </tr></table><a class="anchor" name="8420c4d8cd73945a25697109df5c2f0e"></a><!-- doxytag: member="QwtLegendItem::setText" ref="8420c4d8cd73945a25697109df5c2f0e" args="(const QwtText &amp;)" --><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 QwtLegendItem::setText           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>text</em>          </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>Set the text to the legend item<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Text label </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_text_label.html#6ff4f9a87e11594740f312c8522f933e">QwtTextLabel::text()</a> </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_text_label.html#c43ba313b78dccf7aa7433f26059b2e2">QwtTextLabel</a>.<p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00120">120</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>References <a class="el" href="qwt__text_8cpp-source.html#l00264">QwtText::setRenderFlags()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00086">QwtTextLabel::setText()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00107">QwtTextLabel::text()</a>.    </td>  </tr></table><a class="anchor" name="6248ff72fbbdf1997a590fb0a2d7088f"></a><!-- doxytag: member="QwtLegendItem::sizeHint" ref="6248ff72fbbdf1997a590fb0a2d7088f" 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">QSize QwtLegendItem::sizeHint           </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> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return label's margin in pixels. <p><p>Reimplemented from <a class="el" href="class_qwt_text_label.html#0217bc022e6f3b2f22819c84d5867ae7">QwtTextLabel</a>.<p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00526">526</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>References <a class="el" href="qwt__text__label_8cpp-source.html#l00161">QwtTextLabel::sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="dc59d1683f3bb11a795098776e76c0bc"></a><!-- doxytag: member="QwtLegendItem::spacing" ref="dc59d1683f3bb11a795098776e76c0bc" 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">int QwtLegendItem::spacing           </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</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return the spacing <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#4ff8a83f130d56bf5932c6a35384d85f">setSpacing()</a>, <a class="el" href="class_qwt_legend_item.html#3326305e42b8904e55bf0c358b69267a">identifierWidth()</a>, <a class="el" href="class_qwt_text_label.html#b754bebe50bc0e713cde9ba58bf6c3c8">QwtTextLabel::margin()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00239">239</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00354">drawItem()</a>.    </td>  </tr></table><a class="anchor" name="18ea9b789197ce0d6eedae02d27f5a55"></a><!-- doxytag: member="QwtLegendItem::symbol" ref="18ea9b789197ce0d6eedae02d27f5a55" 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">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp; QwtLegendItem::symbol           </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</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Returns:</b></dt><dd>The curve symbol. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#12029c7394b76b7431593630ce6ee386">setSymbol()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00263">263</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.<p>Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00087">QwtLegendItem()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00250">setSymbol()</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:24:01 2007 for Qwt User's Guide by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>

⌨️ 快捷键说明

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