📄 class_qwt_legend_item.html
字号:
<p>Or'd values of IdentifierMode. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#cbd7bb723c868b26bc91cfbc54ade719">setIdentifierMode()</a>, <a class="el" href="class_qwt_legend_item.html#9f84379e79c1856a6bd4970a719d97bd">IdentifierMode</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00186">186</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="3326305e42b8904e55bf0c358b69267a"></a><!-- doxytag: member="QwtLegendItem::identifierWidth" ref="3326305e42b8904e55bf0c358b69267a" 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::identifierWidth </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</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the width of the identifier<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#c435a0541a9c2a5938a879f44a4fc8f5">setIdentfierWidth</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00214">214</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="2574e634e54eb7afff34ca24752c3f9b"></a><!-- doxytag: member="QwtLegendItem::itemMode" ref="2574e634e54eb7afff34ca24752c3f9b" 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"><a class="el" href="class_qwt_legend.html#b216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a> QwtLegendItem::itemMode </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</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the item mode<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#e6487dbe8f2c72512887df8bcb648d53">setItemMode()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00161">161</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="c154aa6b045d78f8134bbfab19a9729b"></a><!-- doxytag: member="QwtLegendItem::paintEvent" ref="c154aa6b045d78f8134bbfab19a9729b" args="(QPaintEvent *)" --><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::paintEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QPaintEvent * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Qt paint event. <p><p>Reimplemented from <a class="el" href="class_qwt_text_label.html#ff00274ee1c860530920b4feaca02393">QwtTextLabel</a>.<p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00378">378</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#l00241">QwtTextLabel::drawContents()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00298">drawIdentifier()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00143">QwtTextLabel::margin()</a>. </td> </tr></table><a class="anchor" name="7cc6a0390cc0aaea2feb8a324139410c"></a><!-- doxytag: member="QwtLegendItem::pressed" ref="7cc6a0390cc0aaea2feb8a324139410c" 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 QwtLegendItem::pressed </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [signal]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Signal, when the legend item has been pressed. <p><p>Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00498">setDown()</a>. </td> </tr></table><a class="anchor" name="7286b8900294659d0850ac588aafaa97"></a><!-- doxytag: member="QwtLegendItem::released" ref="7286b8900294659d0850ac588aafaa97" 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 QwtLegendItem::released </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [signal]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Signal, when the legend item has been relased. <p><p>Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00498">setDown()</a>. </td> </tr></table><a class="anchor" name="97803f16937bf1a392b7675fd7c9b503"></a><!-- doxytag: member="QwtLegendItem::setCurvePen" ref="97803f16937bf1a392b7675fd7c9b503" args="(const QPen &)" --><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::setCurvePen </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPen & </td> <td class="mdname1" valign="top" nowrap> <em>pen</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set curve pen. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>Curve pen</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#3ca8da18f186d02388b99d9de79f40b5">curvePen()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00275">275</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="c435a0541a9c2a5938a879f44a4fc8f5"></a><!-- doxytag: member="QwtLegendItem::setIdentfierWidth" ref="c435a0541a9c2a5938a879f44a4fc8f5" args="(int width)" --><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::setIdentfierWidth </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>width</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the width for the identifier Default is 8 pixels<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>width</em> </td><td>New width</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#53cd8956bab00b09be587da0bb7ca42b">identifierMode()</a>, <a class="el" href="class_qwt_legend_item.html#3326305e42b8904e55bf0c358b69267a">identifierWidth</a> </dd></dl><p>Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00199">199</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="cbd7bb723c868b26bc91cfbc54ade719"></a><!-- doxytag: member="QwtLegendItem::setIdentifierMode" ref="cbd7bb723c868b26bc91cfbc54ade719" args="(int)" --><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::setIdentifierMode </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>mode</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set identifier mode. Default is ShowLine | ShowText. <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> </td><td>Or'd values of IdentifierMode</td></tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -