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

📄 class_qwt_double_range.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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">bool QwtDoubleRange::periodic           </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>Returns true if the range is periodic. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#95fa6a4e44fc47726d939155bb6f6f1f">QwtDoubleRange::setPeriodic()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__double__range_8cpp-source.html#l00348">348</a> of file <a class="el" href="qwt__double__range_8cpp-source.html">qwt_double_range.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00410">QwtDial::wrapping()</a>.    </td>  </tr></table><a class="anchor" name="38768187bef94dd5e5a2c8664746b365"></a><!-- doxytag: member="QwtDoubleRange::prevValue" ref="38768187bef94dd5e5a2c8664746b365" 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">double QwtDoubleRange::prevValue           </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> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Returns the previous value. <p><p>Definition at line <a class="el" href="qwt__double__range_8cpp-source.html#l00386">386</a> of file <a class="el" href="qwt__double__range_8cpp-source.html">qwt_double_range.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l01187">QwtDial::keyPressEvent()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00305">QwtAbstractSlider::mouseMoveEvent()</a>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00336">QwtAbstractSlider::wheelEvent()</a>.    </td>  </tr></table><a class="anchor" name="3583134a1ac32706aa4742088bb9d4dc"></a><!-- doxytag: member="QwtDoubleRange::rangeChange" ref="3583134a1ac32706aa4742088bb9d4dc" 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 QwtDoubleRange::rangeChange           </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> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Notify a change of the range. <p>This virtual function is called whenever the range changes. The default implementation does nothing. <p>Reimplemented in <a class="el" href="class_qwt_counter.html#4fd4e750b1f5a852250e57778a3e4159">QwtCounter</a>, <a class="el" href="class_qwt_dial.html#81b21a9954c5561af549214ee153573c">QwtDial</a>, and <a class="el" href="class_qwt_slider.html#e8eff3a30ef4086cac42d244cef81ac0">QwtSlider</a>.<p>Definition at line <a class="el" href="qwt__double__range_8cpp-source.html#l00294">294</a> of file <a class="el" href="qwt__double__range_8cpp-source.html">qwt_double_range.cpp</a>.<p>Referenced by <a class="el" href="qwt__slider_8cpp-source.html#l00692">QwtSlider::rangeChange()</a>, and <a class="el" href="qwt__double__range_8cpp-source.html#l00169">setRange()</a>.    </td>  </tr></table><a class="anchor" name="95fa6a4e44fc47726d939155bb6f6f1f"></a><!-- doxytag: member="QwtDoubleRange::setPeriodic" ref="95fa6a4e44fc47726d939155bb6f6f1f" args="(bool tf)" --><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 QwtDoubleRange::setPeriodic           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>tf</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>Make the range periodic. <p>When the range is periodic, the value will be set to a point inside the interval such that<p><div class="fragment"><pre class="fragment">point = value + n * width </pre></div><p>if the user tries to set a new value which is outside the range. If the range is nonperiodic (the default), values outside the range will be clipped.<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>tf</em>&nbsp;</td><td>true for a periodic range </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__double__range_8cpp-source.html#l00248">248</a> of file <a class="el" href="qwt__double__range_8cpp-source.html">qwt_double_range.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00397">QwtDial::setWrapping()</a>.    </td>  </tr></table><a class="anchor" name="43891011664b74b8e5454763a3f5ff21"></a><!-- doxytag: member="QwtDoubleRange::setRange" ref="43891011664b74b8e5454763a3f5ff21" args="(double vmin, double vmax, double vstep=0.0, int pagesize=1)" --><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 QwtDoubleRange::setRange           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname" nowrap> <em>vmin</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>vmax</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>vstep</em> = <code>0.0</code>, </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>pageSize</em> = <code>1</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Specify range and step size. <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>vmin</em>&nbsp;</td><td>lower boundary of the interval </td></tr>    <tr><td valign="top"></td><td valign="top"><em>vmax</em>&nbsp;</td><td>higher boundary of the interval </td></tr>    <tr><td valign="top"></td><td valign="top"><em>vstep</em>&nbsp;</td><td>step width </td></tr>    <tr><td valign="top"></td><td valign="top"><em>pageSize</em>&nbsp;</td><td>page size in steps </td></tr>  </table></dl><dl compact><dt><b>Warning:</b></dt><dd><ul><li>A change of the range changes the value if it lies outside the new range. The current value will *not* be adjusted to the new step raster. </li><li>vmax &lt; vmin is allowed. </li><li>If the step size is left out or set to zero, it will be set to 1/100 of the interval length. </li><li>If the step size has an absurd value, it will be corrected to a better one. </li></ul></dd></dl><p>Definition at line <a class="el" href="qwt__double__range_8cpp-source.html#l00169">169</a> of file <a class="el" href="qwt__double__range_8cpp-source.html">qwt_double_range.cpp</a>.<p>References <a class="el" href="qwt__double__range_8cpp-source.html#l00294">rangeChange()</a>, and <a class="el" href="qwt__double__range_8cpp-source.html#l00208">setStep()</a>.<p>Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00580">QwtCounter::setMaxValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00568">QwtCounter::setMinValue()</a>.    </td>  </tr></table><a class="anchor" name="29ed5fc66439def424a8ad773eea285d"></a><!-- doxytag: member="QwtDoubleRange::setStep" ref="29ed5fc66439def424a8ad773eea285d" args="(double)" --><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 QwtDoubleRange::setStep           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>vstep</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 step raster. <p><dl compact><dt><b>Parameters:</b></dt><dd>

⌨️ 快捷键说明

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