class_qwt_counter.html 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtCounter Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_counter.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-types">Public Types</a> &#124;
  85. <a href="#pub-slots">Public Slots</a> &#124;
  86. <a href="#signals">Signals</a> &#124;
  87. <a href="#pub-methods">Public Member Functions</a> &#124;
  88. <a href="#pro-methods">Protected Member Functions</a> &#124;
  89. <a href="class_qwt_counter-members.html">List of all members</a> </div>
  90. <div class="headertitle">
  91. <div class="title">QwtCounter Class Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <p>The Counter Widget.
  95. <a href="class_qwt_counter.html#details">More...</a></p>
  96. <p><code>#include &lt;<a class="el" href="qwt__counter_8h_source.html">qwt_counter.h</a>&gt;</code></p>
  97. <div class="dynheader">
  98. Inheritance diagram for QwtCounter:</div>
  99. <div class="dyncontent">
  100. <div class="center"><img src="class_qwt_counter__inherit__graph.png" border="0" usemap="#a_qwt_counter_inherit__map" alt="Inheritance graph"/></div>
  101. <map name="_qwt_counter_inherit__map" id="a_qwt_counter_inherit__map">
  102. <area shape="rect" title="The Counter Widget." alt="" coords="5,80,97,107"/>
  103. <area shape="rect" title=" " alt="" coords="15,5,88,32"/>
  104. </map>
  105. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  106. <table class="memberdecls">
  107. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  108. Public Types</h2></td></tr>
  109. <tr class="memitem:a027cfd91946ca9a19a1d606411e0f374"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">Button</a> { <a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a1b29fe43c7d59986eb5854ddaf6f7179">Button1</a>,
  110. <a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a6015e556fcb8c4d45126dee5435b478d">Button2</a>,
  111. <a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a30b64d40b31283807f1a4f3d57af0e74">Button3</a>,
  112. <a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374aca8e93a2d129f7cc91f54f5f4da20c5f">ButtonCnt</a>
  113. }</td></tr>
  114. <tr class="memdesc:a027cfd91946ca9a19a1d606411e0f374"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button index. <a href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">More...</a><br /></td></tr>
  115. <tr class="separator:a027cfd91946ca9a19a1d606411e0f374"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. </table><table class="memberdecls">
  117. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
  118. Public Slots</h2></td></tr>
  119. <tr class="memitem:a429a2e986aa46c1231643df5d4c78970"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a429a2e986aa46c1231643df5d4c78970">setValue</a> (double)</td></tr>
  120. <tr class="memdesc:a429a2e986aa46c1231643df5d4c78970"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a new value without adjusting to the step raster. <a href="class_qwt_counter.html#a429a2e986aa46c1231643df5d4c78970">More...</a><br /></td></tr>
  121. <tr class="separator:a429a2e986aa46c1231643df5d4c78970"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. </table><table class="memberdecls">
  123. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  124. Signals</h2></td></tr>
  125. <tr class="memitem:a694ed7277e137e44bccc5918b4c15ecc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a694ed7277e137e44bccc5918b4c15ecc">buttonReleased</a> (double <a class="el" href="class_qwt_counter.html#a1881fcb0f81052bd7787523246d19515">value</a>)</td></tr>
  126. <tr class="separator:a694ed7277e137e44bccc5918b4c15ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:add02928c348417fbfadd7095d058f331"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#add02928c348417fbfadd7095d058f331">valueChanged</a> (double <a class="el" href="class_qwt_counter.html#a1881fcb0f81052bd7787523246d19515">value</a>)</td></tr>
  128. <tr class="separator:add02928c348417fbfadd7095d058f331"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. </table><table class="memberdecls">
  130. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  131. Public Member Functions</h2></td></tr>
  132. <tr class="memitem:aee94cdbaf1f3d22e110fd3535dbca34a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#aee94cdbaf1f3d22e110fd3535dbca34a">QwtCounter</a> (QWidget *parent=NULL)</td></tr>
  133. <tr class="separator:aee94cdbaf1f3d22e110fd3535dbca34a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a6469133eb210b470023a3dcc735aec4d"><td class="memItemLeft" align="right" valign="top"><a id="a6469133eb210b470023a3dcc735aec4d"></a>
  135. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a6469133eb210b470023a3dcc735aec4d">~QwtCounter</a> ()</td></tr>
  136. <tr class="memdesc:a6469133eb210b470023a3dcc735aec4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  137. <tr class="separator:a6469133eb210b470023a3dcc735aec4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:aa06625ab417f82fdc82790e3376af708"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#aa06625ab417f82fdc82790e3376af708">setValid</a> (bool)</td></tr>
  139. <tr class="separator:aa06625ab417f82fdc82790e3376af708"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a613e5d3f2111f7263cf540156d9413e9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a613e5d3f2111f7263cf540156d9413e9">isValid</a> () const</td></tr>
  141. <tr class="separator:a613e5d3f2111f7263cf540156d9413e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a8fc7d115682f295dfcc64fa8312ccdeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a8fc7d115682f295dfcc64fa8312ccdeb">setWrapping</a> (bool)</td></tr>
  143. <tr class="memdesc:a8fc7d115682f295dfcc64fa8312ccdeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable wrapping. <a href="class_qwt_counter.html#a8fc7d115682f295dfcc64fa8312ccdeb">More...</a><br /></td></tr>
  144. <tr class="separator:a8fc7d115682f295dfcc64fa8312ccdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a5cb416959b578a1615e000bc8c40e359"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a5cb416959b578a1615e000bc8c40e359">wrapping</a> () const</td></tr>
  146. <tr class="separator:a5cb416959b578a1615e000bc8c40e359"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a59c836008c9c9e2c9c3048cbd5c80778"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a59c836008c9c9e2c9c3048cbd5c80778">isReadOnly</a> () const</td></tr>
  148. <tr class="separator:a59c836008c9c9e2c9c3048cbd5c80778"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:ad34441cf06c68478b826e5b85fbb3ba7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ad34441cf06c68478b826e5b85fbb3ba7">setReadOnly</a> (bool)</td></tr>
  150. <tr class="memdesc:ad34441cf06c68478b826e5b85fbb3ba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow/disallow the user to manually edit the value. <a href="class_qwt_counter.html#ad34441cf06c68478b826e5b85fbb3ba7">More...</a><br /></td></tr>
  151. <tr class="separator:ad34441cf06c68478b826e5b85fbb3ba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a900729c8f73830b549ea065e5c6dc4f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a900729c8f73830b549ea065e5c6dc4f9">setNumButtons</a> (int)</td></tr>
  153. <tr class="separator:a900729c8f73830b549ea065e5c6dc4f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:ab7aa5fbf0041f6e1d99c1ceafbc8bb10"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ab7aa5fbf0041f6e1d99c1ceafbc8bb10">numButtons</a> () const</td></tr>
  155. <tr class="separator:ab7aa5fbf0041f6e1d99c1ceafbc8bb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:ac308bb656eaa001641bdef6524d40ce6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ac308bb656eaa001641bdef6524d40ce6">setIncSteps</a> (<a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>, int numSteps)</td></tr>
  157. <tr class="separator:ac308bb656eaa001641bdef6524d40ce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a91149ef07b94558456479357d6f98151"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a91149ef07b94558456479357d6f98151">incSteps</a> (<a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>) const</td></tr>
  159. <tr class="separator:a91149ef07b94558456479357d6f98151"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:aacbb4750fdd028ef4ad0fba7e874afaf"><td class="memItemLeft" align="right" valign="top"><a id="aacbb4750fdd028ef4ad0fba7e874afaf"></a>
  161. virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#aacbb4750fdd028ef4ad0fba7e874afaf">sizeHint</a> () const</td></tr>
  162. <tr class="memdesc:aacbb4750fdd028ef4ad0fba7e874afaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">A size hint. <br /></td></tr>
  163. <tr class="separator:aacbb4750fdd028ef4ad0fba7e874afaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a8dfcf202ef15050184788f24b069c4b7"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a8dfcf202ef15050184788f24b069c4b7">singleStep</a> () const</td></tr>
  165. <tr class="separator:a8dfcf202ef15050184788f24b069c4b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:aeeb79c9b83b2050baf9d7e6e47f1fa67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#aeeb79c9b83b2050baf9d7e6e47f1fa67">setSingleStep</a> (double stepSize)</td></tr>
  167. <tr class="memdesc:aeeb79c9b83b2050baf9d7e6e47f1fa67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the step size of the counter. <a href="class_qwt_counter.html#aeeb79c9b83b2050baf9d7e6e47f1fa67">More...</a><br /></td></tr>
  168. <tr class="separator:aeeb79c9b83b2050baf9d7e6e47f1fa67"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:ad794d0d2589a38113933ae764e87ce22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22">setRange</a> (double min, double max)</td></tr>
  170. <tr class="memdesc:ad794d0d2589a38113933ae764e87ce22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum and maximum values. <a href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22">More...</a><br /></td></tr>
  171. <tr class="separator:ad794d0d2589a38113933ae764e87ce22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:a13dcb52e2b6a6ad9ab42f99cc51e677c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a13dcb52e2b6a6ad9ab42f99cc51e677c">minimum</a> () const</td></tr>
  173. <tr class="separator:a13dcb52e2b6a6ad9ab42f99cc51e677c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:a4f5847dca54ada119623908730568f4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a4f5847dca54ada119623908730568f4d">setMinimum</a> (double)</td></tr>
  175. <tr class="separator:a4f5847dca54ada119623908730568f4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a8cedf22e415018876353a17c8a8758b5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a8cedf22e415018876353a17c8a8758b5">maximum</a> () const</td></tr>
  177. <tr class="separator:a8cedf22e415018876353a17c8a8758b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:af097141eaa83c32c7eb7d4234079f95a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#af097141eaa83c32c7eb7d4234079f95a">setMaximum</a> (double)</td></tr>
  179. <tr class="separator:af097141eaa83c32c7eb7d4234079f95a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:ae56a556a72955b6d10419f2c41779383"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ae56a556a72955b6d10419f2c41779383">setStepButton1</a> (int nSteps)</td></tr>
  181. <tr class="separator:ae56a556a72955b6d10419f2c41779383"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:affdd91a6698ff0c90e24e69ff410924f"><td class="memItemLeft" align="right" valign="top"><a id="affdd91a6698ff0c90e24e69ff410924f"></a>
  183. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#affdd91a6698ff0c90e24e69ff410924f">stepButton1</a> () const</td></tr>
  184. <tr class="memdesc:affdd91a6698ff0c90e24e69ff410924f"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the number of increment steps for button 1 <br /></td></tr>
  185. <tr class="separator:affdd91a6698ff0c90e24e69ff410924f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a0d764a96706593d8c8b51338e92abfcc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a0d764a96706593d8c8b51338e92abfcc">setStepButton2</a> (int nSteps)</td></tr>
  187. <tr class="separator:a0d764a96706593d8c8b51338e92abfcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:acec167b50ae44afe5ff8e9233e77a939"><td class="memItemLeft" align="right" valign="top"><a id="acec167b50ae44afe5ff8e9233e77a939"></a>
  189. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#acec167b50ae44afe5ff8e9233e77a939">stepButton2</a> () const</td></tr>
  190. <tr class="memdesc:acec167b50ae44afe5ff8e9233e77a939"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the number of increment steps for button 2 <br /></td></tr>
  191. <tr class="separator:acec167b50ae44afe5ff8e9233e77a939"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a8b55539578de083793b8310cb8909294"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a8b55539578de083793b8310cb8909294">setStepButton3</a> (int nSteps)</td></tr>
  193. <tr class="separator:a8b55539578de083793b8310cb8909294"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a259de8df2b8928139d1fc4738694eac8"><td class="memItemLeft" align="right" valign="top"><a id="a259de8df2b8928139d1fc4738694eac8"></a>
  195. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a259de8df2b8928139d1fc4738694eac8">stepButton3</a> () const</td></tr>
  196. <tr class="memdesc:a259de8df2b8928139d1fc4738694eac8"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the number of increment steps for button 3 <br /></td></tr>
  197. <tr class="separator:a259de8df2b8928139d1fc4738694eac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a1881fcb0f81052bd7787523246d19515"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#a1881fcb0f81052bd7787523246d19515">value</a> () const</td></tr>
  199. <tr class="separator:a1881fcb0f81052bd7787523246d19515"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. </table><table class="memberdecls">
  201. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  202. Protected Member Functions</h2></td></tr>
  203. <tr class="memitem:ad855f1cec9068fd73cce5e2e29fb5771"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ad855f1cec9068fd73cce5e2e29fb5771">event</a> (QEvent *)</td></tr>
  204. <tr class="separator:ad855f1cec9068fd73cce5e2e29fb5771"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. <tr class="memitem:acdada1ba1d5873b9c8b3f75d63b4685a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#acdada1ba1d5873b9c8b3f75d63b4685a">wheelEvent</a> (QWheelEvent *)</td></tr>
  206. <tr class="separator:acdada1ba1d5873b9c8b3f75d63b4685a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:aafdc19bff96fcafc4b8ed8e3bf7bf07b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#aafdc19bff96fcafc4b8ed8e3bf7bf07b">keyPressEvent</a> (QKeyEvent *)</td></tr>
  208. <tr class="separator:aafdc19bff96fcafc4b8ed8e3bf7bf07b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. </table>
  210. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  211. <div class="textblock"><p>The Counter Widget. </p>
  212. <p>A Counter consists of a label displaying a number and one ore more (up to three) push buttons on each side of the label which can be used to increment or decrement the counter's value.</p>
  213. <p>A counter has a range from a minimum value to a maximum value and a step size. When the wrapping property is set the counter is circular.</p>
  214. <p>The number of steps by which a button increments or decrements the value can be specified using <a class="el" href="class_qwt_counter.html#ac308bb656eaa001641bdef6524d40ce6">setIncSteps()</a>. The number of buttons can be changed with <a class="el" href="class_qwt_counter.html#a900729c8f73830b549ea065e5c6dc4f9">setNumButtons()</a>.</p>
  215. <p>Example: </p><div class="fragment"><div class="line"><span class="preprocessor">#include &lt;qwt_counter.h&gt;</span></div>
  216. <div class="line"> </div>
  217. <div class="line"><a class="code" href="class_qwt_counter.html">QwtCounter</a> *counter = <span class="keyword">new</span> <a class="code" href="class_qwt_counter.html#aee94cdbaf1f3d22e110fd3535dbca34a">QwtCounter</a>(parent);</div>
  218. <div class="line"> </div>
  219. <div class="line">counter-&gt;<a class="code" href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22">setRange</a>(0.0, 100.0); <span class="comment">// From 0.0 to 100</span></div>
  220. <div class="line">counter-&gt;<a class="code" href="class_qwt_counter.html#aeeb79c9b83b2050baf9d7e6e47f1fa67">setSingleStep</a>( 1.0 ); <span class="comment">// Step size 1.0</span></div>
  221. <div class="line">counter-&gt;<a class="code" href="class_qwt_counter.html#a900729c8f73830b549ea065e5c6dc4f9">setNumButtons</a>(2); <span class="comment">// Two buttons each side</span></div>
  222. <div class="line">counter-&gt;<a class="code" href="class_qwt_counter.html#ac308bb656eaa001641bdef6524d40ce6">setIncSteps</a>(<a class="code" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a1b29fe43c7d59986eb5854ddaf6f7179">QwtCounter::Button1</a>, 1); <span class="comment">// Button 1 increments 1 step</span></div>
  223. <div class="line">counter-&gt;<a class="code" href="class_qwt_counter.html#ac308bb656eaa001641bdef6524d40ce6">setIncSteps</a>(<a class="code" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a6015e556fcb8c4d45126dee5435b478d">QwtCounter::Button2</a>, 20); <span class="comment">// Button 2 increments 20 steps</span></div>
  224. <div class="line"> </div>
  225. <div class="line">connect(counter, SIGNAL(<a class="code" href="class_qwt_counter.html#add02928c348417fbfadd7095d058f331">valueChanged</a>(<span class="keywordtype">double</span>)), myClass, SLOT(newValue(<span class="keywordtype">double</span>)));</div>
  226. </div><!-- fragment --> </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  227. <a id="a027cfd91946ca9a19a1d606411e0f374"></a>
  228. <h2 class="memtitle"><span class="permalink"><a href="#a027cfd91946ca9a19a1d606411e0f374">&#9670;&nbsp;</a></span>Button</h2>
  229. <div class="memitem">
  230. <div class="memproto">
  231. <table class="memname">
  232. <tr>
  233. <td class="memname">enum <a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a></td>
  234. </tr>
  235. </table>
  236. </div><div class="memdoc">
  237. <p>Button index. </p>
  238. <table class="fieldtable">
  239. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a027cfd91946ca9a19a1d606411e0f374a1b29fe43c7d59986eb5854ddaf6f7179"></a>Button1&#160;</td><td class="fielddoc"><p>Button intended for minor steps. </p>
  240. </td></tr>
  241. <tr><td class="fieldname"><a id="a027cfd91946ca9a19a1d606411e0f374a6015e556fcb8c4d45126dee5435b478d"></a>Button2&#160;</td><td class="fielddoc"><p>Button intended for medium steps. </p>
  242. </td></tr>
  243. <tr><td class="fieldname"><a id="a027cfd91946ca9a19a1d606411e0f374a30b64d40b31283807f1a4f3d57af0e74"></a>Button3&#160;</td><td class="fielddoc"><p>Button intended for large steps. </p>
  244. </td></tr>
  245. <tr><td class="fieldname"><a id="a027cfd91946ca9a19a1d606411e0f374aca8e93a2d129f7cc91f54f5f4da20c5f"></a>ButtonCnt&#160;</td><td class="fielddoc"><p>Number of buttons. </p>
  246. </td></tr>
  247. </table>
  248. </div>
  249. </div>
  250. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  251. <a id="aee94cdbaf1f3d22e110fd3535dbca34a"></a>
  252. <h2 class="memtitle"><span class="permalink"><a href="#aee94cdbaf1f3d22e110fd3535dbca34a">&#9670;&nbsp;</a></span>QwtCounter()</h2>
  253. <div class="memitem">
  254. <div class="memproto">
  255. <table class="mlabels">
  256. <tr>
  257. <td class="mlabels-left">
  258. <table class="memname">
  259. <tr>
  260. <td class="memname">QwtCounter::QwtCounter </td>
  261. <td>(</td>
  262. <td class="paramtype">QWidget *&#160;</td>
  263. <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
  264. <td></td>
  265. </tr>
  266. </table>
  267. </td>
  268. <td class="mlabels-right">
  269. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  270. </tr>
  271. </table>
  272. </div><div class="memdoc">
  273. <p>The counter is initialized with a range is set to [0.0, 1.0] with 0.01 as single step size. The value is invalid.</p>
  274. <p>The default number of buttons is set to 2. The default increments are: </p><ul>
  275. <li>Button 1: 1 step </li>
  276. <li>Button 2: 10 steps </li>
  277. <li>Button 3: 100 steps</li>
  278. </ul>
  279. <dl class="params"><dt>Parameters</dt><dd>
  280. <table class="params">
  281. <tr><td class="paramname">parent</td><td></td></tr>
  282. </table>
  283. </dd>
  284. </dl>
  285. </div>
  286. </div>
  287. <h2 class="groupheader">Member Function Documentation</h2>
  288. <a id="a694ed7277e137e44bccc5918b4c15ecc"></a>
  289. <h2 class="memtitle"><span class="permalink"><a href="#a694ed7277e137e44bccc5918b4c15ecc">&#9670;&nbsp;</a></span>buttonReleased</h2>
  290. <div class="memitem">
  291. <div class="memproto">
  292. <table class="mlabels">
  293. <tr>
  294. <td class="mlabels-left">
  295. <table class="memname">
  296. <tr>
  297. <td class="memname">void QwtCounter::buttonReleased </td>
  298. <td>(</td>
  299. <td class="paramtype">double&#160;</td>
  300. <td class="paramname"><em>value</em></td><td>)</td>
  301. <td></td>
  302. </tr>
  303. </table>
  304. </td>
  305. <td class="mlabels-right">
  306. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>This signal is emitted when a button has been released </p><dl class="params"><dt>Parameters</dt><dd>
  311. <table class="params">
  312. <tr><td class="paramname">value</td><td>The new value </td></tr>
  313. </table>
  314. </dd>
  315. </dl>
  316. </div>
  317. </div>
  318. <a id="ad855f1cec9068fd73cce5e2e29fb5771"></a>
  319. <h2 class="memtitle"><span class="permalink"><a href="#ad855f1cec9068fd73cce5e2e29fb5771">&#9670;&nbsp;</a></span>event()</h2>
  320. <div class="memitem">
  321. <div class="memproto">
  322. <table class="mlabels">
  323. <tr>
  324. <td class="mlabels-left">
  325. <table class="memname">
  326. <tr>
  327. <td class="memname">bool QwtCounter::event </td>
  328. <td>(</td>
  329. <td class="paramtype">QEvent *&#160;</td>
  330. <td class="paramname"><em>event</em></td><td>)</td>
  331. <td></td>
  332. </tr>
  333. </table>
  334. </td>
  335. <td class="mlabels-right">
  336. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  337. </tr>
  338. </table>
  339. </div><div class="memdoc">
  340. <p>Handle QEvent::PolishRequest events </p><dl class="params"><dt>Parameters</dt><dd>
  341. <table class="params">
  342. <tr><td class="paramname">event</td><td>Event </td></tr>
  343. </table>
  344. </dd>
  345. </dl>
  346. <dl class="section return"><dt>Returns</dt><dd>see QWidget::event() </dd></dl>
  347. </div>
  348. </div>
  349. <a id="a91149ef07b94558456479357d6f98151"></a>
  350. <h2 class="memtitle"><span class="permalink"><a href="#a91149ef07b94558456479357d6f98151">&#9670;&nbsp;</a></span>incSteps()</h2>
  351. <div class="memitem">
  352. <div class="memproto">
  353. <table class="memname">
  354. <tr>
  355. <td class="memname">int QwtCounter::incSteps </td>
  356. <td>(</td>
  357. <td class="paramtype"><a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>&#160;</td>
  358. <td class="paramname"><em>button</em></td><td>)</td>
  359. <td> const</td>
  360. </tr>
  361. </table>
  362. </div><div class="memdoc">
  363. <dl class="section return"><dt>Returns</dt><dd>The number of steps by which a specified button increments the value or 0 if the button is invalid. </dd></dl>
  364. <dl class="params"><dt>Parameters</dt><dd>
  365. <table class="params">
  366. <tr><td class="paramname">button</td><td>Button index</td></tr>
  367. </table>
  368. </dd>
  369. </dl>
  370. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ac308bb656eaa001641bdef6524d40ce6">setIncSteps()</a> </dd></dl>
  371. </div>
  372. </div>
  373. <a id="a59c836008c9c9e2c9c3048cbd5c80778"></a>
  374. <h2 class="memtitle"><span class="permalink"><a href="#a59c836008c9c9e2c9c3048cbd5c80778">&#9670;&nbsp;</a></span>isReadOnly()</h2>
  375. <div class="memitem">
  376. <div class="memproto">
  377. <table class="memname">
  378. <tr>
  379. <td class="memname">bool QwtCounter::isReadOnly </td>
  380. <td>(</td>
  381. <td class="paramname"></td><td>)</td>
  382. <td> const</td>
  383. </tr>
  384. </table>
  385. </div><div class="memdoc">
  386. <dl class="section return"><dt>Returns</dt><dd>True, when the line line edit is read only. (default is no) </dd></dl>
  387. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ad34441cf06c68478b826e5b85fbb3ba7" title="Allow/disallow the user to manually edit the value.">setReadOnly()</a> </dd></dl>
  388. </div>
  389. </div>
  390. <a id="a613e5d3f2111f7263cf540156d9413e9"></a>
  391. <h2 class="memtitle"><span class="permalink"><a href="#a613e5d3f2111f7263cf540156d9413e9">&#9670;&nbsp;</a></span>isValid()</h2>
  392. <div class="memitem">
  393. <div class="memproto">
  394. <table class="memname">
  395. <tr>
  396. <td class="memname">bool QwtCounter::isValid </td>
  397. <td>(</td>
  398. <td class="paramname"></td><td>)</td>
  399. <td> const</td>
  400. </tr>
  401. </table>
  402. </div><div class="memdoc">
  403. <dl class="section return"><dt>Returns</dt><dd>True, if the value is valid </dd></dl>
  404. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#aa06625ab417f82fdc82790e3376af708">setValid()</a>, <a class="el" href="class_qwt_counter.html#a429a2e986aa46c1231643df5d4c78970" title="Set a new value without adjusting to the step raster.">setValue()</a> </dd></dl>
  405. </div>
  406. </div>
  407. <a id="aafdc19bff96fcafc4b8ed8e3bf7bf07b"></a>
  408. <h2 class="memtitle"><span class="permalink"><a href="#aafdc19bff96fcafc4b8ed8e3bf7bf07b">&#9670;&nbsp;</a></span>keyPressEvent()</h2>
  409. <div class="memitem">
  410. <div class="memproto">
  411. <table class="mlabels">
  412. <tr>
  413. <td class="mlabels-left">
  414. <table class="memname">
  415. <tr>
  416. <td class="memname">void QwtCounter::keyPressEvent </td>
  417. <td>(</td>
  418. <td class="paramtype">QKeyEvent *&#160;</td>
  419. <td class="paramname"><em>event</em></td><td>)</td>
  420. <td></td>
  421. </tr>
  422. </table>
  423. </td>
  424. <td class="mlabels-right">
  425. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  426. </tr>
  427. </table>
  428. </div><div class="memdoc">
  429. <p>Handle key events</p>
  430. <ul>
  431. <li>Ctrl + Qt::Key_Home<br />
  432. Step to <a class="el" href="class_qwt_counter.html#a13dcb52e2b6a6ad9ab42f99cc51e677c">minimum()</a></li>
  433. <li>Ctrl + Qt::Key_End<br />
  434. Step to <a class="el" href="class_qwt_counter.html#a8cedf22e415018876353a17c8a8758b5">maximum()</a></li>
  435. <li>Qt::Key_Up<br />
  436. Increment by incSteps(QwtCounter::Button1)</li>
  437. <li>Qt::Key_Down<br />
  438. Decrement by incSteps(QwtCounter::Button1)</li>
  439. <li>Qt::Key_PageUp<br />
  440. Increment by incSteps(QwtCounter::Button2)</li>
  441. <li>Qt::Key_PageDown<br />
  442. Decrement by incSteps(QwtCounter::Button2)</li>
  443. <li>Shift + Qt::Key_PageUp<br />
  444. Increment by incSteps(QwtCounter::Button3)</li>
  445. <li>Shift + Qt::Key_PageDown<br />
  446. Decrement by incSteps(QwtCounter::Button3)</li>
  447. </ul>
  448. <dl class="params"><dt>Parameters</dt><dd>
  449. <table class="params">
  450. <tr><td class="paramname">event</td><td>Key event </td></tr>
  451. </table>
  452. </dd>
  453. </dl>
  454. </div>
  455. </div>
  456. <a id="a8cedf22e415018876353a17c8a8758b5"></a>
  457. <h2 class="memtitle"><span class="permalink"><a href="#a8cedf22e415018876353a17c8a8758b5">&#9670;&nbsp;</a></span>maximum()</h2>
  458. <div class="memitem">
  459. <div class="memproto">
  460. <table class="memname">
  461. <tr>
  462. <td class="memname">double QwtCounter::maximum </td>
  463. <td>(</td>
  464. <td class="paramname"></td><td>)</td>
  465. <td> const</td>
  466. </tr>
  467. </table>
  468. </div><div class="memdoc">
  469. <dl class="section return"><dt>Returns</dt><dd>The maximum of the range </dd></dl>
  470. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_counter.html#af097141eaa83c32c7eb7d4234079f95a">setMaximum()</a>, <a class="el" href="class_qwt_counter.html#a13dcb52e2b6a6ad9ab42f99cc51e677c">minimum()</a> </dd></dl>
  471. </div>
  472. </div>
  473. <a id="a13dcb52e2b6a6ad9ab42f99cc51e677c"></a>
  474. <h2 class="memtitle"><span class="permalink"><a href="#a13dcb52e2b6a6ad9ab42f99cc51e677c">&#9670;&nbsp;</a></span>minimum()</h2>
  475. <div class="memitem">
  476. <div class="memproto">
  477. <table class="memname">
  478. <tr>
  479. <td class="memname">double QwtCounter::minimum </td>
  480. <td>(</td>
  481. <td class="paramname"></td><td>)</td>
  482. <td> const</td>
  483. </tr>
  484. </table>
  485. </div><div class="memdoc">
  486. <dl class="section return"><dt>Returns</dt><dd>The minimum of the range </dd></dl>
  487. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_counter.html#a4f5847dca54ada119623908730568f4d">setMinimum()</a>, <a class="el" href="class_qwt_counter.html#a8cedf22e415018876353a17c8a8758b5">maximum()</a> </dd></dl>
  488. </div>
  489. </div>
  490. <a id="ab7aa5fbf0041f6e1d99c1ceafbc8bb10"></a>
  491. <h2 class="memtitle"><span class="permalink"><a href="#ab7aa5fbf0041f6e1d99c1ceafbc8bb10">&#9670;&nbsp;</a></span>numButtons()</h2>
  492. <div class="memitem">
  493. <div class="memproto">
  494. <table class="memname">
  495. <tr>
  496. <td class="memname">int QwtCounter::numButtons </td>
  497. <td>(</td>
  498. <td class="paramname"></td><td>)</td>
  499. <td> const</td>
  500. </tr>
  501. </table>
  502. </div><div class="memdoc">
  503. <dl class="section return"><dt>Returns</dt><dd>The number of buttons on each side of the widget. </dd></dl>
  504. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a900729c8f73830b549ea065e5c6dc4f9">setNumButtons()</a> </dd></dl>
  505. </div>
  506. </div>
  507. <a id="ac308bb656eaa001641bdef6524d40ce6"></a>
  508. <h2 class="memtitle"><span class="permalink"><a href="#ac308bb656eaa001641bdef6524d40ce6">&#9670;&nbsp;</a></span>setIncSteps()</h2>
  509. <div class="memitem">
  510. <div class="memproto">
  511. <table class="memname">
  512. <tr>
  513. <td class="memname">void QwtCounter::setIncSteps </td>
  514. <td>(</td>
  515. <td class="paramtype"><a class="el" href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>&#160;</td>
  516. <td class="paramname"><em>button</em>, </td>
  517. </tr>
  518. <tr>
  519. <td class="paramkey"></td>
  520. <td></td>
  521. <td class="paramtype">int&#160;</td>
  522. <td class="paramname"><em>numSteps</em>&#160;</td>
  523. </tr>
  524. <tr>
  525. <td></td>
  526. <td>)</td>
  527. <td></td><td></td>
  528. </tr>
  529. </table>
  530. </div><div class="memdoc">
  531. <p>Specify the number of steps by which the value is incremented or decremented when a specified button is pushed.</p>
  532. <dl class="params"><dt>Parameters</dt><dd>
  533. <table class="params">
  534. <tr><td class="paramname">button</td><td>Button index </td></tr>
  535. <tr><td class="paramname">numSteps</td><td>Number of steps</td></tr>
  536. </table>
  537. </dd>
  538. </dl>
  539. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a91149ef07b94558456479357d6f98151">incSteps()</a> </dd></dl>
  540. </div>
  541. </div>
  542. <a id="af097141eaa83c32c7eb7d4234079f95a"></a>
  543. <h2 class="memtitle"><span class="permalink"><a href="#af097141eaa83c32c7eb7d4234079f95a">&#9670;&nbsp;</a></span>setMaximum()</h2>
  544. <div class="memitem">
  545. <div class="memproto">
  546. <table class="memname">
  547. <tr>
  548. <td class="memname">void QwtCounter::setMaximum </td>
  549. <td>(</td>
  550. <td class="paramtype">double&#160;</td>
  551. <td class="paramname"><em>value</em></td><td>)</td>
  552. <td></td>
  553. </tr>
  554. </table>
  555. </div><div class="memdoc">
  556. <p>Set the maximum value of the range</p>
  557. <dl class="params"><dt>Parameters</dt><dd>
  558. <table class="params">
  559. <tr><td class="paramname">value</td><td>Maximum value </td></tr>
  560. </table>
  561. </dd>
  562. </dl>
  563. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_counter.html#a4f5847dca54ada119623908730568f4d">setMinimum()</a>, <a class="el" href="class_qwt_counter.html#a8cedf22e415018876353a17c8a8758b5">maximum()</a> </dd></dl>
  564. </div>
  565. </div>
  566. <a id="a4f5847dca54ada119623908730568f4d"></a>
  567. <h2 class="memtitle"><span class="permalink"><a href="#a4f5847dca54ada119623908730568f4d">&#9670;&nbsp;</a></span>setMinimum()</h2>
  568. <div class="memitem">
  569. <div class="memproto">
  570. <table class="memname">
  571. <tr>
  572. <td class="memname">void QwtCounter::setMinimum </td>
  573. <td>(</td>
  574. <td class="paramtype">double&#160;</td>
  575. <td class="paramname"><em>value</em></td><td>)</td>
  576. <td></td>
  577. </tr>
  578. </table>
  579. </div><div class="memdoc">
  580. <p>Set the minimum value of the range</p>
  581. <dl class="params"><dt>Parameters</dt><dd>
  582. <table class="params">
  583. <tr><td class="paramname">value</td><td>Minimum value </td></tr>
  584. </table>
  585. </dd>
  586. </dl>
  587. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_counter.html#af097141eaa83c32c7eb7d4234079f95a">setMaximum()</a>, <a class="el" href="class_qwt_counter.html#a13dcb52e2b6a6ad9ab42f99cc51e677c">minimum()</a></dd></dl>
  588. <dl class="section note"><dt>Note</dt><dd>The maximum is adjusted if necessary to ensure that the range remains valid. </dd></dl>
  589. </div>
  590. </div>
  591. <a id="a900729c8f73830b549ea065e5c6dc4f9"></a>
  592. <h2 class="memtitle"><span class="permalink"><a href="#a900729c8f73830b549ea065e5c6dc4f9">&#9670;&nbsp;</a></span>setNumButtons()</h2>
  593. <div class="memitem">
  594. <div class="memproto">
  595. <table class="memname">
  596. <tr>
  597. <td class="memname">void QwtCounter::setNumButtons </td>
  598. <td>(</td>
  599. <td class="paramtype">int&#160;</td>
  600. <td class="paramname"><em>numButtons</em></td><td>)</td>
  601. <td></td>
  602. </tr>
  603. </table>
  604. </div><div class="memdoc">
  605. <p>Specify the number of buttons on each side of the label</p>
  606. <dl class="params"><dt>Parameters</dt><dd>
  607. <table class="params">
  608. <tr><td class="paramname">numButtons</td><td>Number of buttons </td></tr>
  609. </table>
  610. </dd>
  611. </dl>
  612. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#ab7aa5fbf0041f6e1d99c1ceafbc8bb10">numButtons()</a> </dd></dl>
  613. </div>
  614. </div>
  615. <a id="ad794d0d2589a38113933ae764e87ce22"></a>
  616. <h2 class="memtitle"><span class="permalink"><a href="#ad794d0d2589a38113933ae764e87ce22">&#9670;&nbsp;</a></span>setRange()</h2>
  617. <div class="memitem">
  618. <div class="memproto">
  619. <table class="memname">
  620. <tr>
  621. <td class="memname">void QwtCounter::setRange </td>
  622. <td>(</td>
  623. <td class="paramtype">double&#160;</td>
  624. <td class="paramname"><em>min</em>, </td>
  625. </tr>
  626. <tr>
  627. <td class="paramkey"></td>
  628. <td></td>
  629. <td class="paramtype">double&#160;</td>
  630. <td class="paramname"><em>max</em>&#160;</td>
  631. </tr>
  632. <tr>
  633. <td></td>
  634. <td>)</td>
  635. <td></td><td></td>
  636. </tr>
  637. </table>
  638. </div><div class="memdoc">
  639. <p>Set the minimum and maximum values. </p>
  640. <p>The maximum is adjusted if necessary to ensure that the range remains valid. The value might be modified to be inside of the range.</p>
  641. <dl class="params"><dt>Parameters</dt><dd>
  642. <table class="params">
  643. <tr><td class="paramname">min</td><td>Minimum value </td></tr>
  644. <tr><td class="paramname">max</td><td>Maximum value</td></tr>
  645. </table>
  646. </dd>
  647. </dl>
  648. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a13dcb52e2b6a6ad9ab42f99cc51e677c">minimum()</a>, <a class="el" href="class_qwt_counter.html#a8cedf22e415018876353a17c8a8758b5">maximum()</a> </dd></dl>
  649. </div>
  650. </div>
  651. <a id="ad34441cf06c68478b826e5b85fbb3ba7"></a>
  652. <h2 class="memtitle"><span class="permalink"><a href="#ad34441cf06c68478b826e5b85fbb3ba7">&#9670;&nbsp;</a></span>setReadOnly()</h2>
  653. <div class="memitem">
  654. <div class="memproto">
  655. <table class="memname">
  656. <tr>
  657. <td class="memname">void QwtCounter::setReadOnly </td>
  658. <td>(</td>
  659. <td class="paramtype">bool&#160;</td>
  660. <td class="paramname"><em>on</em></td><td>)</td>
  661. <td></td>
  662. </tr>
  663. </table>
  664. </div><div class="memdoc">
  665. <p>Allow/disallow the user to manually edit the value. </p>
  666. <dl class="params"><dt>Parameters</dt><dd>
  667. <table class="params">
  668. <tr><td class="paramname">on</td><td>True disable editing </td></tr>
  669. </table>
  670. </dd>
  671. </dl>
  672. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a59c836008c9c9e2c9c3048cbd5c80778">isReadOnly()</a> </dd></dl>
  673. </div>
  674. </div>
  675. <a id="aeeb79c9b83b2050baf9d7e6e47f1fa67"></a>
  676. <h2 class="memtitle"><span class="permalink"><a href="#aeeb79c9b83b2050baf9d7e6e47f1fa67">&#9670;&nbsp;</a></span>setSingleStep()</h2>
  677. <div class="memitem">
  678. <div class="memproto">
  679. <table class="memname">
  680. <tr>
  681. <td class="memname">void QwtCounter::setSingleStep </td>
  682. <td>(</td>
  683. <td class="paramtype">double&#160;</td>
  684. <td class="paramname"><em>stepSize</em></td><td>)</td>
  685. <td></td>
  686. </tr>
  687. </table>
  688. </div><div class="memdoc">
  689. <p>Set the step size of the counter. </p>
  690. <p>A value &lt;= 0.0 disables stepping</p>
  691. <dl class="params"><dt>Parameters</dt><dd>
  692. <table class="params">
  693. <tr><td class="paramname">stepSize</td><td>Single step size </td></tr>
  694. </table>
  695. </dd>
  696. </dl>
  697. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a8dfcf202ef15050184788f24b069c4b7">singleStep()</a> </dd></dl>
  698. </div>
  699. </div>
  700. <a id="ae56a556a72955b6d10419f2c41779383"></a>
  701. <h2 class="memtitle"><span class="permalink"><a href="#ae56a556a72955b6d10419f2c41779383">&#9670;&nbsp;</a></span>setStepButton1()</h2>
  702. <div class="memitem">
  703. <div class="memproto">
  704. <table class="memname">
  705. <tr>
  706. <td class="memname">void QwtCounter::setStepButton1 </td>
  707. <td>(</td>
  708. <td class="paramtype">int&#160;</td>
  709. <td class="paramname"><em>nSteps</em></td><td>)</td>
  710. <td></td>
  711. </tr>
  712. </table>
  713. </div><div class="memdoc">
  714. <p>Set the number of increment steps for button 1 </p><dl class="params"><dt>Parameters</dt><dd>
  715. <table class="params">
  716. <tr><td class="paramname">nSteps</td><td>Number of steps </td></tr>
  717. </table>
  718. </dd>
  719. </dl>
  720. </div>
  721. </div>
  722. <a id="a0d764a96706593d8c8b51338e92abfcc"></a>
  723. <h2 class="memtitle"><span class="permalink"><a href="#a0d764a96706593d8c8b51338e92abfcc">&#9670;&nbsp;</a></span>setStepButton2()</h2>
  724. <div class="memitem">
  725. <div class="memproto">
  726. <table class="memname">
  727. <tr>
  728. <td class="memname">void QwtCounter::setStepButton2 </td>
  729. <td>(</td>
  730. <td class="paramtype">int&#160;</td>
  731. <td class="paramname"><em>nSteps</em></td><td>)</td>
  732. <td></td>
  733. </tr>
  734. </table>
  735. </div><div class="memdoc">
  736. <p>Set the number of increment steps for button 2 </p><dl class="params"><dt>Parameters</dt><dd>
  737. <table class="params">
  738. <tr><td class="paramname">nSteps</td><td>Number of steps </td></tr>
  739. </table>
  740. </dd>
  741. </dl>
  742. </div>
  743. </div>
  744. <a id="a8b55539578de083793b8310cb8909294"></a>
  745. <h2 class="memtitle"><span class="permalink"><a href="#a8b55539578de083793b8310cb8909294">&#9670;&nbsp;</a></span>setStepButton3()</h2>
  746. <div class="memitem">
  747. <div class="memproto">
  748. <table class="memname">
  749. <tr>
  750. <td class="memname">void QwtCounter::setStepButton3 </td>
  751. <td>(</td>
  752. <td class="paramtype">int&#160;</td>
  753. <td class="paramname"><em>nSteps</em></td><td>)</td>
  754. <td></td>
  755. </tr>
  756. </table>
  757. </div><div class="memdoc">
  758. <p>Set the number of increment steps for button 3 </p><dl class="params"><dt>Parameters</dt><dd>
  759. <table class="params">
  760. <tr><td class="paramname">nSteps</td><td>Number of steps </td></tr>
  761. </table>
  762. </dd>
  763. </dl>
  764. </div>
  765. </div>
  766. <a id="aa06625ab417f82fdc82790e3376af708"></a>
  767. <h2 class="memtitle"><span class="permalink"><a href="#aa06625ab417f82fdc82790e3376af708">&#9670;&nbsp;</a></span>setValid()</h2>
  768. <div class="memitem">
  769. <div class="memproto">
  770. <table class="memname">
  771. <tr>
  772. <td class="memname">void QwtCounter::setValid </td>
  773. <td>(</td>
  774. <td class="paramtype">bool&#160;</td>
  775. <td class="paramname"><em>on</em></td><td>)</td>
  776. <td></td>
  777. </tr>
  778. </table>
  779. </div><div class="memdoc">
  780. <p>Set the counter to be in valid/invalid state</p>
  781. <p>When the counter is set to invalid, no numbers are displayed and the buttons are disabled.</p>
  782. <dl class="params"><dt>Parameters</dt><dd>
  783. <table class="params">
  784. <tr><td class="paramname">on</td><td>If true the counter will be set as valid</td></tr>
  785. </table>
  786. </dd>
  787. </dl>
  788. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a429a2e986aa46c1231643df5d4c78970" title="Set a new value without adjusting to the step raster.">setValue()</a>, <a class="el" href="class_qwt_counter.html#a613e5d3f2111f7263cf540156d9413e9">isValid()</a> </dd></dl>
  789. </div>
  790. </div>
  791. <a id="a429a2e986aa46c1231643df5d4c78970"></a>
  792. <h2 class="memtitle"><span class="permalink"><a href="#a429a2e986aa46c1231643df5d4c78970">&#9670;&nbsp;</a></span>setValue</h2>
  793. <div class="memitem">
  794. <div class="memproto">
  795. <table class="mlabels">
  796. <tr>
  797. <td class="mlabels-left">
  798. <table class="memname">
  799. <tr>
  800. <td class="memname">void QwtCounter::setValue </td>
  801. <td>(</td>
  802. <td class="paramtype">double&#160;</td>
  803. <td class="paramname"><em>value</em></td><td>)</td>
  804. <td></td>
  805. </tr>
  806. </table>
  807. </td>
  808. <td class="mlabels-right">
  809. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  810. </tr>
  811. </table>
  812. </div><div class="memdoc">
  813. <p>Set a new value without adjusting to the step raster. </p>
  814. <p>The state of the counter is set to be valid.</p>
  815. <dl class="params"><dt>Parameters</dt><dd>
  816. <table class="params">
  817. <tr><td class="paramname">value</td><td>New value</td></tr>
  818. </table>
  819. </dd>
  820. </dl>
  821. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a613e5d3f2111f7263cf540156d9413e9">isValid()</a>, <a class="el" href="class_qwt_counter.html#a1881fcb0f81052bd7787523246d19515">value()</a>, <a class="el" href="class_qwt_counter.html#add02928c348417fbfadd7095d058f331">valueChanged()</a> </dd></dl>
  822. <dl class="section warning"><dt>Warning</dt><dd>The value is clipped when it lies outside the range. </dd></dl>
  823. </div>
  824. </div>
  825. <a id="a8fc7d115682f295dfcc64fa8312ccdeb"></a>
  826. <h2 class="memtitle"><span class="permalink"><a href="#a8fc7d115682f295dfcc64fa8312ccdeb">&#9670;&nbsp;</a></span>setWrapping()</h2>
  827. <div class="memitem">
  828. <div class="memproto">
  829. <table class="memname">
  830. <tr>
  831. <td class="memname">void QwtCounter::setWrapping </td>
  832. <td>(</td>
  833. <td class="paramtype">bool&#160;</td>
  834. <td class="paramname"><em>on</em></td><td>)</td>
  835. <td></td>
  836. </tr>
  837. </table>
  838. </div><div class="memdoc">
  839. <p>En/Disable wrapping. </p>
  840. <p>If wrapping is true stepping up from <a class="el" href="class_qwt_counter.html#a8cedf22e415018876353a17c8a8758b5">maximum()</a> value will take you to the <a class="el" href="class_qwt_counter.html#a13dcb52e2b6a6ad9ab42f99cc51e677c">minimum()</a> value and vice versa.</p>
  841. <dl class="params"><dt>Parameters</dt><dd>
  842. <table class="params">
  843. <tr><td class="paramname">on</td><td>En/Disable wrapping </td></tr>
  844. </table>
  845. </dd>
  846. </dl>
  847. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a5cb416959b578a1615e000bc8c40e359">wrapping()</a> </dd></dl>
  848. </div>
  849. </div>
  850. <a id="a8dfcf202ef15050184788f24b069c4b7"></a>
  851. <h2 class="memtitle"><span class="permalink"><a href="#a8dfcf202ef15050184788f24b069c4b7">&#9670;&nbsp;</a></span>singleStep()</h2>
  852. <div class="memitem">
  853. <div class="memproto">
  854. <table class="memname">
  855. <tr>
  856. <td class="memname">double QwtCounter::singleStep </td>
  857. <td>(</td>
  858. <td class="paramname"></td><td>)</td>
  859. <td> const</td>
  860. </tr>
  861. </table>
  862. </div><div class="memdoc">
  863. <dl class="section return"><dt>Returns</dt><dd>Single step size </dd></dl>
  864. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#aeeb79c9b83b2050baf9d7e6e47f1fa67" title="Set the step size of the counter.">setSingleStep()</a> </dd></dl>
  865. </div>
  866. </div>
  867. <a id="a1881fcb0f81052bd7787523246d19515"></a>
  868. <h2 class="memtitle"><span class="permalink"><a href="#a1881fcb0f81052bd7787523246d19515">&#9670;&nbsp;</a></span>value()</h2>
  869. <div class="memitem">
  870. <div class="memproto">
  871. <table class="memname">
  872. <tr>
  873. <td class="memname">double QwtCounter::value </td>
  874. <td>(</td>
  875. <td class="paramname"></td><td>)</td>
  876. <td> const</td>
  877. </tr>
  878. </table>
  879. </div><div class="memdoc">
  880. <dl class="section return"><dt>Returns</dt><dd>Current value of the counter </dd></dl>
  881. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a429a2e986aa46c1231643df5d4c78970" title="Set a new value without adjusting to the step raster.">setValue()</a>, <a class="el" href="class_qwt_counter.html#add02928c348417fbfadd7095d058f331">valueChanged()</a> </dd></dl>
  882. </div>
  883. </div>
  884. <a id="add02928c348417fbfadd7095d058f331"></a>
  885. <h2 class="memtitle"><span class="permalink"><a href="#add02928c348417fbfadd7095d058f331">&#9670;&nbsp;</a></span>valueChanged</h2>
  886. <div class="memitem">
  887. <div class="memproto">
  888. <table class="mlabels">
  889. <tr>
  890. <td class="mlabels-left">
  891. <table class="memname">
  892. <tr>
  893. <td class="memname">void QwtCounter::valueChanged </td>
  894. <td>(</td>
  895. <td class="paramtype">double&#160;</td>
  896. <td class="paramname"><em>value</em></td><td>)</td>
  897. <td></td>
  898. </tr>
  899. </table>
  900. </td>
  901. <td class="mlabels-right">
  902. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  903. </tr>
  904. </table>
  905. </div><div class="memdoc">
  906. <p>This signal is emitted when the counter's value has changed </p><dl class="params"><dt>Parameters</dt><dd>
  907. <table class="params">
  908. <tr><td class="paramname">value</td><td>The new value </td></tr>
  909. </table>
  910. </dd>
  911. </dl>
  912. </div>
  913. </div>
  914. <a id="acdada1ba1d5873b9c8b3f75d63b4685a"></a>
  915. <h2 class="memtitle"><span class="permalink"><a href="#acdada1ba1d5873b9c8b3f75d63b4685a">&#9670;&nbsp;</a></span>wheelEvent()</h2>
  916. <div class="memitem">
  917. <div class="memproto">
  918. <table class="mlabels">
  919. <tr>
  920. <td class="mlabels-left">
  921. <table class="memname">
  922. <tr>
  923. <td class="memname">void QwtCounter::wheelEvent </td>
  924. <td>(</td>
  925. <td class="paramtype">QWheelEvent *&#160;</td>
  926. <td class="paramname"><em>event</em></td><td>)</td>
  927. <td></td>
  928. </tr>
  929. </table>
  930. </td>
  931. <td class="mlabels-right">
  932. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  933. </tr>
  934. </table>
  935. </div><div class="memdoc">
  936. <p>Handle wheel events </p><dl class="params"><dt>Parameters</dt><dd>
  937. <table class="params">
  938. <tr><td class="paramname">event</td><td>Wheel event </td></tr>
  939. </table>
  940. </dd>
  941. </dl>
  942. </div>
  943. </div>
  944. <a id="a5cb416959b578a1615e000bc8c40e359"></a>
  945. <h2 class="memtitle"><span class="permalink"><a href="#a5cb416959b578a1615e000bc8c40e359">&#9670;&nbsp;</a></span>wrapping()</h2>
  946. <div class="memitem">
  947. <div class="memproto">
  948. <table class="memname">
  949. <tr>
  950. <td class="memname">bool QwtCounter::wrapping </td>
  951. <td>(</td>
  952. <td class="paramname"></td><td>)</td>
  953. <td> const</td>
  954. </tr>
  955. </table>
  956. </div><div class="memdoc">
  957. <dl class="section return"><dt>Returns</dt><dd>True, when wrapping is set </dd></dl>
  958. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_counter.html#a8fc7d115682f295dfcc64fa8312ccdeb" title="En/Disable wrapping.">setWrapping()</a> </dd></dl>
  959. </div>
  960. </div>
  961. </div><!-- contents -->
  962. </div><!-- doc-content -->
  963. <div class="ttc" id="aclass_qwt_counter_html_ad794d0d2589a38113933ae764e87ce22"><div class="ttname"><a href="class_qwt_counter.html#ad794d0d2589a38113933ae764e87ce22">QwtCounter::setRange</a></div><div class="ttdeci">void setRange(double min, double max)</div><div class="ttdoc">Set the minimum and maximum values.</div><div class="ttdef"><b>Definition:</b> qwt_counter.cpp:241</div></div>
  964. <div class="ttc" id="aclass_qwt_counter_html_aee94cdbaf1f3d22e110fd3535dbca34a"><div class="ttname"><a href="class_qwt_counter.html#aee94cdbaf1f3d22e110fd3535dbca34a">QwtCounter::QwtCounter</a></div><div class="ttdeci">QwtCounter(QWidget *parent=NULL)</div><div class="ttdef"><b>Definition:</b> qwt_counter.cpp:63</div></div>
  965. <div class="ttc" id="aclass_qwt_counter_html_a027cfd91946ca9a19a1d606411e0f374a1b29fe43c7d59986eb5854ddaf6f7179"><div class="ttname"><a href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a1b29fe43c7d59986eb5854ddaf6f7179">QwtCounter::Button1</a></div><div class="ttdeci">@ Button1</div><div class="ttdoc">Button intended for minor steps.</div><div class="ttdef"><b>Definition:</b> qwt_counter.h:70</div></div>
  966. <div class="ttc" id="aclass_qwt_counter_html_ac308bb656eaa001641bdef6524d40ce6"><div class="ttname"><a href="class_qwt_counter.html#ac308bb656eaa001641bdef6524d40ce6">QwtCounter::setIncSteps</a></div><div class="ttdeci">void setIncSteps(QwtCounter::Button, int numSteps)</div><div class="ttdef"><b>Definition:</b> qwt_counter.cpp:403</div></div>
  967. <div class="ttc" id="aclass_qwt_counter_html_a027cfd91946ca9a19a1d606411e0f374a6015e556fcb8c4d45126dee5435b478d"><div class="ttname"><a href="class_qwt_counter.html#a027cfd91946ca9a19a1d606411e0f374a6015e556fcb8c4d45126dee5435b478d">QwtCounter::Button2</a></div><div class="ttdeci">@ Button2</div><div class="ttdoc">Button intended for medium steps.</div><div class="ttdef"><b>Definition:</b> qwt_counter.h:73</div></div>
  968. <div class="ttc" id="aclass_qwt_counter_html_a900729c8f73830b549ea065e5c6dc4f9"><div class="ttname"><a href="class_qwt_counter.html#a900729c8f73830b549ea065e5c6dc4f9">QwtCounter::setNumButtons</a></div><div class="ttdeci">void setNumButtons(int)</div><div class="ttdef"><b>Definition:</b> qwt_counter.cpp:362</div></div>
  969. <div class="ttc" id="aclass_qwt_counter_html"><div class="ttname"><a href="class_qwt_counter.html">QwtCounter</a></div><div class="ttdoc">The Counter Widget.</div><div class="ttdef"><b>Definition:</b> qwt_counter.h:49</div></div>
  970. <div class="ttc" id="aclass_qwt_counter_html_add02928c348417fbfadd7095d058f331"><div class="ttname"><a href="class_qwt_counter.html#add02928c348417fbfadd7095d058f331">QwtCounter::valueChanged</a></div><div class="ttdeci">void valueChanged(double value)</div></div>
  971. <div class="ttc" id="aclass_qwt_counter_html_aeeb79c9b83b2050baf9d7e6e47f1fa67"><div class="ttname"><a href="class_qwt_counter.html#aeeb79c9b83b2050baf9d7e6e47f1fa67">QwtCounter::setSingleStep</a></div><div class="ttdeci">void setSingleStep(double stepSize)</div><div class="ttdoc">Set the step size of the counter.</div><div class="ttdef"><b>Definition:</b> qwt_counter.cpp:319</div></div>
  972. <!-- start footer part -->
  973. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  974. <ul>
  975. <li class="navelem"><a class="el" href="class_qwt_counter.html">QwtCounter</a></li>
  976. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  977. </ul>
  978. </div>
  979. </body>
  980. </html>