📄 class_qwt_counter.html
字号:
</table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_counter.html#8817a2b253273d694b02a81feb76ef64">editable()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00185">185</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>. </td> </tr></table><a class="anchor" name="6aa68e7fc717fb0e2e48a978301c96eb"></a><!-- doxytag: member="QwtCounter::setIncSteps" ref="6aa68e7fc717fb0e2e48a978301c96eb" args="(QwtCounter::Button btn, int nSteps)" --><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::setIncSteps </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a> </td> <td class="mdname" nowrap> <em>btn</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>nSteps</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the number of steps by which the value is incremented or decremented when a specified button is pushed.<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>btn</em> </td><td>One of <code>QwtCounter::Button1</code>, <code>QwtCounter::Button2</code>, <code>QwtCounter::Button3</code> </td></tr> <tr><td valign="top"></td><td valign="top"><em>nSteps</em> </td><td>Number of steps </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00355">355</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.<p>Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00586">setStepButton1()</a>, <a class="el" href="qwt__counter_8cpp-source.html#l00598">setStepButton2()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00610">setStepButton3()</a>. </td> </tr></table><a class="anchor" name="fd1de4657645bd41a8ccdaa21a7dc591"></a><!-- doxytag: member="QwtCounter::setMaxValue" ref="fd1de4657645bd41a8ccdaa21a7dc591" args="(double m)" --><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::setMaxValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>m</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>sets the maximum value of the range <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00580">580</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#l00339">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00169">QwtDoubleRange::setRange()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00550">step()</a>. </td> </tr></table><a class="anchor" name="8c1b902c0805f3581568b4d700e79221"></a><!-- doxytag: member="QwtCounter::setMinValue" ref="8c1b902c0805f3581568b4d700e79221" args="(double m)" --><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::setMinValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>m</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>sets the minimum value of the range <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00568">568</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#l00169">QwtDoubleRange::setRange()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00550">step()</a>. </td> </tr></table><a class="anchor" name="e9241fda2e375becdb484cc2cf7752f4"></a><!-- doxytag: member="QwtCounter::setNumButtons" ref="e9241fda2e375becdb484cc2cf7752f4" args="(int n)" --><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::setNumButtons </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>n</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the number of buttons on each side of the label. <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>n</em> </td><td>Number of buttons </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00441">441</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>. </td> </tr></table><a class="anchor" name="b885e97d0071877dfefb73feb0adc0cd"></a><!-- doxytag: member="QwtCounter::setStep" ref="b885e97d0071877dfefb73feb0adc0cd" args="(double s)" --><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::setStep </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>s</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>sets the step size <p><p>Reimplemented from <a class="el" href="class_qwt_double_range.html#29ed5fc66439def424a8ad773eea285d">QwtDoubleRange</a>.<p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00556">556</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#l00208">QwtDoubleRange::setStep()</a>. </td> </tr></table><a class="anchor" name="e56a556a72955b6d10419f2c41779383"></a><!-- doxytag: member="QwtCounter::setStepButton1" ref="e56a556a72955b6d10419f2c41779383" args="(int nSteps)" --><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::setStepButton1 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>nSteps</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>set the number of increment steps for button 1 <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00586">586</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="0d764a96706593d8c8b51338e92abfcc"></a><!-- doxytag: member="QwtCounter::setStepButton2" ref="0d764a96706593d8c8b51338e92abfcc" args="(int nSteps)" --><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::setStepButton2 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>nSteps</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>set the number of increment steps for button 2 <p><p>Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00598">598</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="8b55539578de083793b8310cb8909294"></a><!-- doxytag: member="QwtCounter::setStepButton3" ref="8b55539578de083793b8310cb8909294" args="(int nSteps)" --><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::setStepButton3 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>nSteps</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>set the number of increment steps for button 3 <p><p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -