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

📄 class_qwt_counter.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 4 页
字号:
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00610">610</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__counter_8cpp-source.html#l00355">setIncSteps()</a>.    </td>  </tr></table><a class="anchor" name="429a2e986aa46c1231643df5d4c78970"></a><!-- doxytag: member="QwtCounter::setValue" ref="429a2e986aa46c1231643df5d4c78970" 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 QwtCounter::setValue           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>v</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>Set a new value. <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>v</em>&nbsp;</td><td>new value Calls <a class="el" href="class_qwt_double_range.html#f6a3aa74c970a2bef29f0c1af99720e8">QwtDoubleRange::setValue</a> and does all visual updates. </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#f6a3aa74c970a2bef29f0c1af99720e8">QwtDoubleRange::setValue</a> </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_double_range.html#f6a3aa74c970a2bef29f0c1af99720e8">QwtDoubleRange</a>.<p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00382">382</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__double__range_8cpp-source.html#l00147">QwtDoubleRange::setValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00621">value()</a>.<p>Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00236">keyPressEvent()</a>.    </td>  </tr></table><a class="anchor" name="9ccdfd602ccd5ecd8595172cd22b2b27"></a><!-- doxytag: member="QwtCounter::sizeHint" ref="9ccdfd602ccd5ecd8595172cd22b2b27" 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 QwtCounter::sizeHint           </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>A size hint. <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00513">513</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <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>, and <a class="el" href="qwt__counter_8cpp-source.html#l00550">step()</a>.    </td>  </tr></table><a class="anchor" name="b3496bdd6bdb093462bca588880d8c1b"></a><!-- doxytag: member="QwtCounter::step" ref="b3496bdd6bdb093462bca588880d8c1b" 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 QwtCounter::step           </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 the step size <p><p>Reimplemented from <a class="el" href="class_qwt_double_range.html#0cb8cc60548c10cb1d98e54387961967">QwtDoubleRange</a>.<p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00550">550</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__double__range_8cpp-source.html#l00313">QwtDoubleRange::step()</a>.<p>Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00580">setMaxValue()</a>, <a class="el" href="qwt__counter_8cpp-source.html#l00568">setMinValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00513">sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="8e0b28f111c45b3a2241fd8889bc8bce"></a><!-- doxytag: member="QwtCounter::stepButton1" ref="8e0b28f111c45b3a2241fd8889bc8bce" 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 QwtCounter::stepButton1           </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 the number of increment steps for button 1 <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00592">592</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__counter_8cpp-source.html#l00367">incSteps()</a>.    </td>  </tr></table><a class="anchor" name="7d99de95e1c05e4994413e6d8cd641fe"></a><!-- doxytag: member="QwtCounter::stepButton2" ref="7d99de95e1c05e4994413e6d8cd641fe" 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 QwtCounter::stepButton2           </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 the number of increment steps for button 2 <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00604">604</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__counter_8cpp-source.html#l00367">incSteps()</a>.    </td>  </tr></table><a class="anchor" name="bc6eb2073cc7d7b5f1d7e4c6c7b205c9"></a><!-- doxytag: member="QwtCounter::stepButton3" ref="bc6eb2073cc7d7b5f1d7e4c6c7b205c9" 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 QwtCounter::stepButton3           </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 the number of increment steps for button 3 <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00616">616</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__counter_8cpp-source.html#l00367">incSteps()</a>.    </td>  </tr></table><a class="anchor" name="121194fadd8cea929c1ac9509f27fe58"></a><!-- doxytag: member="QwtCounter::value" ref="121194fadd8cea929c1ac9509f27fe58" 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 QwtCounter::value           </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>Returns the current value. <p><p>Reimplemented from <a class="el" href="class_qwt_double_range.html#7777cf257c812579c4891512f1b6cad0">QwtDoubleRange</a>.<p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00621">621</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>References <a class="el" href="qwt__double__range_8cpp-source.html#l00360">QwtDoubleRange::value()</a>.<p>Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00382">setValue()</a>.    </td>  </tr></table><a class="anchor" name="dd02928c348417fbfadd7095d058f331"></a><!-- doxytag: member="QwtCounter::valueChanged" ref="dd02928c348417fbfadd7095d058f331" args="(double value)" --><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 QwtCounter::valueChanged           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [signal]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This signal is emitted when the counter's value has changed <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value </td></tr>  </table></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:23:26 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 + -