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

📄 class_qwt_dial_needle.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draw the needle<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>painter</em>&nbsp;</td><td>Painter </td></tr>    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>Center of the dial, start position for the needle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>Length of the needle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Direction of the needle, in degrees counter clockwise </td></tr>    <tr><td valign="top"></td><td valign="top"><em>cg</em>&nbsp;</td><td>Color group, used for painting </td></tr>  </table></dl><p>Implemented in <a class="el" href="class_qwt_dial_simple_needle.html#e5b090bd9bbbe0d1a21c02058b8a3539">QwtDialSimpleNeedle</a>, <a class="el" href="class_qwt_compass_magnet_needle.html#5f70372a381eb8953728def1a5cb8bc2">QwtCompassMagnetNeedle</a>, and <a class="el" href="class_qwt_compass_wind_arrow.html#a3a2d79d2934205501a92a9c198e3d8a">QwtCompassWindArrow</a>.<p>Referenced by <a class="el" href="qwt__analog__clock_8cpp-source.html#l00220">QwtAnalogClock::drawHand()</a>.    </td>  </tr></table><a class="anchor" name="5ff7738a4ce55551b0949a55b145662f"></a><!-- doxytag: member="QwtDialNeedle::drawKnob" ref="5ff7738a4ce55551b0949a55b145662f" args="(QPainter *, const QPoint &amp;pos, int width, const QBrush &amp;, bool sunken)" --><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 QwtDialNeedle::drawKnob           </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 QPoint &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>pos</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>width</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const QBrush &amp;&nbsp;</td>          <td class="mdname" nowrap>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>sunken</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static, protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draw the knob. <p><p>Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00054">54</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial__needle_8cpp-source.html#l00202">QwtDialSimpleNeedle::drawArrowNeedle()</a>, <a class="el" href="qwt__dial__needle_8cpp-source.html#l00150">QwtDialSimpleNeedle::drawRayNeedle()</a>, and <a class="el" href="qwt__dial__needle_8cpp-source.html#l00383">QwtCompassMagnetNeedle::drawThinNeedle()</a>.    </td>  </tr></table><a class="anchor" name="8b3c915032389261e07cc983b433166c"></a><!-- doxytag: member="QwtDialNeedle::palette" ref="8b3c915032389261e07cc983b433166c" 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 QPalette &amp; QwtDialNeedle::palette           </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 palette of the needle. </dd></dl><p>Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00048">48</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial__needle_8cpp-source.html#l00492">QwtCompassWindArrow::draw()</a>, <a class="el" href="qwt__dial__needle_8cpp-source.html#l00292">QwtCompassMagnetNeedle::draw()</a>, <a class="el" href="qwt__dial__needle_8cpp-source.html#l00132">QwtDialSimpleNeedle::draw()</a>, <a class="el" href="qwt__dial__needle_8cpp-source.html#l00265">QwtCompassMagnetNeedle::QwtCompassMagnetNeedle()</a>, <a class="el" href="qwt__dial__needle_8cpp-source.html#l00467">QwtCompassWindArrow::QwtCompassWindArrow()</a>, and <a class="el" href="qwt__dial__needle_8cpp-source.html#l00091">QwtDialSimpleNeedle::QwtDialSimpleNeedle()</a>.    </td>  </tr></table><a class="anchor" name="e850883a64501136bca64d6ea2d084b9"></a><!-- doxytag: member="QwtDialNeedle::setPalette" ref="e850883a64501136bca64d6ea2d084b9" args="(const QPalette &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 QwtDialNeedle::setPalette           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QPalette &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>palette</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>Sets the palette for the needle.<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>palette</em>&nbsp;</td><td>New Palette </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00040">40</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:23:40 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 + -