class_qwt_wheel.html 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781
  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: QwtWheel 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_wheel.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-slots">Public Slots</a> &#124;
  85. <a href="#signals">Signals</a> &#124;
  86. <a href="#pub-methods">Public Member Functions</a> &#124;
  87. <a href="#pro-methods">Protected Member Functions</a> &#124;
  88. <a href="class_qwt_wheel-members.html">List of all members</a> </div>
  89. <div class="headertitle">
  90. <div class="title">QwtWheel Class Reference</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <p>The Wheel Widget.
  94. <a href="class_qwt_wheel.html#details">More...</a></p>
  95. <p><code>#include &lt;<a class="el" href="qwt__wheel_8h_source.html">qwt_wheel.h</a>&gt;</code></p>
  96. <div class="dynheader">
  97. Inheritance diagram for QwtWheel:</div>
  98. <div class="dyncontent">
  99. <div class="center"><img src="class_qwt_wheel__inherit__graph.png" border="0" usemap="#a_qwt_wheel_inherit__map" alt="Inheritance graph"/></div>
  100. <map name="_qwt_wheel_inherit__map" id="a_qwt_wheel_inherit__map">
  101. <area shape="rect" title="The Wheel Widget." alt="" coords="5,80,88,107"/>
  102. <area shape="rect" title=" " alt="" coords="10,5,83,32"/>
  103. </map>
  104. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  105. <table class="memberdecls">
  106. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
  107. Public Slots</h2></td></tr>
  108. <tr class="memitem:a6f46526b283b7fde127bc595c96db7e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a6f46526b283b7fde127bc595c96db7e8">setValue</a> (double)</td></tr>
  109. <tr class="memdesc:a6f46526b283b7fde127bc595c96db7e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a new value without adjusting to the step raster. <a href="class_qwt_wheel.html#a6f46526b283b7fde127bc595c96db7e8">More...</a><br /></td></tr>
  110. <tr class="separator:a6f46526b283b7fde127bc595c96db7e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:ae4e5dfd4c6683706716681cfd7e3d8bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae4e5dfd4c6683706716681cfd7e3d8bf">setTotalAngle</a> (double)</td></tr>
  112. <tr class="memdesc:ae4e5dfd4c6683706716681cfd7e3d8bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the total angle which the wheel can be turned. <a href="class_qwt_wheel.html#ae4e5dfd4c6683706716681cfd7e3d8bf">More...</a><br /></td></tr>
  113. <tr class="separator:ae4e5dfd4c6683706716681cfd7e3d8bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a7f15b6aef98ad6b52bebc749381bc753"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a7f15b6aef98ad6b52bebc749381bc753">setViewAngle</a> (double)</td></tr>
  115. <tr class="memdesc:a7f15b6aef98ad6b52bebc749381bc753"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify the visible portion of the wheel. <a href="class_qwt_wheel.html#a7f15b6aef98ad6b52bebc749381bc753">More...</a><br /></td></tr>
  116. <tr class="separator:a7f15b6aef98ad6b52bebc749381bc753"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a2af8b9b10ebff58b351027208c1e2b86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a2af8b9b10ebff58b351027208c1e2b86">setMass</a> (double)</td></tr>
  118. <tr class="memdesc:a2af8b9b10ebff58b351027208c1e2b86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the slider's mass for flywheel effect. <a href="class_qwt_wheel.html#a2af8b9b10ebff58b351027208c1e2b86">More...</a><br /></td></tr>
  119. <tr class="separator:a2af8b9b10ebff58b351027208c1e2b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. </table><table class="memberdecls">
  121. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  122. Signals</h2></td></tr>
  123. <tr class="memitem:ad6551abe91933fd2230d5fee805e637a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a">valueChanged</a> (double <a class="el" href="class_qwt_wheel.html#a32ef87a6442ef256ce43781fcef26195">value</a>)</td></tr>
  124. <tr class="memdesc:ad6551abe91933fd2230d5fee805e637a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify a change of value. <a href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a">More...</a><br /></td></tr>
  125. <tr class="separator:ad6551abe91933fd2230d5fee805e637a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:aa9cb862f6ed4a75b007f13bbc3804ad0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#aa9cb862f6ed4a75b007f13bbc3804ad0">wheelPressed</a> ()</td></tr>
  127. <tr class="separator:aa9cb862f6ed4a75b007f13bbc3804ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a9ddffcbd6752571e8b1d75f2640dc6d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a9ddffcbd6752571e8b1d75f2640dc6d5">wheelReleased</a> ()</td></tr>
  129. <tr class="separator:a9ddffcbd6752571e8b1d75f2640dc6d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a7d0f833add72c3aceb0773825626bddf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a7d0f833add72c3aceb0773825626bddf">wheelMoved</a> (double <a class="el" href="class_qwt_wheel.html#a32ef87a6442ef256ce43781fcef26195">value</a>)</td></tr>
  131. <tr class="separator:a7d0f833add72c3aceb0773825626bddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. </table><table class="memberdecls">
  133. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  134. Public Member Functions</h2></td></tr>
  135. <tr class="memitem:a98fc47123aac47168b5d98a73b87d0a7"><td class="memItemLeft" align="right" valign="top"><a id="a98fc47123aac47168b5d98a73b87d0a7"></a>
  136. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a98fc47123aac47168b5d98a73b87d0a7">QwtWheel</a> (QWidget *parent=NULL)</td></tr>
  137. <tr class="memdesc:a98fc47123aac47168b5d98a73b87d0a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  138. <tr class="separator:a98fc47123aac47168b5d98a73b87d0a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a57f465a31a9d2d88cb7a1d0e6391535e"><td class="memItemLeft" align="right" valign="top"><a id="a57f465a31a9d2d88cb7a1d0e6391535e"></a>
  140. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a57f465a31a9d2d88cb7a1d0e6391535e">~QwtWheel</a> ()</td></tr>
  141. <tr class="memdesc:a57f465a31a9d2d88cb7a1d0e6391535e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  142. <tr class="separator:a57f465a31a9d2d88cb7a1d0e6391535e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a32ef87a6442ef256ce43781fcef26195"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a32ef87a6442ef256ce43781fcef26195">value</a> () const</td></tr>
  144. <tr class="separator:a32ef87a6442ef256ce43781fcef26195"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:acae74c8161fd1df728f26253dd1defa8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#acae74c8161fd1df728f26253dd1defa8">setOrientation</a> (Qt::Orientation)</td></tr>
  146. <tr class="memdesc:acae74c8161fd1df728f26253dd1defa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the wheel's orientation. <a href="class_qwt_wheel.html#acae74c8161fd1df728f26253dd1defa8">More...</a><br /></td></tr>
  147. <tr class="separator:acae74c8161fd1df728f26253dd1defa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a1f1d8067921d413fc7440dfbc0e74d52"><td class="memItemLeft" align="right" valign="top">Qt::Orientation&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a1f1d8067921d413fc7440dfbc0e74d52">orientation</a> () const</td></tr>
  149. <tr class="separator:a1f1d8067921d413fc7440dfbc0e74d52"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:ae88b6f36175c8af955fda61b2874c4d8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae88b6f36175c8af955fda61b2874c4d8">totalAngle</a> () const</td></tr>
  151. <tr class="separator:ae88b6f36175c8af955fda61b2874c4d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a81f3e69d4b9cc5badc514d9d74c40f3b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a81f3e69d4b9cc5badc514d9d74c40f3b">viewAngle</a> () const</td></tr>
  153. <tr class="separator:a81f3e69d4b9cc5badc514d9d74c40f3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:ae13600528c5b13a27b4220ac53b22153"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae13600528c5b13a27b4220ac53b22153">setTickCount</a> (int)</td></tr>
  155. <tr class="memdesc:ae13600528c5b13a27b4220ac53b22153"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the number of grooves in the wheel's surface. <a href="class_qwt_wheel.html#ae13600528c5b13a27b4220ac53b22153">More...</a><br /></td></tr>
  156. <tr class="separator:ae13600528c5b13a27b4220ac53b22153"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:af93ce9073b6333908e3faf9eb3e04427"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#af93ce9073b6333908e3faf9eb3e04427">tickCount</a> () const</td></tr>
  158. <tr class="separator:af93ce9073b6333908e3faf9eb3e04427"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ac434254039981344ccca22c76bce4f38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ac434254039981344ccca22c76bce4f38">setWheelWidth</a> (int)</td></tr>
  160. <tr class="memdesc:ac434254039981344ccca22c76bce4f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the width of the wheel. <a href="class_qwt_wheel.html#ac434254039981344ccca22c76bce4f38">More...</a><br /></td></tr>
  161. <tr class="separator:ac434254039981344ccca22c76bce4f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:afe5d24b4119b4be93f28ad4bff0691c1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#afe5d24b4119b4be93f28ad4bff0691c1">wheelWidth</a> () const</td></tr>
  163. <tr class="separator:afe5d24b4119b4be93f28ad4bff0691c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a4aa70134746908cef687e3c1bb7aa60c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a4aa70134746908cef687e3c1bb7aa60c">setWheelBorderWidth</a> (int)</td></tr>
  165. <tr class="memdesc:a4aa70134746908cef687e3c1bb7aa60c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the wheel border width of the wheel. <a href="class_qwt_wheel.html#a4aa70134746908cef687e3c1bb7aa60c">More...</a><br /></td></tr>
  166. <tr class="separator:a4aa70134746908cef687e3c1bb7aa60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:a9cabd25c2435def3d20cdd7717bf2e54"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a9cabd25c2435def3d20cdd7717bf2e54">wheelBorderWidth</a> () const</td></tr>
  168. <tr class="separator:a9cabd25c2435def3d20cdd7717bf2e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:a50a2046f1151af7599aee3ad8f4e3ff0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a50a2046f1151af7599aee3ad8f4e3ff0">setBorderWidth</a> (int)</td></tr>
  170. <tr class="memdesc:a50a2046f1151af7599aee3ad8f4e3ff0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the border width. <a href="class_qwt_wheel.html#a50a2046f1151af7599aee3ad8f4e3ff0">More...</a><br /></td></tr>
  171. <tr class="separator:a50a2046f1151af7599aee3ad8f4e3ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:a6d05fc4f971c16734761065452ef2131"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a6d05fc4f971c16734761065452ef2131">borderWidth</a> () const</td></tr>
  173. <tr class="separator:a6d05fc4f971c16734761065452ef2131"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:af64302130292bcd7daaaaa5809a5d541"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#af64302130292bcd7daaaaa5809a5d541">setInverted</a> (bool)</td></tr>
  175. <tr class="memdesc:af64302130292bcd7daaaaa5809a5d541"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable inverted appearance. <a href="class_qwt_wheel.html#af64302130292bcd7daaaaa5809a5d541">More...</a><br /></td></tr>
  176. <tr class="separator:af64302130292bcd7daaaaa5809a5d541"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:aee17a3ed663926c59affb367fffa9718"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#aee17a3ed663926c59affb367fffa9718">isInverted</a> () const</td></tr>
  178. <tr class="separator:aee17a3ed663926c59affb367fffa9718"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:ae56201a09773c85831b829be5858d4ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae56201a09773c85831b829be5858d4ce">setWrapping</a> (bool)</td></tr>
  180. <tr class="memdesc:ae56201a09773c85831b829be5858d4ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable wrapping. <a href="class_qwt_wheel.html#ae56201a09773c85831b829be5858d4ce">More...</a><br /></td></tr>
  181. <tr class="separator:ae56201a09773c85831b829be5858d4ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:ae8fc53d2bf4febbfa15075931ec6d75b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae8fc53d2bf4febbfa15075931ec6d75b">wrapping</a> () const</td></tr>
  183. <tr class="separator:ae8fc53d2bf4febbfa15075931ec6d75b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a63f5d4794cc1e624ab305083c7f4ed29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a63f5d4794cc1e624ab305083c7f4ed29">setSingleStep</a> (double)</td></tr>
  185. <tr class="memdesc:a63f5d4794cc1e624ab305083c7f4ed29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the step size of the counter. <a href="class_qwt_wheel.html#a63f5d4794cc1e624ab305083c7f4ed29">More...</a><br /></td></tr>
  186. <tr class="separator:a63f5d4794cc1e624ab305083c7f4ed29"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:ae98d9b0586c07266c11d1cd6b86c3519"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae98d9b0586c07266c11d1cd6b86c3519">singleStep</a> () const</td></tr>
  188. <tr class="separator:ae98d9b0586c07266c11d1cd6b86c3519"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. <tr class="memitem:adeecd6e684163c92143908240f89ce1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#adeecd6e684163c92143908240f89ce1e">setPageStepCount</a> (int)</td></tr>
  190. <tr class="memdesc:adeecd6e684163c92143908240f89ce1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the page step count. <a href="class_qwt_wheel.html#adeecd6e684163c92143908240f89ce1e">More...</a><br /></td></tr>
  191. <tr class="separator:adeecd6e684163c92143908240f89ce1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a7e10b03ed24ddabbc19197b3adb49ccb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a7e10b03ed24ddabbc19197b3adb49ccb">pageStepCount</a> () const</td></tr>
  193. <tr class="separator:a7e10b03ed24ddabbc19197b3adb49ccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a5e5bf1d335538ff6971d48b914f26d51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a5e5bf1d335538ff6971d48b914f26d51">setStepAlignment</a> (bool on)</td></tr>
  195. <tr class="memdesc:a5e5bf1d335538ff6971d48b914f26d51"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable step alignment. <a href="class_qwt_wheel.html#a5e5bf1d335538ff6971d48b914f26d51">More...</a><br /></td></tr>
  196. <tr class="separator:a5e5bf1d335538ff6971d48b914f26d51"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:a217b37509785f04121a447798a329333"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a217b37509785f04121a447798a329333">stepAlignment</a> () const</td></tr>
  198. <tr class="separator:a217b37509785f04121a447798a329333"><td class="memSeparator" colspan="2">&#160;</td></tr>
  199. <tr class="memitem:a5150a1bca89e97eb0fe7237c5e23f17f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a5150a1bca89e97eb0fe7237c5e23f17f">setRange</a> (double min, double max)</td></tr>
  200. <tr class="memdesc:a5150a1bca89e97eb0fe7237c5e23f17f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum and maximum values. <a href="class_qwt_wheel.html#a5150a1bca89e97eb0fe7237c5e23f17f">More...</a><br /></td></tr>
  201. <tr class="separator:a5150a1bca89e97eb0fe7237c5e23f17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:a7690c0a3f60afdaabf3bd52317787ae8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a7690c0a3f60afdaabf3bd52317787ae8">setMinimum</a> (double)</td></tr>
  203. <tr class="separator:a7690c0a3f60afdaabf3bd52317787ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:ab3c21edd1e6d2e8192fc894420642f7f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ab3c21edd1e6d2e8192fc894420642f7f">minimum</a> () const</td></tr>
  205. <tr class="separator:ab3c21edd1e6d2e8192fc894420642f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:afadb25bf4d4c4e0e279f3b3b23078ffc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#afadb25bf4d4c4e0e279f3b3b23078ffc">setMaximum</a> (double)</td></tr>
  207. <tr class="separator:afadb25bf4d4c4e0e279f3b3b23078ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  208. <tr class="memitem:a7a9954aabc8c8e31daf082135bfc84a1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a7a9954aabc8c8e31daf082135bfc84a1">maximum</a> () const</td></tr>
  209. <tr class="separator:a7a9954aabc8c8e31daf082135bfc84a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a5c234f68f0ff9906e2861e6fcd9dcc54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a5c234f68f0ff9906e2861e6fcd9dcc54">setUpdateInterval</a> (int)</td></tr>
  211. <tr class="memdesc:a5c234f68f0ff9906e2861e6fcd9dcc54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify the update interval when the wheel is flying. <a href="class_qwt_wheel.html#a5c234f68f0ff9906e2861e6fcd9dcc54">More...</a><br /></td></tr>
  212. <tr class="separator:a5c234f68f0ff9906e2861e6fcd9dcc54"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. <tr class="memitem:a5990d998c1063306eef8a5bb488fafad"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a5990d998c1063306eef8a5bb488fafad">updateInterval</a> () const</td></tr>
  214. <tr class="separator:a5990d998c1063306eef8a5bb488fafad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  215. <tr class="memitem:a321dde4b49b3f6780a1554af060e57ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a321dde4b49b3f6780a1554af060e57ef">setTracking</a> (bool)</td></tr>
  216. <tr class="memdesc:a321dde4b49b3f6780a1554af060e57ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable tracking. <a href="class_qwt_wheel.html#a321dde4b49b3f6780a1554af060e57ef">More...</a><br /></td></tr>
  217. <tr class="separator:a321dde4b49b3f6780a1554af060e57ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:ac84f4683b574c9186786a1f969cd5fe1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ac84f4683b574c9186786a1f969cd5fe1">isTracking</a> () const</td></tr>
  219. <tr class="separator:ac84f4683b574c9186786a1f969cd5fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:a805997f0b3fc520b721bdd11f3808b12"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a805997f0b3fc520b721bdd11f3808b12">mass</a> () const</td></tr>
  221. <tr class="separator:a805997f0b3fc520b721bdd11f3808b12"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. </table><table class="memberdecls">
  223. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  224. Protected Member Functions</h2></td></tr>
  225. <tr class="memitem:a8856da1dadb2a7b73e8bd75a1e981ea3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a8856da1dadb2a7b73e8bd75a1e981ea3">paintEvent</a> (QPaintEvent *)</td></tr>
  226. <tr class="memdesc:a8856da1dadb2a7b73e8bd75a1e981ea3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Qt Paint Event. <a href="class_qwt_wheel.html#a8856da1dadb2a7b73e8bd75a1e981ea3">More...</a><br /></td></tr>
  227. <tr class="separator:a8856da1dadb2a7b73e8bd75a1e981ea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:abf4ec8ed08f66034a9940dbb828703ac"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#abf4ec8ed08f66034a9940dbb828703ac">mousePressEvent</a> (QMouseEvent *)</td></tr>
  229. <tr class="memdesc:abf4ec8ed08f66034a9940dbb828703ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mouse press event handler. <a href="class_qwt_wheel.html#abf4ec8ed08f66034a9940dbb828703ac">More...</a><br /></td></tr>
  230. <tr class="separator:abf4ec8ed08f66034a9940dbb828703ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:a0af92c432374d99d371ecd5570ea038e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a0af92c432374d99d371ecd5570ea038e">mouseReleaseEvent</a> (QMouseEvent *)</td></tr>
  232. <tr class="memdesc:a0af92c432374d99d371ecd5570ea038e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mouse Release Event handler. <a href="class_qwt_wheel.html#a0af92c432374d99d371ecd5570ea038e">More...</a><br /></td></tr>
  233. <tr class="separator:a0af92c432374d99d371ecd5570ea038e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:a1c7445264de07cacf72ec942e189713b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a1c7445264de07cacf72ec942e189713b">mouseMoveEvent</a> (QMouseEvent *)</td></tr>
  235. <tr class="memdesc:a1c7445264de07cacf72ec942e189713b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mouse Move Event handler. <a href="class_qwt_wheel.html#a1c7445264de07cacf72ec942e189713b">More...</a><br /></td></tr>
  236. <tr class="separator:a1c7445264de07cacf72ec942e189713b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:a29c6b09213126e9e14c853e13108e262"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a29c6b09213126e9e14c853e13108e262">keyPressEvent</a> (QKeyEvent *)</td></tr>
  238. <tr class="separator:a29c6b09213126e9e14c853e13108e262"><td class="memSeparator" colspan="2">&#160;</td></tr>
  239. <tr class="memitem:a1ff8fa42a64643b7fa09ea2c17164075"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a1ff8fa42a64643b7fa09ea2c17164075">wheelEvent</a> (QWheelEvent *)</td></tr>
  240. <tr class="memdesc:a1ff8fa42a64643b7fa09ea2c17164075"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle wheel events. <a href="class_qwt_wheel.html#a1ff8fa42a64643b7fa09ea2c17164075">More...</a><br /></td></tr>
  241. <tr class="separator:a1ff8fa42a64643b7fa09ea2c17164075"><td class="memSeparator" colspan="2">&#160;</td></tr>
  242. <tr class="memitem:a8ca7e27c6afacdc520342f7324ecd6eb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a8ca7e27c6afacdc520342f7324ecd6eb">timerEvent</a> (QTimerEvent *)</td></tr>
  243. <tr class="memdesc:a8ca7e27c6afacdc520342f7324ecd6eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Qt timer event. <a href="class_qwt_wheel.html#a8ca7e27c6afacdc520342f7324ecd6eb">More...</a><br /></td></tr>
  244. <tr class="separator:a8ca7e27c6afacdc520342f7324ecd6eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. <tr class="memitem:af46272363dc06755e2d4c7e448664ff8"><td class="memItemLeft" align="right" valign="top"><a id="af46272363dc06755e2d4c7e448664ff8"></a>
  246. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#af46272363dc06755e2d4c7e448664ff8">stopFlying</a> ()</td></tr>
  247. <tr class="memdesc:af46272363dc06755e2d4c7e448664ff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop the flying movement of the wheel. <br /></td></tr>
  248. <tr class="separator:af46272363dc06755e2d4c7e448664ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  249. <tr class="memitem:a6c84cc9a407d29d955672784d84c747e"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a6c84cc9a407d29d955672784d84c747e">wheelRect</a> () const</td></tr>
  250. <tr class="separator:a6c84cc9a407d29d955672784d84c747e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  251. <tr class="memitem:ae57b5aa2da03df6c0ac78b896a91e1ba"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ae57b5aa2da03df6c0ac78b896a91e1ba">sizeHint</a> () const</td></tr>
  252. <tr class="separator:ae57b5aa2da03df6c0ac78b896a91e1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  253. <tr class="memitem:ada93a1ea593834beb546474bca0991cb"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#ada93a1ea593834beb546474bca0991cb">minimumSizeHint</a> () const</td></tr>
  254. <tr class="separator:ada93a1ea593834beb546474bca0991cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  255. <tr class="memitem:aba74d0e494f6e590ac1deac60a66a68e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#aba74d0e494f6e590ac1deac60a66a68e">drawTicks</a> (QPainter *, const QRectF &amp;)</td></tr>
  256. <tr class="separator:aba74d0e494f6e590ac1deac60a66a68e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  257. <tr class="memitem:a2c4fc6e5e04cd5623a035fd9581d395f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#a2c4fc6e5e04cd5623a035fd9581d395f">drawWheelBackground</a> (QPainter *, const QRectF &amp;)</td></tr>
  258. <tr class="separator:a2c4fc6e5e04cd5623a035fd9581d395f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  259. <tr class="memitem:aa69c2101119d586512bfbbcbd0957b86"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#aa69c2101119d586512bfbbcbd0957b86">valueAt</a> (const QPoint &amp;) const</td></tr>
  260. <tr class="separator:aa69c2101119d586512bfbbcbd0957b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
  261. </table>
  262. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  263. <div class="textblock"><p>The Wheel Widget. </p>
  264. <p>The wheel widget can be used to change values over a very large range in very small steps. Using the <a class="el" href="class_qwt_wheel.html#a2af8b9b10ebff58b351027208c1e2b86" title="Set the slider&#39;s mass for flywheel effect.">setMass()</a> member, it can be configured as a flying wheel.</p>
  265. <p>The default range of the wheel is [0.0, 100.0]</p>
  266. <dl class="section see"><dt>See also</dt><dd>The radio example. </dd></dl>
  267. </div><h2 class="groupheader">Member Function Documentation</h2>
  268. <a id="a6d05fc4f971c16734761065452ef2131"></a>
  269. <h2 class="memtitle"><span class="permalink"><a href="#a6d05fc4f971c16734761065452ef2131">&#9670;&nbsp;</a></span>borderWidth()</h2>
  270. <div class="memitem">
  271. <div class="memproto">
  272. <table class="memname">
  273. <tr>
  274. <td class="memname">int QwtWheel::borderWidth </td>
  275. <td>(</td>
  276. <td class="paramname"></td><td>)</td>
  277. <td> const</td>
  278. </tr>
  279. </table>
  280. </div><div class="memdoc">
  281. <dl class="section return"><dt>Returns</dt><dd>Border width </dd></dl>
  282. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a50a2046f1151af7599aee3ad8f4e3ff0" title="Set the border width.">setBorderWidth()</a> </dd></dl>
  283. </div>
  284. </div>
  285. <a id="aba74d0e494f6e590ac1deac60a66a68e"></a>
  286. <h2 class="memtitle"><span class="permalink"><a href="#aba74d0e494f6e590ac1deac60a66a68e">&#9670;&nbsp;</a></span>drawTicks()</h2>
  287. <div class="memitem">
  288. <div class="memproto">
  289. <table class="mlabels">
  290. <tr>
  291. <td class="mlabels-left">
  292. <table class="memname">
  293. <tr>
  294. <td class="memname">void QwtWheel::drawTicks </td>
  295. <td>(</td>
  296. <td class="paramtype">QPainter *&#160;</td>
  297. <td class="paramname"><em>painter</em>, </td>
  298. </tr>
  299. <tr>
  300. <td class="paramkey"></td>
  301. <td></td>
  302. <td class="paramtype">const QRectF &amp;&#160;</td>
  303. <td class="paramname"><em>rect</em>&#160;</td>
  304. </tr>
  305. <tr>
  306. <td></td>
  307. <td>)</td>
  308. <td></td><td></td>
  309. </tr>
  310. </table>
  311. </td>
  312. <td class="mlabels-right">
  313. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  314. </tr>
  315. </table>
  316. </div><div class="memdoc">
  317. <p>Draw the Wheel's ticks</p>
  318. <dl class="params"><dt>Parameters</dt><dd>
  319. <table class="params">
  320. <tr><td class="paramname">painter</td><td>Painter </td></tr>
  321. <tr><td class="paramname">rect</td><td>Geometry for the wheel </td></tr>
  322. </table>
  323. </dd>
  324. </dl>
  325. </div>
  326. </div>
  327. <a id="a2c4fc6e5e04cd5623a035fd9581d395f"></a>
  328. <h2 class="memtitle"><span class="permalink"><a href="#a2c4fc6e5e04cd5623a035fd9581d395f">&#9670;&nbsp;</a></span>drawWheelBackground()</h2>
  329. <div class="memitem">
  330. <div class="memproto">
  331. <table class="mlabels">
  332. <tr>
  333. <td class="mlabels-left">
  334. <table class="memname">
  335. <tr>
  336. <td class="memname">void QwtWheel::drawWheelBackground </td>
  337. <td>(</td>
  338. <td class="paramtype">QPainter *&#160;</td>
  339. <td class="paramname"><em>painter</em>, </td>
  340. </tr>
  341. <tr>
  342. <td class="paramkey"></td>
  343. <td></td>
  344. <td class="paramtype">const QRectF &amp;&#160;</td>
  345. <td class="paramname"><em>rect</em>&#160;</td>
  346. </tr>
  347. <tr>
  348. <td></td>
  349. <td>)</td>
  350. <td></td><td></td>
  351. </tr>
  352. </table>
  353. </td>
  354. <td class="mlabels-right">
  355. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  356. </tr>
  357. </table>
  358. </div><div class="memdoc">
  359. <p>Draw the Wheel's background gradient</p>
  360. <dl class="params"><dt>Parameters</dt><dd>
  361. <table class="params">
  362. <tr><td class="paramname">painter</td><td>Painter </td></tr>
  363. <tr><td class="paramname">rect</td><td>Geometry for the wheel </td></tr>
  364. </table>
  365. </dd>
  366. </dl>
  367. </div>
  368. </div>
  369. <a id="aee17a3ed663926c59affb367fffa9718"></a>
  370. <h2 class="memtitle"><span class="permalink"><a href="#aee17a3ed663926c59affb367fffa9718">&#9670;&nbsp;</a></span>isInverted()</h2>
  371. <div class="memitem">
  372. <div class="memproto">
  373. <table class="memname">
  374. <tr>
  375. <td class="memname">bool QwtWheel::isInverted </td>
  376. <td>(</td>
  377. <td class="paramname"></td><td>)</td>
  378. <td> const</td>
  379. </tr>
  380. </table>
  381. </div><div class="memdoc">
  382. <dl class="section return"><dt>Returns</dt><dd>True, when the wheel is inverted </dd></dl>
  383. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#af64302130292bcd7daaaaa5809a5d541" title="En/Disable inverted appearance.">setInverted()</a> </dd></dl>
  384. </div>
  385. </div>
  386. <a id="ac84f4683b574c9186786a1f969cd5fe1"></a>
  387. <h2 class="memtitle"><span class="permalink"><a href="#ac84f4683b574c9186786a1f969cd5fe1">&#9670;&nbsp;</a></span>isTracking()</h2>
  388. <div class="memitem">
  389. <div class="memproto">
  390. <table class="memname">
  391. <tr>
  392. <td class="memname">bool QwtWheel::isTracking </td>
  393. <td>(</td>
  394. <td class="paramname"></td><td>)</td>
  395. <td> const</td>
  396. </tr>
  397. </table>
  398. </div><div class="memdoc">
  399. <dl class="section return"><dt>Returns</dt><dd>True, when tracking is enabled </dd></dl>
  400. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a321dde4b49b3f6780a1554af060e57ef" title="En/Disable tracking.">setTracking()</a>, <a class="el" href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a" title="Notify a change of value.">valueChanged()</a>, <a class="el" href="class_qwt_wheel.html#a7d0f833add72c3aceb0773825626bddf">wheelMoved()</a> </dd></dl>
  401. </div>
  402. </div>
  403. <a id="a29c6b09213126e9e14c853e13108e262"></a>
  404. <h2 class="memtitle"><span class="permalink"><a href="#a29c6b09213126e9e14c853e13108e262">&#9670;&nbsp;</a></span>keyPressEvent()</h2>
  405. <div class="memitem">
  406. <div class="memproto">
  407. <table class="mlabels">
  408. <tr>
  409. <td class="mlabels-left">
  410. <table class="memname">
  411. <tr>
  412. <td class="memname">void QwtWheel::keyPressEvent </td>
  413. <td>(</td>
  414. <td class="paramtype">QKeyEvent *&#160;</td>
  415. <td class="paramname"><em>event</em></td><td>)</td>
  416. <td></td>
  417. </tr>
  418. </table>
  419. </td>
  420. <td class="mlabels-right">
  421. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  422. </tr>
  423. </table>
  424. </div><div class="memdoc">
  425. <p>Handle key events</p>
  426. <ul>
  427. <li>Qt::Key_Home<br />
  428. Step to <a class="el" href="class_qwt_wheel.html#ab3c21edd1e6d2e8192fc894420642f7f">minimum()</a></li>
  429. <li>Qt::Key_End<br />
  430. Step to <a class="el" href="class_qwt_wheel.html#a7a9954aabc8c8e31daf082135bfc84a1">maximum()</a></li>
  431. <li>Qt::Key_Up<br />
  432. In case of a horizontal or not inverted vertical wheel the value will be incremented by the step size. For an inverted vertical wheel the value will be decremented by the step size.</li>
  433. <li>Qt::Key_Down<br />
  434. In case of a horizontal or not inverted vertical wheel the value will be decremented by the step size. For an inverted vertical wheel the value will be incremented by the step size.</li>
  435. <li>Qt::Key_PageUp<br />
  436. The value will be incremented by pageStepSize() * singleStepSize().</li>
  437. <li>Qt::Key_PageDown<br />
  438. The value will be decremented by pageStepSize() * singleStepSize().</li>
  439. </ul>
  440. <dl class="params"><dt>Parameters</dt><dd>
  441. <table class="params">
  442. <tr><td class="paramname">event</td><td>Key event </td></tr>
  443. </table>
  444. </dd>
  445. </dl>
  446. </div>
  447. </div>
  448. <a id="a805997f0b3fc520b721bdd11f3808b12"></a>
  449. <h2 class="memtitle"><span class="permalink"><a href="#a805997f0b3fc520b721bdd11f3808b12">&#9670;&nbsp;</a></span>mass()</h2>
  450. <div class="memitem">
  451. <div class="memproto">
  452. <table class="memname">
  453. <tr>
  454. <td class="memname">double QwtWheel::mass </td>
  455. <td>(</td>
  456. <td class="paramname"></td><td>)</td>
  457. <td> const</td>
  458. </tr>
  459. </table>
  460. </div><div class="memdoc">
  461. <dl class="section return"><dt>Returns</dt><dd>mass </dd></dl>
  462. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a2af8b9b10ebff58b351027208c1e2b86" title="Set the slider&#39;s mass for flywheel effect.">setMass()</a> </dd></dl>
  463. </div>
  464. </div>
  465. <a id="a7a9954aabc8c8e31daf082135bfc84a1"></a>
  466. <h2 class="memtitle"><span class="permalink"><a href="#a7a9954aabc8c8e31daf082135bfc84a1">&#9670;&nbsp;</a></span>maximum()</h2>
  467. <div class="memitem">
  468. <div class="memproto">
  469. <table class="memname">
  470. <tr>
  471. <td class="memname">double QwtWheel::maximum </td>
  472. <td>(</td>
  473. <td class="paramname"></td><td>)</td>
  474. <td> const</td>
  475. </tr>
  476. </table>
  477. </div><div class="memdoc">
  478. <dl class="section return"><dt>Returns</dt><dd>The maximum of the range </dd></dl>
  479. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5150a1bca89e97eb0fe7237c5e23f17f" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_wheel.html#afadb25bf4d4c4e0e279f3b3b23078ffc">setMaximum()</a>, <a class="el" href="class_qwt_wheel.html#ab3c21edd1e6d2e8192fc894420642f7f">minimum()</a> </dd></dl>
  480. </div>
  481. </div>
  482. <a id="ab3c21edd1e6d2e8192fc894420642f7f"></a>
  483. <h2 class="memtitle"><span class="permalink"><a href="#ab3c21edd1e6d2e8192fc894420642f7f">&#9670;&nbsp;</a></span>minimum()</h2>
  484. <div class="memitem">
  485. <div class="memproto">
  486. <table class="memname">
  487. <tr>
  488. <td class="memname">double QwtWheel::minimum </td>
  489. <td>(</td>
  490. <td class="paramname"></td><td>)</td>
  491. <td> const</td>
  492. </tr>
  493. </table>
  494. </div><div class="memdoc">
  495. <dl class="section return"><dt>Returns</dt><dd>The minimum of the range </dd></dl>
  496. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5150a1bca89e97eb0fe7237c5e23f17f" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_wheel.html#a7690c0a3f60afdaabf3bd52317787ae8">setMinimum()</a>, <a class="el" href="class_qwt_wheel.html#a7a9954aabc8c8e31daf082135bfc84a1">maximum()</a> </dd></dl>
  497. </div>
  498. </div>
  499. <a id="ada93a1ea593834beb546474bca0991cb"></a>
  500. <h2 class="memtitle"><span class="permalink"><a href="#ada93a1ea593834beb546474bca0991cb">&#9670;&nbsp;</a></span>minimumSizeHint()</h2>
  501. <div class="memitem">
  502. <div class="memproto">
  503. <table class="mlabels">
  504. <tr>
  505. <td class="mlabels-left">
  506. <table class="memname">
  507. <tr>
  508. <td class="memname">QSize QwtWheel::minimumSizeHint </td>
  509. <td>(</td>
  510. <td class="paramname"></td><td>)</td>
  511. <td> const</td>
  512. </tr>
  513. </table>
  514. </td>
  515. <td class="mlabels-right">
  516. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  517. </tr>
  518. </table>
  519. </div><div class="memdoc">
  520. <dl class="section return"><dt>Returns</dt><dd>Minimum size hint </dd></dl>
  521. <dl class="section warning"><dt>Warning</dt><dd>The return value is based on the wheel width. </dd></dl>
  522. </div>
  523. </div>
  524. <a id="a1c7445264de07cacf72ec942e189713b"></a>
  525. <h2 class="memtitle"><span class="permalink"><a href="#a1c7445264de07cacf72ec942e189713b">&#9670;&nbsp;</a></span>mouseMoveEvent()</h2>
  526. <div class="memitem">
  527. <div class="memproto">
  528. <table class="mlabels">
  529. <tr>
  530. <td class="mlabels-left">
  531. <table class="memname">
  532. <tr>
  533. <td class="memname">void QwtWheel::mouseMoveEvent </td>
  534. <td>(</td>
  535. <td class="paramtype">QMouseEvent *&#160;</td>
  536. <td class="paramname"><em>event</em></td><td>)</td>
  537. <td></td>
  538. </tr>
  539. </table>
  540. </td>
  541. <td class="mlabels-right">
  542. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  543. </tr>
  544. </table>
  545. </div><div class="memdoc">
  546. <p>Mouse Move Event handler. </p>
  547. <p>Turn the wheel according to the mouse position</p>
  548. <dl class="params"><dt>Parameters</dt><dd>
  549. <table class="params">
  550. <tr><td class="paramname">event</td><td>Mouse event </td></tr>
  551. </table>
  552. </dd>
  553. </dl>
  554. </div>
  555. </div>
  556. <a id="abf4ec8ed08f66034a9940dbb828703ac"></a>
  557. <h2 class="memtitle"><span class="permalink"><a href="#abf4ec8ed08f66034a9940dbb828703ac">&#9670;&nbsp;</a></span>mousePressEvent()</h2>
  558. <div class="memitem">
  559. <div class="memproto">
  560. <table class="mlabels">
  561. <tr>
  562. <td class="mlabels-left">
  563. <table class="memname">
  564. <tr>
  565. <td class="memname">void QwtWheel::mousePressEvent </td>
  566. <td>(</td>
  567. <td class="paramtype">QMouseEvent *&#160;</td>
  568. <td class="paramname"><em>event</em></td><td>)</td>
  569. <td></td>
  570. </tr>
  571. </table>
  572. </td>
  573. <td class="mlabels-right">
  574. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  575. </tr>
  576. </table>
  577. </div><div class="memdoc">
  578. <p>Mouse press event handler. </p>
  579. <p>Start movement of the wheel.</p>
  580. <dl class="params"><dt>Parameters</dt><dd>
  581. <table class="params">
  582. <tr><td class="paramname">event</td><td>Mouse event </td></tr>
  583. </table>
  584. </dd>
  585. </dl>
  586. </div>
  587. </div>
  588. <a id="a0af92c432374d99d371ecd5570ea038e"></a>
  589. <h2 class="memtitle"><span class="permalink"><a href="#a0af92c432374d99d371ecd5570ea038e">&#9670;&nbsp;</a></span>mouseReleaseEvent()</h2>
  590. <div class="memitem">
  591. <div class="memproto">
  592. <table class="mlabels">
  593. <tr>
  594. <td class="mlabels-left">
  595. <table class="memname">
  596. <tr>
  597. <td class="memname">void QwtWheel::mouseReleaseEvent </td>
  598. <td>(</td>
  599. <td class="paramtype">QMouseEvent *&#160;</td>
  600. <td class="paramname"><em>event</em></td><td>)</td>
  601. <td></td>
  602. </tr>
  603. </table>
  604. </td>
  605. <td class="mlabels-right">
  606. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  607. </tr>
  608. </table>
  609. </div><div class="memdoc">
  610. <p>Mouse Release Event handler. </p>
  611. <p>When the wheel has no mass the movement of the wheel stops, otherwise it starts flying.</p>
  612. <dl class="params"><dt>Parameters</dt><dd>
  613. <table class="params">
  614. <tr><td class="paramname">event</td><td>Mouse event </td></tr>
  615. </table>
  616. </dd>
  617. </dl>
  618. </div>
  619. </div>
  620. <a id="a1f1d8067921d413fc7440dfbc0e74d52"></a>
  621. <h2 class="memtitle"><span class="permalink"><a href="#a1f1d8067921d413fc7440dfbc0e74d52">&#9670;&nbsp;</a></span>orientation()</h2>
  622. <div class="memitem">
  623. <div class="memproto">
  624. <table class="memname">
  625. <tr>
  626. <td class="memname">Qt::Orientation QwtWheel::orientation </td>
  627. <td>(</td>
  628. <td class="paramname"></td><td>)</td>
  629. <td> const</td>
  630. </tr>
  631. </table>
  632. </div><div class="memdoc">
  633. <dl class="section return"><dt>Returns</dt><dd>Orientation </dd></dl>
  634. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#acae74c8161fd1df728f26253dd1defa8" title="Set the wheel&#39;s orientation.">setOrientation()</a> </dd></dl>
  635. </div>
  636. </div>
  637. <a id="a7e10b03ed24ddabbc19197b3adb49ccb"></a>
  638. <h2 class="memtitle"><span class="permalink"><a href="#a7e10b03ed24ddabbc19197b3adb49ccb">&#9670;&nbsp;</a></span>pageStepCount()</h2>
  639. <div class="memitem">
  640. <div class="memproto">
  641. <table class="memname">
  642. <tr>
  643. <td class="memname">int QwtWheel::pageStepCount </td>
  644. <td>(</td>
  645. <td class="paramname"></td><td>)</td>
  646. <td> const</td>
  647. </tr>
  648. </table>
  649. </div><div class="memdoc">
  650. <dl class="section return"><dt>Returns</dt><dd>Page step count </dd></dl>
  651. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#adeecd6e684163c92143908240f89ce1e" title="Set the page step count.">setPageStepCount()</a>, <a class="el" href="class_qwt_wheel.html#ae98d9b0586c07266c11d1cd6b86c3519">singleStep()</a> </dd></dl>
  652. </div>
  653. </div>
  654. <a id="a8856da1dadb2a7b73e8bd75a1e981ea3"></a>
  655. <h2 class="memtitle"><span class="permalink"><a href="#a8856da1dadb2a7b73e8bd75a1e981ea3">&#9670;&nbsp;</a></span>paintEvent()</h2>
  656. <div class="memitem">
  657. <div class="memproto">
  658. <table class="mlabels">
  659. <tr>
  660. <td class="mlabels-left">
  661. <table class="memname">
  662. <tr>
  663. <td class="memname">void QwtWheel::paintEvent </td>
  664. <td>(</td>
  665. <td class="paramtype">QPaintEvent *&#160;</td>
  666. <td class="paramname"><em>event</em></td><td>)</td>
  667. <td></td>
  668. </tr>
  669. </table>
  670. </td>
  671. <td class="mlabels-right">
  672. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  673. </tr>
  674. </table>
  675. </div><div class="memdoc">
  676. <p>Qt Paint Event. </p>
  677. <dl class="params"><dt>Parameters</dt><dd>
  678. <table class="params">
  679. <tr><td class="paramname">event</td><td>Paint event </td></tr>
  680. </table>
  681. </dd>
  682. </dl>
  683. </div>
  684. </div>
  685. <a id="a50a2046f1151af7599aee3ad8f4e3ff0"></a>
  686. <h2 class="memtitle"><span class="permalink"><a href="#a50a2046f1151af7599aee3ad8f4e3ff0">&#9670;&nbsp;</a></span>setBorderWidth()</h2>
  687. <div class="memitem">
  688. <div class="memproto">
  689. <table class="memname">
  690. <tr>
  691. <td class="memname">void QwtWheel::setBorderWidth </td>
  692. <td>(</td>
  693. <td class="paramtype">int&#160;</td>
  694. <td class="paramname"><em>width</em></td><td>)</td>
  695. <td></td>
  696. </tr>
  697. </table>
  698. </div><div class="memdoc">
  699. <p>Set the border width. </p>
  700. <p>The border defaults to 2.</p>
  701. <dl class="params"><dt>Parameters</dt><dd>
  702. <table class="params">
  703. <tr><td class="paramname">width</td><td>Border width </td></tr>
  704. </table>
  705. </dd>
  706. </dl>
  707. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a6d05fc4f971c16734761065452ef2131">borderWidth()</a> </dd></dl>
  708. </div>
  709. </div>
  710. <a id="af64302130292bcd7daaaaa5809a5d541"></a>
  711. <h2 class="memtitle"><span class="permalink"><a href="#af64302130292bcd7daaaaa5809a5d541">&#9670;&nbsp;</a></span>setInverted()</h2>
  712. <div class="memitem">
  713. <div class="memproto">
  714. <table class="memname">
  715. <tr>
  716. <td class="memname">void QwtWheel::setInverted </td>
  717. <td>(</td>
  718. <td class="paramtype">bool&#160;</td>
  719. <td class="paramname"><em>on</em></td><td>)</td>
  720. <td></td>
  721. </tr>
  722. </table>
  723. </div><div class="memdoc">
  724. <p>En/Disable inverted appearance. </p>
  725. <p>An inverted wheel increases its values in the opposite direction. The direction of an inverted horizontal wheel will be from right to left an inverted vertical wheel will increase from bottom to top.</p>
  726. <dl class="params"><dt>Parameters</dt><dd>
  727. <table class="params">
  728. <tr><td class="paramname">on</td><td>En/Disable inverted appearance </td></tr>
  729. </table>
  730. </dd>
  731. </dl>
  732. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#aee17a3ed663926c59affb367fffa9718">isInverted()</a> </dd></dl>
  733. </div>
  734. </div>
  735. <a id="a2af8b9b10ebff58b351027208c1e2b86"></a>
  736. <h2 class="memtitle"><span class="permalink"><a href="#a2af8b9b10ebff58b351027208c1e2b86">&#9670;&nbsp;</a></span>setMass</h2>
  737. <div class="memitem">
  738. <div class="memproto">
  739. <table class="mlabels">
  740. <tr>
  741. <td class="mlabels-left">
  742. <table class="memname">
  743. <tr>
  744. <td class="memname">void QwtWheel::setMass </td>
  745. <td>(</td>
  746. <td class="paramtype">double&#160;</td>
  747. <td class="paramname"><em>mass</em></td><td>)</td>
  748. <td></td>
  749. </tr>
  750. </table>
  751. </td>
  752. <td class="mlabels-right">
  753. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  754. </tr>
  755. </table>
  756. </div><div class="memdoc">
  757. <p>Set the slider's mass for flywheel effect. </p>
  758. <p>If the slider's mass is greater then 0, it will continue to move after the mouse button has been released. Its speed decreases with time at a rate depending on the slider's mass. A large mass means that it will continue to move for a long time.</p>
  759. <p>Derived widgets may overload this function to make it public.</p>
  760. <dl class="params"><dt>Parameters</dt><dd>
  761. <table class="params">
  762. <tr><td class="paramname">mass</td><td>New mass in kg</td></tr>
  763. </table>
  764. </dd>
  765. </dl>
  766. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a805997f0b3fc520b721bdd11f3808b12">mass()</a> </dd></dl>
  767. </div>
  768. </div>
  769. <a id="afadb25bf4d4c4e0e279f3b3b23078ffc"></a>
  770. <h2 class="memtitle"><span class="permalink"><a href="#afadb25bf4d4c4e0e279f3b3b23078ffc">&#9670;&nbsp;</a></span>setMaximum()</h2>
  771. <div class="memitem">
  772. <div class="memproto">
  773. <table class="memname">
  774. <tr>
  775. <td class="memname">void QwtWheel::setMaximum </td>
  776. <td>(</td>
  777. <td class="paramtype">double&#160;</td>
  778. <td class="paramname"><em>value</em></td><td>)</td>
  779. <td></td>
  780. </tr>
  781. </table>
  782. </div><div class="memdoc">
  783. <p>Set the maximum value of the range</p>
  784. <dl class="params"><dt>Parameters</dt><dd>
  785. <table class="params">
  786. <tr><td class="paramname">value</td><td>Maximum value </td></tr>
  787. </table>
  788. </dd>
  789. </dl>
  790. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5150a1bca89e97eb0fe7237c5e23f17f" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_wheel.html#a7690c0a3f60afdaabf3bd52317787ae8">setMinimum()</a>, <a class="el" href="class_qwt_wheel.html#a7a9954aabc8c8e31daf082135bfc84a1">maximum()</a> </dd></dl>
  791. </div>
  792. </div>
  793. <a id="a7690c0a3f60afdaabf3bd52317787ae8"></a>
  794. <h2 class="memtitle"><span class="permalink"><a href="#a7690c0a3f60afdaabf3bd52317787ae8">&#9670;&nbsp;</a></span>setMinimum()</h2>
  795. <div class="memitem">
  796. <div class="memproto">
  797. <table class="memname">
  798. <tr>
  799. <td class="memname">void QwtWheel::setMinimum </td>
  800. <td>(</td>
  801. <td class="paramtype">double&#160;</td>
  802. <td class="paramname"><em>value</em></td><td>)</td>
  803. <td></td>
  804. </tr>
  805. </table>
  806. </div><div class="memdoc">
  807. <p>Set the minimum value of the range</p>
  808. <dl class="params"><dt>Parameters</dt><dd>
  809. <table class="params">
  810. <tr><td class="paramname">value</td><td>Minimum value </td></tr>
  811. </table>
  812. </dd>
  813. </dl>
  814. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5150a1bca89e97eb0fe7237c5e23f17f" title="Set the minimum and maximum values.">setRange()</a>, <a class="el" href="class_qwt_wheel.html#afadb25bf4d4c4e0e279f3b3b23078ffc">setMaximum()</a>, <a class="el" href="class_qwt_wheel.html#ab3c21edd1e6d2e8192fc894420642f7f">minimum()</a></dd></dl>
  815. <dl class="section note"><dt>Note</dt><dd>The maximum is adjusted if necessary to ensure that the range remains valid. </dd></dl>
  816. </div>
  817. </div>
  818. <a id="acae74c8161fd1df728f26253dd1defa8"></a>
  819. <h2 class="memtitle"><span class="permalink"><a href="#acae74c8161fd1df728f26253dd1defa8">&#9670;&nbsp;</a></span>setOrientation()</h2>
  820. <div class="memitem">
  821. <div class="memproto">
  822. <table class="memname">
  823. <tr>
  824. <td class="memname">void QwtWheel::setOrientation </td>
  825. <td>(</td>
  826. <td class="paramtype">Qt::Orientation&#160;</td>
  827. <td class="paramname"><em>orientation</em></td><td>)</td>
  828. <td></td>
  829. </tr>
  830. </table>
  831. </div><div class="memdoc">
  832. <p>Set the wheel's orientation. </p>
  833. <p>The default orientation is Qt::Horizontal.</p>
  834. <dl class="params"><dt>Parameters</dt><dd>
  835. <table class="params">
  836. <tr><td class="paramname">orientation</td><td>Qt::Horizontal or Qt::Vertical. </td></tr>
  837. </table>
  838. </dd>
  839. </dl>
  840. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a1f1d8067921d413fc7440dfbc0e74d52">orientation()</a> </dd></dl>
  841. </div>
  842. </div>
  843. <a id="adeecd6e684163c92143908240f89ce1e"></a>
  844. <h2 class="memtitle"><span class="permalink"><a href="#adeecd6e684163c92143908240f89ce1e">&#9670;&nbsp;</a></span>setPageStepCount()</h2>
  845. <div class="memitem">
  846. <div class="memproto">
  847. <table class="memname">
  848. <tr>
  849. <td class="memname">void QwtWheel::setPageStepCount </td>
  850. <td>(</td>
  851. <td class="paramtype">int&#160;</td>
  852. <td class="paramname"><em>count</em></td><td>)</td>
  853. <td></td>
  854. </tr>
  855. </table>
  856. </div><div class="memdoc">
  857. <p>Set the page step count. </p>
  858. <p>pageStepCount is a multiplicator for the single step size that typically corresponds to the user pressing PageUp or PageDown.</p>
  859. <p>A value of 0 disables page stepping.</p>
  860. <p>The default value is 1.</p>
  861. <dl class="params"><dt>Parameters</dt><dd>
  862. <table class="params">
  863. <tr><td class="paramname">count</td><td>Multiplicator for the single step size </td></tr>
  864. </table>
  865. </dd>
  866. </dl>
  867. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a7e10b03ed24ddabbc19197b3adb49ccb">pageStepCount()</a>, <a class="el" href="class_qwt_wheel.html#a63f5d4794cc1e624ab305083c7f4ed29" title="Set the step size of the counter.">setSingleStep()</a> </dd></dl>
  868. </div>
  869. </div>
  870. <a id="a5150a1bca89e97eb0fe7237c5e23f17f"></a>
  871. <h2 class="memtitle"><span class="permalink"><a href="#a5150a1bca89e97eb0fe7237c5e23f17f">&#9670;&nbsp;</a></span>setRange()</h2>
  872. <div class="memitem">
  873. <div class="memproto">
  874. <table class="memname">
  875. <tr>
  876. <td class="memname">void QwtWheel::setRange </td>
  877. <td>(</td>
  878. <td class="paramtype">double&#160;</td>
  879. <td class="paramname"><em>min</em>, </td>
  880. </tr>
  881. <tr>
  882. <td class="paramkey"></td>
  883. <td></td>
  884. <td class="paramtype">double&#160;</td>
  885. <td class="paramname"><em>max</em>&#160;</td>
  886. </tr>
  887. <tr>
  888. <td></td>
  889. <td>)</td>
  890. <td></td><td></td>
  891. </tr>
  892. </table>
  893. </div><div class="memdoc">
  894. <p>Set the minimum and maximum values. </p>
  895. <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>
  896. <dl class="params"><dt>Parameters</dt><dd>
  897. <table class="params">
  898. <tr><td class="paramname">min</td><td>Minimum value </td></tr>
  899. <tr><td class="paramname">max</td><td>Maximum value</td></tr>
  900. </table>
  901. </dd>
  902. </dl>
  903. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ab3c21edd1e6d2e8192fc894420642f7f">minimum()</a>, <a class="el" href="class_qwt_wheel.html#a7a9954aabc8c8e31daf082135bfc84a1">maximum()</a> </dd></dl>
  904. </div>
  905. </div>
  906. <a id="a63f5d4794cc1e624ab305083c7f4ed29"></a>
  907. <h2 class="memtitle"><span class="permalink"><a href="#a63f5d4794cc1e624ab305083c7f4ed29">&#9670;&nbsp;</a></span>setSingleStep()</h2>
  908. <div class="memitem">
  909. <div class="memproto">
  910. <table class="memname">
  911. <tr>
  912. <td class="memname">void QwtWheel::setSingleStep </td>
  913. <td>(</td>
  914. <td class="paramtype">double&#160;</td>
  915. <td class="paramname"><em>stepSize</em></td><td>)</td>
  916. <td></td>
  917. </tr>
  918. </table>
  919. </div><div class="memdoc">
  920. <p>Set the step size of the counter. </p>
  921. <p>A value &lt;= 0.0 disables stepping</p>
  922. <dl class="params"><dt>Parameters</dt><dd>
  923. <table class="params">
  924. <tr><td class="paramname">stepSize</td><td>Single step size </td></tr>
  925. </table>
  926. </dd>
  927. </dl>
  928. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ae98d9b0586c07266c11d1cd6b86c3519">singleStep()</a>, <a class="el" href="class_qwt_wheel.html#adeecd6e684163c92143908240f89ce1e" title="Set the page step count.">setPageStepCount()</a> </dd></dl>
  929. </div>
  930. </div>
  931. <a id="a5e5bf1d335538ff6971d48b914f26d51"></a>
  932. <h2 class="memtitle"><span class="permalink"><a href="#a5e5bf1d335538ff6971d48b914f26d51">&#9670;&nbsp;</a></span>setStepAlignment()</h2>
  933. <div class="memitem">
  934. <div class="memproto">
  935. <table class="memname">
  936. <tr>
  937. <td class="memname">void QwtWheel::setStepAlignment </td>
  938. <td>(</td>
  939. <td class="paramtype">bool&#160;</td>
  940. <td class="paramname"><em>on</em></td><td>)</td>
  941. <td></td>
  942. </tr>
  943. </table>
  944. </div><div class="memdoc">
  945. <p>En/Disable step alignment. </p>
  946. <p>When step alignment is enabled value changes initiated by user input ( mouse, keyboard, wheel ) are aligned to the multiples of the single step.</p>
  947. <dl class="params"><dt>Parameters</dt><dd>
  948. <table class="params">
  949. <tr><td class="paramname">on</td><td>On/Off </td></tr>
  950. </table>
  951. </dd>
  952. </dl>
  953. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a217b37509785f04121a447798a329333">stepAlignment()</a>, <a class="el" href="class_qwt_wheel.html#a63f5d4794cc1e624ab305083c7f4ed29" title="Set the step size of the counter.">setSingleStep()</a> </dd></dl>
  954. </div>
  955. </div>
  956. <a id="ae13600528c5b13a27b4220ac53b22153"></a>
  957. <h2 class="memtitle"><span class="permalink"><a href="#ae13600528c5b13a27b4220ac53b22153">&#9670;&nbsp;</a></span>setTickCount()</h2>
  958. <div class="memitem">
  959. <div class="memproto">
  960. <table class="memname">
  961. <tr>
  962. <td class="memname">void QwtWheel::setTickCount </td>
  963. <td>(</td>
  964. <td class="paramtype">int&#160;</td>
  965. <td class="paramname"><em>count</em></td><td>)</td>
  966. <td></td>
  967. </tr>
  968. </table>
  969. </div><div class="memdoc">
  970. <p>Adjust the number of grooves in the wheel's surface. </p>
  971. <p>The number of grooves is limited to 6 &lt;= count &lt;= 50. Values outside this range will be clipped. The default value is 10.</p>
  972. <dl class="params"><dt>Parameters</dt><dd>
  973. <table class="params">
  974. <tr><td class="paramname">count</td><td>Number of grooves per 360 degrees </td></tr>
  975. </table>
  976. </dd>
  977. </dl>
  978. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#af93ce9073b6333908e3faf9eb3e04427">tickCount()</a> </dd></dl>
  979. </div>
  980. </div>
  981. <a id="ae4e5dfd4c6683706716681cfd7e3d8bf"></a>
  982. <h2 class="memtitle"><span class="permalink"><a href="#ae4e5dfd4c6683706716681cfd7e3d8bf">&#9670;&nbsp;</a></span>setTotalAngle</h2>
  983. <div class="memitem">
  984. <div class="memproto">
  985. <table class="mlabels">
  986. <tr>
  987. <td class="mlabels-left">
  988. <table class="memname">
  989. <tr>
  990. <td class="memname">void QwtWheel::setTotalAngle </td>
  991. <td>(</td>
  992. <td class="paramtype">double&#160;</td>
  993. <td class="paramname"><em>angle</em></td><td>)</td>
  994. <td></td>
  995. </tr>
  996. </table>
  997. </td>
  998. <td class="mlabels-right">
  999. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  1000. </tr>
  1001. </table>
  1002. </div><div class="memdoc">
  1003. <p>Set the total angle which the wheel can be turned. </p>
  1004. <p>One full turn of the wheel corresponds to an angle of 360 degrees. A total angle of n*360 degrees means that the wheel has to be turned n times around its axis to get from the minimum value to the maximum value.</p>
  1005. <p>The default setting of the total angle is 360 degrees.</p>
  1006. <dl class="params"><dt>Parameters</dt><dd>
  1007. <table class="params">
  1008. <tr><td class="paramname">angle</td><td>total angle in degrees </td></tr>
  1009. </table>
  1010. </dd>
  1011. </dl>
  1012. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ae88b6f36175c8af955fda61b2874c4d8">totalAngle()</a> </dd></dl>
  1013. </div>
  1014. </div>
  1015. <a id="a321dde4b49b3f6780a1554af060e57ef"></a>
  1016. <h2 class="memtitle"><span class="permalink"><a href="#a321dde4b49b3f6780a1554af060e57ef">&#9670;&nbsp;</a></span>setTracking()</h2>
  1017. <div class="memitem">
  1018. <div class="memproto">
  1019. <table class="memname">
  1020. <tr>
  1021. <td class="memname">void QwtWheel::setTracking </td>
  1022. <td>(</td>
  1023. <td class="paramtype">bool&#160;</td>
  1024. <td class="paramname"><em>enable</em></td><td>)</td>
  1025. <td></td>
  1026. </tr>
  1027. </table>
  1028. </div><div class="memdoc">
  1029. <p>En/Disable tracking. </p>
  1030. <p>If tracking is enabled (the default), the wheel emits the <a class="el" href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a" title="Notify a change of value.">valueChanged()</a> signal while the wheel is moving. If tracking is disabled, the wheel emits the <a class="el" href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a" title="Notify a change of value.">valueChanged()</a> signal only when the wheel movement is terminated.</p>
  1031. <p>The <a class="el" href="class_qwt_wheel.html#a7d0f833add72c3aceb0773825626bddf">wheelMoved()</a> signal is emitted regardless id tracking is enabled or not.</p>
  1032. <dl class="params"><dt>Parameters</dt><dd>
  1033. <table class="params">
  1034. <tr><td class="paramname">enable</td><td>On/Off </td></tr>
  1035. </table>
  1036. </dd>
  1037. </dl>
  1038. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ac84f4683b574c9186786a1f969cd5fe1">isTracking()</a> </dd></dl>
  1039. </div>
  1040. </div>
  1041. <a id="a5c234f68f0ff9906e2861e6fcd9dcc54"></a>
  1042. <h2 class="memtitle"><span class="permalink"><a href="#a5c234f68f0ff9906e2861e6fcd9dcc54">&#9670;&nbsp;</a></span>setUpdateInterval()</h2>
  1043. <div class="memitem">
  1044. <div class="memproto">
  1045. <table class="memname">
  1046. <tr>
  1047. <td class="memname">void QwtWheel::setUpdateInterval </td>
  1048. <td>(</td>
  1049. <td class="paramtype">int&#160;</td>
  1050. <td class="paramname"><em>interval</em></td><td>)</td>
  1051. <td></td>
  1052. </tr>
  1053. </table>
  1054. </div><div class="memdoc">
  1055. <p>Specify the update interval when the wheel is flying. </p>
  1056. <p>Default and minimum value is 50 ms.</p>
  1057. <dl class="params"><dt>Parameters</dt><dd>
  1058. <table class="params">
  1059. <tr><td class="paramname">interval</td><td>Interval in milliseconds </td></tr>
  1060. </table>
  1061. </dd>
  1062. </dl>
  1063. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5990d998c1063306eef8a5bb488fafad">updateInterval()</a>, <a class="el" href="class_qwt_wheel.html#a2af8b9b10ebff58b351027208c1e2b86" title="Set the slider&#39;s mass for flywheel effect.">setMass()</a>, <a class="el" href="class_qwt_wheel.html#a321dde4b49b3f6780a1554af060e57ef" title="En/Disable tracking.">setTracking()</a> </dd></dl>
  1064. </div>
  1065. </div>
  1066. <a id="a6f46526b283b7fde127bc595c96db7e8"></a>
  1067. <h2 class="memtitle"><span class="permalink"><a href="#a6f46526b283b7fde127bc595c96db7e8">&#9670;&nbsp;</a></span>setValue</h2>
  1068. <div class="memitem">
  1069. <div class="memproto">
  1070. <table class="mlabels">
  1071. <tr>
  1072. <td class="mlabels-left">
  1073. <table class="memname">
  1074. <tr>
  1075. <td class="memname">void QwtWheel::setValue </td>
  1076. <td>(</td>
  1077. <td class="paramtype">double&#160;</td>
  1078. <td class="paramname"><em>value</em></td><td>)</td>
  1079. <td></td>
  1080. </tr>
  1081. </table>
  1082. </td>
  1083. <td class="mlabels-right">
  1084. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  1085. </tr>
  1086. </table>
  1087. </div><div class="memdoc">
  1088. <p>Set a new value without adjusting to the step raster. </p>
  1089. <dl class="params"><dt>Parameters</dt><dd>
  1090. <table class="params">
  1091. <tr><td class="paramname">value</td><td>New value</td></tr>
  1092. </table>
  1093. </dd>
  1094. </dl>
  1095. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a32ef87a6442ef256ce43781fcef26195">value()</a>, <a class="el" href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a" title="Notify a change of value.">valueChanged()</a> </dd></dl>
  1096. <dl class="section warning"><dt>Warning</dt><dd>The value is clipped when it lies outside the range. </dd></dl>
  1097. </div>
  1098. </div>
  1099. <a id="a7f15b6aef98ad6b52bebc749381bc753"></a>
  1100. <h2 class="memtitle"><span class="permalink"><a href="#a7f15b6aef98ad6b52bebc749381bc753">&#9670;&nbsp;</a></span>setViewAngle</h2>
  1101. <div class="memitem">
  1102. <div class="memproto">
  1103. <table class="mlabels">
  1104. <tr>
  1105. <td class="mlabels-left">
  1106. <table class="memname">
  1107. <tr>
  1108. <td class="memname">void QwtWheel::setViewAngle </td>
  1109. <td>(</td>
  1110. <td class="paramtype">double&#160;</td>
  1111. <td class="paramname"><em>angle</em></td><td>)</td>
  1112. <td></td>
  1113. </tr>
  1114. </table>
  1115. </td>
  1116. <td class="mlabels-right">
  1117. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  1118. </tr>
  1119. </table>
  1120. </div><div class="memdoc">
  1121. <p>Specify the visible portion of the wheel. </p>
  1122. <p>You may use this function for fine-tuning the appearance of the wheel. The default value is 175 degrees. The value is limited from 10 to 175 degrees.</p>
  1123. <dl class="params"><dt>Parameters</dt><dd>
  1124. <table class="params">
  1125. <tr><td class="paramname">angle</td><td>Visible angle in degrees </td></tr>
  1126. </table>
  1127. </dd>
  1128. </dl>
  1129. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a81f3e69d4b9cc5badc514d9d74c40f3b">viewAngle()</a>, <a class="el" href="class_qwt_wheel.html#ae4e5dfd4c6683706716681cfd7e3d8bf" title="Set the total angle which the wheel can be turned.">setTotalAngle()</a> </dd></dl>
  1130. </div>
  1131. </div>
  1132. <a id="a4aa70134746908cef687e3c1bb7aa60c"></a>
  1133. <h2 class="memtitle"><span class="permalink"><a href="#a4aa70134746908cef687e3c1bb7aa60c">&#9670;&nbsp;</a></span>setWheelBorderWidth()</h2>
  1134. <div class="memitem">
  1135. <div class="memproto">
  1136. <table class="memname">
  1137. <tr>
  1138. <td class="memname">void QwtWheel::setWheelBorderWidth </td>
  1139. <td>(</td>
  1140. <td class="paramtype">int&#160;</td>
  1141. <td class="paramname"><em>borderWidth</em></td><td>)</td>
  1142. <td></td>
  1143. </tr>
  1144. </table>
  1145. </div><div class="memdoc">
  1146. <p>Set the wheel border width of the wheel. </p>
  1147. <p>The wheel border must not be smaller than 1 and is limited in dependence on the wheel's size. Values outside the allowed range will be clipped.</p>
  1148. <p>The wheel border defaults to 2.</p>
  1149. <dl class="params"><dt>Parameters</dt><dd>
  1150. <table class="params">
  1151. <tr><td class="paramname">borderWidth</td><td>Border width </td></tr>
  1152. </table>
  1153. </dd>
  1154. </dl>
  1155. <dl class="section see"><dt>See also</dt><dd>internalBorder() </dd></dl>
  1156. </div>
  1157. </div>
  1158. <a id="ac434254039981344ccca22c76bce4f38"></a>
  1159. <h2 class="memtitle"><span class="permalink"><a href="#ac434254039981344ccca22c76bce4f38">&#9670;&nbsp;</a></span>setWheelWidth()</h2>
  1160. <div class="memitem">
  1161. <div class="memproto">
  1162. <table class="memname">
  1163. <tr>
  1164. <td class="memname">void QwtWheel::setWheelWidth </td>
  1165. <td>(</td>
  1166. <td class="paramtype">int&#160;</td>
  1167. <td class="paramname"><em>width</em></td><td>)</td>
  1168. <td></td>
  1169. </tr>
  1170. </table>
  1171. </div><div class="memdoc">
  1172. <p>Set the width of the wheel. </p>
  1173. <p>Corresponds to the wheel height for horizontal orientation, and the wheel width for vertical orientation.</p>
  1174. <dl class="params"><dt>Parameters</dt><dd>
  1175. <table class="params">
  1176. <tr><td class="paramname">width</td><td>the wheel's width </td></tr>
  1177. </table>
  1178. </dd>
  1179. </dl>
  1180. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#afe5d24b4119b4be93f28ad4bff0691c1">wheelWidth()</a> </dd></dl>
  1181. </div>
  1182. </div>
  1183. <a id="ae56201a09773c85831b829be5858d4ce"></a>
  1184. <h2 class="memtitle"><span class="permalink"><a href="#ae56201a09773c85831b829be5858d4ce">&#9670;&nbsp;</a></span>setWrapping()</h2>
  1185. <div class="memitem">
  1186. <div class="memproto">
  1187. <table class="memname">
  1188. <tr>
  1189. <td class="memname">void QwtWheel::setWrapping </td>
  1190. <td>(</td>
  1191. <td class="paramtype">bool&#160;</td>
  1192. <td class="paramname"><em>on</em></td><td>)</td>
  1193. <td></td>
  1194. </tr>
  1195. </table>
  1196. </div><div class="memdoc">
  1197. <p>En/Disable wrapping. </p>
  1198. <p>If wrapping is true stepping up from <a class="el" href="class_qwt_wheel.html#a7a9954aabc8c8e31daf082135bfc84a1">maximum()</a> value will take you to the <a class="el" href="class_qwt_wheel.html#ab3c21edd1e6d2e8192fc894420642f7f">minimum()</a> value and vice versa.</p>
  1199. <dl class="params"><dt>Parameters</dt><dd>
  1200. <table class="params">
  1201. <tr><td class="paramname">on</td><td>En/Disable wrapping </td></tr>
  1202. </table>
  1203. </dd>
  1204. </dl>
  1205. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ae8fc53d2bf4febbfa15075931ec6d75b">wrapping()</a> </dd></dl>
  1206. </div>
  1207. </div>
  1208. <a id="ae98d9b0586c07266c11d1cd6b86c3519"></a>
  1209. <h2 class="memtitle"><span class="permalink"><a href="#ae98d9b0586c07266c11d1cd6b86c3519">&#9670;&nbsp;</a></span>singleStep()</h2>
  1210. <div class="memitem">
  1211. <div class="memproto">
  1212. <table class="memname">
  1213. <tr>
  1214. <td class="memname">double QwtWheel::singleStep </td>
  1215. <td>(</td>
  1216. <td class="paramname"></td><td>)</td>
  1217. <td> const</td>
  1218. </tr>
  1219. </table>
  1220. </div><div class="memdoc">
  1221. <dl class="section return"><dt>Returns</dt><dd>Single step size </dd></dl>
  1222. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a63f5d4794cc1e624ab305083c7f4ed29" title="Set the step size of the counter.">setSingleStep()</a> </dd></dl>
  1223. </div>
  1224. </div>
  1225. <a id="ae57b5aa2da03df6c0ac78b896a91e1ba"></a>
  1226. <h2 class="memtitle"><span class="permalink"><a href="#ae57b5aa2da03df6c0ac78b896a91e1ba">&#9670;&nbsp;</a></span>sizeHint()</h2>
  1227. <div class="memitem">
  1228. <div class="memproto">
  1229. <table class="mlabels">
  1230. <tr>
  1231. <td class="mlabels-left">
  1232. <table class="memname">
  1233. <tr>
  1234. <td class="memname">QSize QwtWheel::sizeHint </td>
  1235. <td>(</td>
  1236. <td class="paramname"></td><td>)</td>
  1237. <td> const</td>
  1238. </tr>
  1239. </table>
  1240. </td>
  1241. <td class="mlabels-right">
  1242. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1243. </tr>
  1244. </table>
  1245. </div><div class="memdoc">
  1246. <dl class="section return"><dt>Returns</dt><dd>a size hint </dd></dl>
  1247. </div>
  1248. </div>
  1249. <a id="a217b37509785f04121a447798a329333"></a>
  1250. <h2 class="memtitle"><span class="permalink"><a href="#a217b37509785f04121a447798a329333">&#9670;&nbsp;</a></span>stepAlignment()</h2>
  1251. <div class="memitem">
  1252. <div class="memproto">
  1253. <table class="memname">
  1254. <tr>
  1255. <td class="memname">bool QwtWheel::stepAlignment </td>
  1256. <td>(</td>
  1257. <td class="paramname"></td><td>)</td>
  1258. <td> const</td>
  1259. </tr>
  1260. </table>
  1261. </div><div class="memdoc">
  1262. <dl class="section return"><dt>Returns</dt><dd>True, when the step alignment is enabled </dd></dl>
  1263. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5e5bf1d335538ff6971d48b914f26d51" title="En/Disable step alignment.">setStepAlignment()</a>, <a class="el" href="class_qwt_wheel.html#ae98d9b0586c07266c11d1cd6b86c3519">singleStep()</a> </dd></dl>
  1264. </div>
  1265. </div>
  1266. <a id="af93ce9073b6333908e3faf9eb3e04427"></a>
  1267. <h2 class="memtitle"><span class="permalink"><a href="#af93ce9073b6333908e3faf9eb3e04427">&#9670;&nbsp;</a></span>tickCount()</h2>
  1268. <div class="memitem">
  1269. <div class="memproto">
  1270. <table class="memname">
  1271. <tr>
  1272. <td class="memname">int QwtWheel::tickCount </td>
  1273. <td>(</td>
  1274. <td class="paramname"></td><td>)</td>
  1275. <td> const</td>
  1276. </tr>
  1277. </table>
  1278. </div><div class="memdoc">
  1279. <dl class="section return"><dt>Returns</dt><dd>Number of grooves in the wheel's surface. </dd></dl>
  1280. <dl class="section see"><dt>See also</dt><dd>setTickCnt() </dd></dl>
  1281. </div>
  1282. </div>
  1283. <a id="a8ca7e27c6afacdc520342f7324ecd6eb"></a>
  1284. <h2 class="memtitle"><span class="permalink"><a href="#a8ca7e27c6afacdc520342f7324ecd6eb">&#9670;&nbsp;</a></span>timerEvent()</h2>
  1285. <div class="memitem">
  1286. <div class="memproto">
  1287. <table class="mlabels">
  1288. <tr>
  1289. <td class="mlabels-left">
  1290. <table class="memname">
  1291. <tr>
  1292. <td class="memname">void QwtWheel::timerEvent </td>
  1293. <td>(</td>
  1294. <td class="paramtype">QTimerEvent *&#160;</td>
  1295. <td class="paramname"><em>event</em></td><td>)</td>
  1296. <td></td>
  1297. </tr>
  1298. </table>
  1299. </td>
  1300. <td class="mlabels-right">
  1301. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1302. </tr>
  1303. </table>
  1304. </div><div class="memdoc">
  1305. <p>Qt timer event. </p>
  1306. <p>The flying wheel effect is implemented using a timer</p>
  1307. <dl class="params"><dt>Parameters</dt><dd>
  1308. <table class="params">
  1309. <tr><td class="paramname">event</td><td>Timer event</td></tr>
  1310. </table>
  1311. </dd>
  1312. </dl>
  1313. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5990d998c1063306eef8a5bb488fafad">updateInterval()</a> </dd></dl>
  1314. </div>
  1315. </div>
  1316. <a id="ae88b6f36175c8af955fda61b2874c4d8"></a>
  1317. <h2 class="memtitle"><span class="permalink"><a href="#ae88b6f36175c8af955fda61b2874c4d8">&#9670;&nbsp;</a></span>totalAngle()</h2>
  1318. <div class="memitem">
  1319. <div class="memproto">
  1320. <table class="memname">
  1321. <tr>
  1322. <td class="memname">double QwtWheel::totalAngle </td>
  1323. <td>(</td>
  1324. <td class="paramname"></td><td>)</td>
  1325. <td> const</td>
  1326. </tr>
  1327. </table>
  1328. </div><div class="memdoc">
  1329. <dl class="section return"><dt>Returns</dt><dd>Total angle which the wheel can be turned. </dd></dl>
  1330. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ae4e5dfd4c6683706716681cfd7e3d8bf" title="Set the total angle which the wheel can be turned.">setTotalAngle()</a> </dd></dl>
  1331. </div>
  1332. </div>
  1333. <a id="a5990d998c1063306eef8a5bb488fafad"></a>
  1334. <h2 class="memtitle"><span class="permalink"><a href="#a5990d998c1063306eef8a5bb488fafad">&#9670;&nbsp;</a></span>updateInterval()</h2>
  1335. <div class="memitem">
  1336. <div class="memproto">
  1337. <table class="memname">
  1338. <tr>
  1339. <td class="memname">int QwtWheel::updateInterval </td>
  1340. <td>(</td>
  1341. <td class="paramname"></td><td>)</td>
  1342. <td> const</td>
  1343. </tr>
  1344. </table>
  1345. </div><div class="memdoc">
  1346. <dl class="section return"><dt>Returns</dt><dd>Update interval when the wheel is flying </dd></dl>
  1347. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a5c234f68f0ff9906e2861e6fcd9dcc54" title="Specify the update interval when the wheel is flying.">setUpdateInterval()</a>, <a class="el" href="class_qwt_wheel.html#a805997f0b3fc520b721bdd11f3808b12">mass()</a>, <a class="el" href="class_qwt_wheel.html#ac84f4683b574c9186786a1f969cd5fe1">isTracking()</a> </dd></dl>
  1348. </div>
  1349. </div>
  1350. <a id="a32ef87a6442ef256ce43781fcef26195"></a>
  1351. <h2 class="memtitle"><span class="permalink"><a href="#a32ef87a6442ef256ce43781fcef26195">&#9670;&nbsp;</a></span>value()</h2>
  1352. <div class="memitem">
  1353. <div class="memproto">
  1354. <table class="memname">
  1355. <tr>
  1356. <td class="memname">double QwtWheel::value </td>
  1357. <td>(</td>
  1358. <td class="paramname"></td><td>)</td>
  1359. <td> const</td>
  1360. </tr>
  1361. </table>
  1362. </div><div class="memdoc">
  1363. <dl class="section return"><dt>Returns</dt><dd>Current value of the wheel </dd></dl>
  1364. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a6f46526b283b7fde127bc595c96db7e8" title="Set a new value without adjusting to the step raster.">setValue()</a>, <a class="el" href="class_qwt_wheel.html#ad6551abe91933fd2230d5fee805e637a" title="Notify a change of value.">valueChanged()</a> </dd></dl>
  1365. </div>
  1366. </div>
  1367. <a id="aa69c2101119d586512bfbbcbd0957b86"></a>
  1368. <h2 class="memtitle"><span class="permalink"><a href="#aa69c2101119d586512bfbbcbd0957b86">&#9670;&nbsp;</a></span>valueAt()</h2>
  1369. <div class="memitem">
  1370. <div class="memproto">
  1371. <table class="mlabels">
  1372. <tr>
  1373. <td class="mlabels-left">
  1374. <table class="memname">
  1375. <tr>
  1376. <td class="memname">double QwtWheel::valueAt </td>
  1377. <td>(</td>
  1378. <td class="paramtype">const QPoint &amp;&#160;</td>
  1379. <td class="paramname"><em>pos</em></td><td>)</td>
  1380. <td> const</td>
  1381. </tr>
  1382. </table>
  1383. </td>
  1384. <td class="mlabels-right">
  1385. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1386. </tr>
  1387. </table>
  1388. </div><div class="memdoc">
  1389. <p>Determine the value corresponding to a specified point</p>
  1390. <dl class="params"><dt>Parameters</dt><dd>
  1391. <table class="params">
  1392. <tr><td class="paramname">pos</td><td>Position </td></tr>
  1393. </table>
  1394. </dd>
  1395. </dl>
  1396. <dl class="section return"><dt>Returns</dt><dd>Value corresponding to pos </dd></dl>
  1397. </div>
  1398. </div>
  1399. <a id="ad6551abe91933fd2230d5fee805e637a"></a>
  1400. <h2 class="memtitle"><span class="permalink"><a href="#ad6551abe91933fd2230d5fee805e637a">&#9670;&nbsp;</a></span>valueChanged</h2>
  1401. <div class="memitem">
  1402. <div class="memproto">
  1403. <table class="mlabels">
  1404. <tr>
  1405. <td class="mlabels-left">
  1406. <table class="memname">
  1407. <tr>
  1408. <td class="memname">void QwtWheel::valueChanged </td>
  1409. <td>(</td>
  1410. <td class="paramtype">double&#160;</td>
  1411. <td class="paramname"><em>value</em></td><td>)</td>
  1412. <td></td>
  1413. </tr>
  1414. </table>
  1415. </td>
  1416. <td class="mlabels-right">
  1417. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1418. </tr>
  1419. </table>
  1420. </div><div class="memdoc">
  1421. <p>Notify a change of value. </p>
  1422. <p>When tracking is enabled this signal will be emitted every time the value changes.</p>
  1423. <dl class="params"><dt>Parameters</dt><dd>
  1424. <table class="params">
  1425. <tr><td class="paramname">value</td><td>new value </td></tr>
  1426. </table>
  1427. </dd>
  1428. </dl>
  1429. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a321dde4b49b3f6780a1554af060e57ef" title="En/Disable tracking.">setTracking()</a> </dd></dl>
  1430. </div>
  1431. </div>
  1432. <a id="a81f3e69d4b9cc5badc514d9d74c40f3b"></a>
  1433. <h2 class="memtitle"><span class="permalink"><a href="#a81f3e69d4b9cc5badc514d9d74c40f3b">&#9670;&nbsp;</a></span>viewAngle()</h2>
  1434. <div class="memitem">
  1435. <div class="memproto">
  1436. <table class="memname">
  1437. <tr>
  1438. <td class="memname">double QwtWheel::viewAngle </td>
  1439. <td>(</td>
  1440. <td class="paramname"></td><td>)</td>
  1441. <td> const</td>
  1442. </tr>
  1443. </table>
  1444. </div><div class="memdoc">
  1445. <dl class="section return"><dt>Returns</dt><dd>Visible portion of the wheel </dd></dl>
  1446. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a7f15b6aef98ad6b52bebc749381bc753" title="Specify the visible portion of the wheel.">setViewAngle()</a>, <a class="el" href="class_qwt_wheel.html#ae88b6f36175c8af955fda61b2874c4d8">totalAngle()</a> </dd></dl>
  1447. </div>
  1448. </div>
  1449. <a id="a9cabd25c2435def3d20cdd7717bf2e54"></a>
  1450. <h2 class="memtitle"><span class="permalink"><a href="#a9cabd25c2435def3d20cdd7717bf2e54">&#9670;&nbsp;</a></span>wheelBorderWidth()</h2>
  1451. <div class="memitem">
  1452. <div class="memproto">
  1453. <table class="memname">
  1454. <tr>
  1455. <td class="memname">int QwtWheel::wheelBorderWidth </td>
  1456. <td>(</td>
  1457. <td class="paramname"></td><td>)</td>
  1458. <td> const</td>
  1459. </tr>
  1460. </table>
  1461. </div><div class="memdoc">
  1462. <dl class="section return"><dt>Returns</dt><dd>Wheel border width </dd></dl>
  1463. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#a4aa70134746908cef687e3c1bb7aa60c" title="Set the wheel border width of the wheel.">setWheelBorderWidth()</a> </dd></dl>
  1464. </div>
  1465. </div>
  1466. <a id="a1ff8fa42a64643b7fa09ea2c17164075"></a>
  1467. <h2 class="memtitle"><span class="permalink"><a href="#a1ff8fa42a64643b7fa09ea2c17164075">&#9670;&nbsp;</a></span>wheelEvent()</h2>
  1468. <div class="memitem">
  1469. <div class="memproto">
  1470. <table class="mlabels">
  1471. <tr>
  1472. <td class="mlabels-left">
  1473. <table class="memname">
  1474. <tr>
  1475. <td class="memname">void QwtWheel::wheelEvent </td>
  1476. <td>(</td>
  1477. <td class="paramtype">QWheelEvent *&#160;</td>
  1478. <td class="paramname"><em>event</em></td><td>)</td>
  1479. <td></td>
  1480. </tr>
  1481. </table>
  1482. </td>
  1483. <td class="mlabels-right">
  1484. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1485. </tr>
  1486. </table>
  1487. </div><div class="memdoc">
  1488. <p>Handle wheel events. </p>
  1489. <p>In/Decrement the value</p>
  1490. <dl class="params"><dt>Parameters</dt><dd>
  1491. <table class="params">
  1492. <tr><td class="paramname">event</td><td>Wheel event </td></tr>
  1493. </table>
  1494. </dd>
  1495. </dl>
  1496. </div>
  1497. </div>
  1498. <a id="a7d0f833add72c3aceb0773825626bddf"></a>
  1499. <h2 class="memtitle"><span class="permalink"><a href="#a7d0f833add72c3aceb0773825626bddf">&#9670;&nbsp;</a></span>wheelMoved</h2>
  1500. <div class="memitem">
  1501. <div class="memproto">
  1502. <table class="mlabels">
  1503. <tr>
  1504. <td class="mlabels-left">
  1505. <table class="memname">
  1506. <tr>
  1507. <td class="memname">void QwtWheel::wheelMoved </td>
  1508. <td>(</td>
  1509. <td class="paramtype">double&#160;</td>
  1510. <td class="paramname"><em>value</em></td><td>)</td>
  1511. <td></td>
  1512. </tr>
  1513. </table>
  1514. </td>
  1515. <td class="mlabels-right">
  1516. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1517. </tr>
  1518. </table>
  1519. </div><div class="memdoc">
  1520. <p>This signal is emitted when the user moves the wheel with the mouse.</p>
  1521. <dl class="params"><dt>Parameters</dt><dd>
  1522. <table class="params">
  1523. <tr><td class="paramname">value</td><td>new value </td></tr>
  1524. </table>
  1525. </dd>
  1526. </dl>
  1527. </div>
  1528. </div>
  1529. <a id="aa9cb862f6ed4a75b007f13bbc3804ad0"></a>
  1530. <h2 class="memtitle"><span class="permalink"><a href="#aa9cb862f6ed4a75b007f13bbc3804ad0">&#9670;&nbsp;</a></span>wheelPressed</h2>
  1531. <div class="memitem">
  1532. <div class="memproto">
  1533. <table class="mlabels">
  1534. <tr>
  1535. <td class="mlabels-left">
  1536. <table class="memname">
  1537. <tr>
  1538. <td class="memname">void QwtWheel::wheelPressed </td>
  1539. <td>(</td>
  1540. <td class="paramname"></td><td>)</td>
  1541. <td></td>
  1542. </tr>
  1543. </table>
  1544. </td>
  1545. <td class="mlabels-right">
  1546. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1547. </tr>
  1548. </table>
  1549. </div><div class="memdoc">
  1550. <p>This signal is emitted when the user presses the the wheel with the mouse </p>
  1551. </div>
  1552. </div>
  1553. <a id="a6c84cc9a407d29d955672784d84c747e"></a>
  1554. <h2 class="memtitle"><span class="permalink"><a href="#a6c84cc9a407d29d955672784d84c747e">&#9670;&nbsp;</a></span>wheelRect()</h2>
  1555. <div class="memitem">
  1556. <div class="memproto">
  1557. <table class="mlabels">
  1558. <tr>
  1559. <td class="mlabels-left">
  1560. <table class="memname">
  1561. <tr>
  1562. <td class="memname">QRect QwtWheel::wheelRect </td>
  1563. <td>(</td>
  1564. <td class="paramname"></td><td>)</td>
  1565. <td> const</td>
  1566. </tr>
  1567. </table>
  1568. </td>
  1569. <td class="mlabels-right">
  1570. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  1571. </tr>
  1572. </table>
  1573. </div><div class="memdoc">
  1574. <dl class="section return"><dt>Returns</dt><dd>Rectangle of the wheel without the outer border </dd></dl>
  1575. </div>
  1576. </div>
  1577. <a id="a9ddffcbd6752571e8b1d75f2640dc6d5"></a>
  1578. <h2 class="memtitle"><span class="permalink"><a href="#a9ddffcbd6752571e8b1d75f2640dc6d5">&#9670;&nbsp;</a></span>wheelReleased</h2>
  1579. <div class="memitem">
  1580. <div class="memproto">
  1581. <table class="mlabels">
  1582. <tr>
  1583. <td class="mlabels-left">
  1584. <table class="memname">
  1585. <tr>
  1586. <td class="memname">void QwtWheel::wheelReleased </td>
  1587. <td>(</td>
  1588. <td class="paramname"></td><td>)</td>
  1589. <td></td>
  1590. </tr>
  1591. </table>
  1592. </td>
  1593. <td class="mlabels-right">
  1594. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1595. </tr>
  1596. </table>
  1597. </div><div class="memdoc">
  1598. <p>This signal is emitted when the user releases the mouse </p>
  1599. </div>
  1600. </div>
  1601. <a id="afe5d24b4119b4be93f28ad4bff0691c1"></a>
  1602. <h2 class="memtitle"><span class="permalink"><a href="#afe5d24b4119b4be93f28ad4bff0691c1">&#9670;&nbsp;</a></span>wheelWidth()</h2>
  1603. <div class="memitem">
  1604. <div class="memproto">
  1605. <table class="memname">
  1606. <tr>
  1607. <td class="memname">int QwtWheel::wheelWidth </td>
  1608. <td>(</td>
  1609. <td class="paramname"></td><td>)</td>
  1610. <td> const</td>
  1611. </tr>
  1612. </table>
  1613. </div><div class="memdoc">
  1614. <dl class="section return"><dt>Returns</dt><dd>Width of the wheel </dd></dl>
  1615. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ac434254039981344ccca22c76bce4f38" title="Set the width of the wheel.">setWheelWidth()</a> </dd></dl>
  1616. </div>
  1617. </div>
  1618. <a id="ae8fc53d2bf4febbfa15075931ec6d75b"></a>
  1619. <h2 class="memtitle"><span class="permalink"><a href="#ae8fc53d2bf4febbfa15075931ec6d75b">&#9670;&nbsp;</a></span>wrapping()</h2>
  1620. <div class="memitem">
  1621. <div class="memproto">
  1622. <table class="memname">
  1623. <tr>
  1624. <td class="memname">bool QwtWheel::wrapping </td>
  1625. <td>(</td>
  1626. <td class="paramname"></td><td>)</td>
  1627. <td> const</td>
  1628. </tr>
  1629. </table>
  1630. </div><div class="memdoc">
  1631. <dl class="section return"><dt>Returns</dt><dd>True, when wrapping is set </dd></dl>
  1632. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_wheel.html#ae56201a09773c85831b829be5858d4ce" title="En/Disable wrapping.">setWrapping()</a> </dd></dl>
  1633. </div>
  1634. </div>
  1635. </div><!-- contents -->
  1636. </div><!-- doc-content -->
  1637. <!-- start footer part -->
  1638. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  1639. <ul>
  1640. <li class="navelem"><a class="el" href="class_qwt_wheel.html">QwtWheel</a></li>
  1641. <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>
  1642. </ul>
  1643. </div>
  1644. </body>
  1645. </html>