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

📄 class_qwt_text_label.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<p>References <a class="el" href="qwt__painter_8cpp-source.html#l00564">QwtPainter::drawFocusRect()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00270">drawText()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00143">margin()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00279">textRect()</a>.<p>Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00218">paintEvent()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00378">QwtLegendItem::paintEvent()</a>.    </td>  </tr></table><a class="anchor" name="88491c6677985ca048a3ebc095940df3"></a><!-- doxytag: member="QwtTextLabel::drawText" ref="88491c6677985ca048a3ebc095940df3" args="(QPainter *, const QRect &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 QwtTextLabel::drawText           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname" nowrap>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const QRect &amp;&nbsp;</td>          <td class="mdname" nowrap></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Redraw the text. <p><p>Reimplemented in <a class="el" href="class_qwt_legend_item.html#fa466fbb3689353107872c6e133b5ddf">QwtLegendItem</a>.<p>Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00270">270</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.<p>Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00535">QwtLegendItem::drawText()</a>.    </td>  </tr></table><a class="anchor" name="de1867a2c9308f2235cfacf675fa1d4c"></a><!-- doxytag: member="QwtTextLabel::heightForWidth" ref="de1867a2c9308f2235cfacf675fa1d4c" args="(int) 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 QwtTextLabel::heightForWidth           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>width</em>          </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>Returns the preferred height for this widget, given the width. <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>&nbsp;</td><td>Width </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00196">196</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.<p>References <a class="el" href="qwt__text__label_8cpp-source.html#l00122">indent()</a>.    </td>  </tr></table><a class="anchor" name="56d1c5c770efd4f829f33d0b42f00c9b"></a><!-- doxytag: member="QwtTextLabel::indent" ref="56d1c5c770efd4f829f33d0b42f00c9b" 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 QwtTextLabel::indent           </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 label's text indent in pixels. <p><p>Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00122">122</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.<p>Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00196">heightForWidth()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00167">minimumSizeHint()</a>.    </td>  </tr></table><a class="anchor" name="b754bebe50bc0e713cde9ba58bf6c3c8"></a><!-- doxytag: member="QwtTextLabel::margin" ref="b754bebe50bc0e713cde9ba58bf6c3c8" 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 QwtTextLabel::margin           </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 label's text indent in pixels. <p><p>Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00143">143</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.<p>Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00354">QwtLegendItem::drawItem()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00378">QwtLegendItem::paintEvent()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00199">QwtLegendItem::setIdentfierWidth()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00224">QwtLegendItem::setSpacing()</a>.    </td>  </tr></table><a class="anchor" name="75ed6482ddb21e4f67ad9272f2ce66bb"></a><!-- doxytag: member="QwtTextLabel::minimumSizeHint" ref="75ed6482ddb21e4f67ad9272f2ce66bb" 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 QwtTextLabel::minimumSizeHint           </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 a minimum size hint. <p><p>Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00167">167</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.<p>References <a class="el" href="qwt__text__label_8cpp-source.html#l00122">indent()</a>.<p>Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00161">sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="ff00274ee1c860530920b4feaca02393"></a><!-- doxytag: member="QwtTextLabel::paintEvent" ref="ff00274ee1c860530920b4feaca02393" args="(QPaintEvent *e)" --><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 QwtTextLabel::paintEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPaintEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>e</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Qt paint event. <p><p>Reimplemented in <a class="el" href="class_qwt_legend_item.html#c154aa6b045d78f8134bbfab19a9729b">QwtLegendItem</a>.<p>Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00218">218</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.<p>References <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>.    </td>  </tr></table><a class="anchor" name="ad25ab34c219f8d97ec7c39d064ed4a0"></a><!-- doxytag: member="QwtTextLabel::setIndent" ref="ad25ab34c219f8d97ec7c39d064ed4a0" 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 QwtTextLabel::setIndent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>indent</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>

⌨️ 快捷键说明

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