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

📄 class_qwt_dial.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 5 页
字号:
      &nbsp;    </td>    <td><p>Frame shadow. <p>Unfortunately it is not possible to use QFrame::Shadow as a property of a widget that is not derived from QFrame. The following enum is made for the designer only. It is safe to use QFrame::Shadow instead. <p>Definition at line <a class="el" href="qwt__dial_8h-source.html#l00092">92</a> of file <a class="el" href="qwt__dial_8h-source.html">qwt_dial.h</a>.    </td>  </tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="910ad090ceb51587c965d9a2c9db8f60"></a><!-- doxytag: member="QwtDial::QwtDial" ref="910ad090ceb51587c965d9a2c9db8f60" args="(QWidget *parent=NULL)" --><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">QwtDial::QwtDial           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QWidget *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>parent</em> = <code>NULL</code>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [explicit]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Constructor. <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>parent</em>&nbsp;</td><td>Parent widget</td></tr>  </table></dl>Create a dial widget with no scale and no needle. The default origin is 90.0 with no valid value. It accepts mouse and keyboard inputs and has no step size. The default mode is QwtDial::RotateNeedle. <p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00143">143</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.    </td>  </tr></table><a class="anchor" name="16cd1e45a78890c6c5f6e9c07b0180c7"></a><!-- doxytag: member="QwtDial::~QwtDial" ref="16cd1e45a78890c6c5f6e9c07b0180c7" 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">QwtDial::~QwtDial           </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><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Destructor. <p><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00207">207</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="0d52d45d3a693e66d5799e285efdd34d"></a><!-- doxytag: member="QwtDial::boundingRect" ref="0d52d45d3a693e66d5799e285efdd34d" 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">QRect QwtDial::boundingRect           </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>bounding rect of the dial including the frame </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#7946ca363a97fd28de4993a5caa54507">setLineWidth()</a>, <a class="el" href="class_qwt_dial.html#0986903d2c6bcbf3cc36dfb094f59d47">scaleContentsRect()</a>, <a class="el" href="class_qwt_dial.html#3e3b060c08497cf2a20a731b080fc7c3">contentsRect()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00311">311</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00294">contentsRect()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00572">drawContents()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00510">drawFrame()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l01246">updateMask()</a>.    </td>  </tr></table><a class="anchor" name="3e3b060c08497cf2a20a731b080fc7c3"></a><!-- doxytag: member="QwtDial::contentsRect" ref="3e3b060c08497cf2a20a731b080fc7c3" 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">QRect QwtDial::contentsRect           </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>bounding rect of the circle inside the frame </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#7946ca363a97fd28de4993a5caa54507">setLineWidth()</a>, <a class="el" href="class_qwt_dial.html#0986903d2c6bcbf3cc36dfb094f59d47">scaleContentsRect()</a>, <a class="el" href="class_qwt_dial.html#0d52d45d3a693e66d5799e285efdd34d">boundingRect()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00294">294</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__dial_8cpp-source.html#l00311">boundingRect()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l00285">lineWidth()</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00463">drawFocusIndicator()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l01155">getScrollMode()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l00324">scaleContentsRect()</a>.    </td>  </tr></table><a class="anchor" name="9c567a9ce20120f3094a3d21ad26874a"></a><!-- doxytag: member="QwtDial::drawContents" ref="9c567a9ce20120f3094a3d21ad26874a" args="(QPainter *) 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">void QwtDial::drawContents           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>painter</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draw the contents inside the frame. <p>QColorGroup::Background is the background color outside of the frame. QColorGroup::Base is the background color inside the frame. QColorGroup::Foreground is the background color inside the scale.<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>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#0d52d45d3a693e66d5799e285efdd34d">boundingRect()</a>, <a class="el" href="class_qwt_dial.html#3e3b060c08497cf2a20a731b080fc7c3">contentsRect()</a>, <a class="el" href="class_qwt_dial.html#0986903d2c6bcbf3cc36dfb094f59d47">scaleContentsRect()</a>, QWidget::setPalette </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00572">572</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__dial_8cpp-source.html#l00311">boundingRect()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00682">drawNeedle()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00704">drawScale()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00755">drawScaleContents()</a>, <a class="el" href="qwt__abstract__slider_8h-source.html#l00087">QwtAbstractSlider::isValid()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00326">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00339">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00382">mode()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00965">origin()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00324">scaleContentsRect()</a>, and <a class="el" href="qwt__double__range_8cpp-source.html#l00360">QwtDoubleRange::value()</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00431">paintEvent()</a>.    </td>  </tr></table><a class="anchor" name="1fce41a19c2e368fe90551e29c4de076"></a><!-- doxytag: member="QwtDial::drawFocusIndicator" ref="1fce41a19c2e368fe90551e29c4de076" args="(QPainter *) 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">void QwtDial::drawFocusIndicator           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>painter</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draw a dotted round circle, if !isReadOnly()<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>  </table></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00463">463</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__dial_8cpp-source.html#l00294">contentsRect()</a>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00098">QwtAbstractSlider::isReadOnly()</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00431">paintEvent()</a>.    </td>  </tr></table><a class="anchor" name="d4534ebd8e4a792edbad3e16c25be7ca"></a><!-- doxytag: member="QwtDial::drawFrame" ref="d4534ebd8e4a792edbad3e16c25be7ca" args="(QPainter *p)" --><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 QwtDial::drawFrame           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>painter</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>

⌨️ 快捷键说明

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