class_qwt_abstract_scale.html 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911
  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: QwtAbstractScale 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_abstract_scale.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-methods">Public Member Functions</a> &#124;
  85. <a href="#pro-methods">Protected Member Functions</a> &#124;
  86. <a href="class_qwt_abstract_scale-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">QwtAbstractScale Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>An abstract base class for widgets having a scale.
  92. <a href="class_qwt_abstract_scale.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="qwt__abstract__scale_8h_source.html">qwt_abstract_scale.h</a>&gt;</code></p>
  94. <div class="dynheader">
  95. Inheritance diagram for QwtAbstractScale:</div>
  96. <div class="dyncontent">
  97. <div class="center"><img src="class_qwt_abstract_scale__inherit__graph.png" border="0" usemap="#a_qwt_abstract_scale_inherit__map" alt="Inheritance graph"/></div>
  98. <map name="_qwt_abstract_scale_inherit__map" id="a_qwt_abstract_scale_inherit__map">
  99. <area shape="rect" title="An abstract base class for widgets having a scale." alt="" coords="233,80,361,107"/>
  100. <area shape="rect" href="class_qwt_abstract_slider.html" title="An abstract base class for slider widgets with a scale." alt="" coords="167,155,295,181"/>
  101. <area shape="rect" href="class_qwt_thermo.html" title="The Thermometer Widget." alt="" coords="319,155,409,181"/>
  102. <area shape="rect" title=" " alt="" coords="261,5,334,32"/>
  103. <area shape="rect" href="class_qwt_dial.html" title="QwtDial class provides a rounded range control." alt="" coords="99,229,168,256"/>
  104. <area shape="rect" href="class_qwt_knob.html" title="The Knob Widget." alt="" coords="193,229,269,256"/>
  105. <area shape="rect" href="class_qwt_slider.html" title="The Slider Widget." alt="" coords="293,229,371,256"/>
  106. <area shape="rect" href="class_qwt_analog_clock.html" title="An analog clock." alt="" coords="5,304,125,331"/>
  107. <area shape="rect" href="class_qwt_compass.html" title="A Compass Widget." alt="" coords="150,304,253,331"/>
  108. </map>
  109. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  110. <table class="memberdecls">
  111. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  112. Public Member Functions</h2></td></tr>
  113. <tr class="memitem:a97fff64367cdbe7bc8dc56c41d5faf9e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a97fff64367cdbe7bc8dc56c41d5faf9e">QwtAbstractScale</a> (QWidget *parent=NULL)</td></tr>
  114. <tr class="separator:a97fff64367cdbe7bc8dc56c41d5faf9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a73890593efff11427ea7a42a3ebadefd"><td class="memItemLeft" align="right" valign="top"><a id="a73890593efff11427ea7a42a3ebadefd"></a>
  116. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a73890593efff11427ea7a42a3ebadefd">~QwtAbstractScale</a> ()</td></tr>
  117. <tr class="memdesc:a73890593efff11427ea7a42a3ebadefd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  118. <tr class="separator:a73890593efff11427ea7a42a3ebadefd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:ae9640e814b5029d7dd79cb3ba752102b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ae9640e814b5029d7dd79cb3ba752102b">setScale</a> (double <a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound</a>, double <a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound</a>)</td></tr>
  120. <tr class="memdesc:ae9640e814b5029d7dd79cb3ba752102b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify a scale. <a href="class_qwt_abstract_scale.html#ae9640e814b5029d7dd79cb3ba752102b">More...</a><br /></td></tr>
  121. <tr class="separator:ae9640e814b5029d7dd79cb3ba752102b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:ab54877c80f0b00fdb6e4745448aee128"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ab54877c80f0b00fdb6e4745448aee128">setScale</a> (const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;)</td></tr>
  123. <tr class="memdesc:ab54877c80f0b00fdb6e4745448aee128"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify a scale. <a href="class_qwt_abstract_scale.html#ab54877c80f0b00fdb6e4745448aee128">More...</a><br /></td></tr>
  124. <tr class="separator:ab54877c80f0b00fdb6e4745448aee128"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:ad002e1a352ecf85c1a8595a138d42db7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ad002e1a352ecf85c1a8595a138d42db7">setScale</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;)</td></tr>
  126. <tr class="memdesc:ad002e1a352ecf85c1a8595a138d42db7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify a scale. <a href="class_qwt_abstract_scale.html#ad002e1a352ecf85c1a8595a138d42db7">More...</a><br /></td></tr>
  127. <tr class="separator:ad002e1a352ecf85c1a8595a138d42db7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a68d4d5a6f44ae4574d5ad8200aaa017f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a68d4d5a6f44ae4574d5ad8200aaa017f">scaleDiv</a> () const</td></tr>
  129. <tr class="separator:a68d4d5a6f44ae4574d5ad8200aaa017f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:aa1b73da4589370fc14fd2ef49b02d142"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aa1b73da4589370fc14fd2ef49b02d142">setLowerBound</a> (double value)</td></tr>
  131. <tr class="separator:aa1b73da4589370fc14fd2ef49b02d142"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a41b46b9bf8b6d7986cc64c766f3b667c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound</a> () const</td></tr>
  133. <tr class="separator:a41b46b9bf8b6d7986cc64c766f3b667c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a1b2ea5c97eb19ccd55ec83713ab675fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a1b2ea5c97eb19ccd55ec83713ab675fe">setUpperBound</a> (double value)</td></tr>
  135. <tr class="separator:a1b2ea5c97eb19ccd55ec83713ab675fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:ae5696dae4e4cc4332a84453a0ce18cc8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound</a> () const</td></tr>
  137. <tr class="separator:ae5696dae4e4cc4332a84453a0ce18cc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:aac745efd9414e529794e2189f7c535cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aac745efd9414e529794e2189f7c535cb">setScaleStepSize</a> (double stepSize)</td></tr>
  139. <tr class="memdesc:aac745efd9414e529794e2189f7c535cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the step size used for calculating a scale division. <a href="class_qwt_abstract_scale.html#aac745efd9414e529794e2189f7c535cb">More...</a><br /></td></tr>
  140. <tr class="separator:aac745efd9414e529794e2189f7c535cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a6fa69e27596cef1672cf8bf3c3dc547c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a6fa69e27596cef1672cf8bf3c3dc547c">scaleStepSize</a> () const</td></tr>
  142. <tr class="separator:a6fa69e27596cef1672cf8bf3c3dc547c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a40fdb4572ad8fdec8b93766ff5f8eda8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a40fdb4572ad8fdec8b93766ff5f8eda8">setScaleMaxMajor</a> (int ticks)</td></tr>
  144. <tr class="memdesc:a40fdb4572ad8fdec8b93766ff5f8eda8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of major tick intervals. <a href="class_qwt_abstract_scale.html#a40fdb4572ad8fdec8b93766ff5f8eda8">More...</a><br /></td></tr>
  145. <tr class="separator:a40fdb4572ad8fdec8b93766ff5f8eda8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:ae6e5881dddd6d1340be4750c115d29dd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ae6e5881dddd6d1340be4750c115d29dd">scaleMaxMinor</a> () const</td></tr>
  147. <tr class="separator:ae6e5881dddd6d1340be4750c115d29dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a6520bb1e52571f865b21b3710786a4db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a6520bb1e52571f865b21b3710786a4db">setScaleMaxMinor</a> (int ticks)</td></tr>
  149. <tr class="memdesc:a6520bb1e52571f865b21b3710786a4db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of minor tick intervals. <a href="class_qwt_abstract_scale.html#a6520bb1e52571f865b21b3710786a4db">More...</a><br /></td></tr>
  150. <tr class="separator:a6520bb1e52571f865b21b3710786a4db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a951e85ddbf8b0edaa91a9d300a92dd4e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor</a> () const</td></tr>
  152. <tr class="separator:a951e85ddbf8b0edaa91a9d300a92dd4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:aa00f44140af3f2b7595cb6e23371198f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f">setScaleEngine</a> (<a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *)</td></tr>
  154. <tr class="memdesc:aa00f44140af3f2b7595cb6e23371198f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a scale engine. <a href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f">More...</a><br /></td></tr>
  155. <tr class="separator:aa00f44140af3f2b7595cb6e23371198f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:a5dc4f746d4dfacb8a1a57cf85deccf64"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a5dc4f746d4dfacb8a1a57cf85deccf64">scaleEngine</a> () const</td></tr>
  157. <tr class="separator:a5dc4f746d4dfacb8a1a57cf85deccf64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:aea3b9d4912f1c28671f232e4100936d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aea3b9d4912f1c28671f232e4100936d7">scaleEngine</a> ()</td></tr>
  159. <tr class="separator:aea3b9d4912f1c28671f232e4100936d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a6fac557f38c8121b97fda514cf91bcbf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a6fac557f38c8121b97fda514cf91bcbf">transform</a> (double) const</td></tr>
  161. <tr class="separator:a6fac557f38c8121b97fda514cf91bcbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a50932c4bed140da5ce96b6718de2636b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a50932c4bed140da5ce96b6718de2636b">invTransform</a> (int) const</td></tr>
  163. <tr class="separator:a50932c4bed140da5ce96b6718de2636b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a8c649b5b370b06f5028fb83b78189e4a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a8c649b5b370b06f5028fb83b78189e4a">isInverted</a> () const</td></tr>
  165. <tr class="separator:a8c649b5b370b06f5028fb83b78189e4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a87eb18286615cf791d90a2b1388ac19a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a87eb18286615cf791d90a2b1388ac19a">minimum</a> () const</td></tr>
  167. <tr class="separator:a87eb18286615cf791d90a2b1388ac19a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:ab904fda71caf6fc642ce6f12bac78b77"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ab904fda71caf6fc642ce6f12bac78b77">maximum</a> () const</td></tr>
  169. <tr class="separator:ab904fda71caf6fc642ce6f12bac78b77"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a116c7877f4d9fc3620ffa713b5bbdb96"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a116c7877f4d9fc3620ffa713b5bbdb96">scaleMap</a> () const</td></tr>
  171. <tr class="separator:a116c7877f4d9fc3620ffa713b5bbdb96"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. </table><table class="memberdecls">
  173. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  174. Protected Member Functions</h2></td></tr>
  175. <tr class="memitem:a647e6458305a0967077f4b1f03811c14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a647e6458305a0967077f4b1f03811c14">rescale</a> (double <a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound</a>, double <a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound</a>, double stepSize)</td></tr>
  176. <tr class="separator:a647e6458305a0967077f4b1f03811c14"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a950c5bf521dc704b78f76c7951346288"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288">setAbstractScaleDraw</a> (<a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *)</td></tr>
  178. <tr class="memdesc:a950c5bf521dc704b78f76c7951346288"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a scale draw. <a href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288">More...</a><br /></td></tr>
  179. <tr class="separator:a950c5bf521dc704b78f76c7951346288"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:a473e84e72bd52afac58c04d004b5c06a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a473e84e72bd52afac58c04d004b5c06a">abstractScaleDraw</a> () const</td></tr>
  181. <tr class="separator:a473e84e72bd52afac58c04d004b5c06a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:aa61afdff037ef745a6dad686537cdb96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aa61afdff037ef745a6dad686537cdb96">abstractScaleDraw</a> ()</td></tr>
  183. <tr class="separator:aa61afdff037ef745a6dad686537cdb96"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a0dbb7bdc557c0a7b163643e41970ed6a"><td class="memItemLeft" align="right" valign="top"><a id="a0dbb7bdc557c0a7b163643e41970ed6a"></a>
  185. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a0dbb7bdc557c0a7b163643e41970ed6a">scaleChange</a> ()</td></tr>
  186. <tr class="memdesc:a0dbb7bdc557c0a7b163643e41970ed6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify changed scale. <br /></td></tr>
  187. <tr class="separator:a0dbb7bdc557c0a7b163643e41970ed6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. </table>
  189. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  190. <div class="textblock"><p>An abstract base class for widgets having a scale. </p>
  191. <p>The scale of an <a class="el" href="class_qwt_abstract_scale.html" title="An abstract base class for widgets having a scale.">QwtAbstractScale</a> is determined by a <a class="el" href="class_qwt_scale_div.html" title="A class representing a scale division.">QwtScaleDiv</a> definition, that contains the boundaries and the ticks of the scale. The scale is painted using a <a class="el" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> object.</p>
  192. <p>The scale division might be assigned explicitly - but usually it is calculated from the boundaries using a <a class="el" href="class_qwt_scale_engine.html" title="Base class for scale engines.">QwtScaleEngine</a>.</p>
  193. <p>The scale engine also decides the type of transformation of the scale ( linear, logarithmic ... ). </p>
  194. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  195. <a id="a97fff64367cdbe7bc8dc56c41d5faf9e"></a>
  196. <h2 class="memtitle"><span class="permalink"><a href="#a97fff64367cdbe7bc8dc56c41d5faf9e">&#9670;&nbsp;</a></span>QwtAbstractScale()</h2>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="memname">
  200. <tr>
  201. <td class="memname">QwtAbstractScale::QwtAbstractScale </td>
  202. <td>(</td>
  203. <td class="paramtype">QWidget *&#160;</td>
  204. <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
  205. <td></td>
  206. </tr>
  207. </table>
  208. </div><div class="memdoc">
  209. <p>Constructor</p>
  210. <dl class="params"><dt>Parameters</dt><dd>
  211. <table class="params">
  212. <tr><td class="paramname">parent</td><td>Parent widget</td></tr>
  213. </table>
  214. </dd>
  215. </dl>
  216. <p>Creates a default <a class="el" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> and a <a class="el" href="class_qwt_linear_scale_engine.html" title="A scale engine for linear scales.">QwtLinearScaleEngine</a>. The initial scale boundaries are set to [ 0.0, 100.0 ]</p>
  217. <p>The <a class="el" href="class_qwt_abstract_scale.html#a6fa69e27596cef1672cf8bf3c3dc547c">scaleStepSize()</a> is initialized to 0.0, <a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a> to 5 and scaleMaxMajor to 3. </p>
  218. </div>
  219. </div>
  220. <h2 class="groupheader">Member Function Documentation</h2>
  221. <a id="aa61afdff037ef745a6dad686537cdb96"></a>
  222. <h2 class="memtitle"><span class="permalink"><a href="#aa61afdff037ef745a6dad686537cdb96">&#9670;&nbsp;</a></span>abstractScaleDraw() <span class="overload">[1/2]</span></h2>
  223. <div class="memitem">
  224. <div class="memproto">
  225. <table class="mlabels">
  226. <tr>
  227. <td class="mlabels-left">
  228. <table class="memname">
  229. <tr>
  230. <td class="memname"><a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> * QwtAbstractScale::abstractScaleDraw </td>
  231. <td>(</td>
  232. <td class="paramname"></td><td>)</td>
  233. <td></td>
  234. </tr>
  235. </table>
  236. </td>
  237. <td class="mlabels-right">
  238. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  239. </tr>
  240. </table>
  241. </div><div class="memdoc">
  242. <dl class="section return"><dt>Returns</dt><dd>Scale draw </dd></dl>
  243. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288" title="Set a scale draw.">setAbstractScaleDraw()</a> </dd></dl>
  244. </div>
  245. </div>
  246. <a id="a473e84e72bd52afac58c04d004b5c06a"></a>
  247. <h2 class="memtitle"><span class="permalink"><a href="#a473e84e72bd52afac58c04d004b5c06a">&#9670;&nbsp;</a></span>abstractScaleDraw() <span class="overload">[2/2]</span></h2>
  248. <div class="memitem">
  249. <div class="memproto">
  250. <table class="mlabels">
  251. <tr>
  252. <td class="mlabels-left">
  253. <table class="memname">
  254. <tr>
  255. <td class="memname">const <a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> * QwtAbstractScale::abstractScaleDraw </td>
  256. <td>(</td>
  257. <td class="paramname"></td><td>)</td>
  258. <td> const</td>
  259. </tr>
  260. </table>
  261. </td>
  262. <td class="mlabels-right">
  263. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  264. </tr>
  265. </table>
  266. </div><div class="memdoc">
  267. <dl class="section return"><dt>Returns</dt><dd>Scale draw </dd></dl>
  268. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288" title="Set a scale draw.">setAbstractScaleDraw()</a> </dd></dl>
  269. </div>
  270. </div>
  271. <a id="a50932c4bed140da5ce96b6718de2636b"></a>
  272. <h2 class="memtitle"><span class="permalink"><a href="#a50932c4bed140da5ce96b6718de2636b">&#9670;&nbsp;</a></span>invTransform()</h2>
  273. <div class="memitem">
  274. <div class="memproto">
  275. <table class="memname">
  276. <tr>
  277. <td class="memname">double QwtAbstractScale::invTransform </td>
  278. <td>(</td>
  279. <td class="paramtype">int&#160;</td>
  280. <td class="paramname"><em>value</em></td><td>)</td>
  281. <td> const</td>
  282. </tr>
  283. </table>
  284. </div><div class="memdoc">
  285. <p>Translate a widget coordinate into a scale value</p>
  286. <dl class="params"><dt>Parameters</dt><dd>
  287. <table class="params">
  288. <tr><td class="paramname">value</td><td>Widget coordinate </td></tr>
  289. </table>
  290. </dd>
  291. </dl>
  292. <dl class="section return"><dt>Returns</dt><dd>Corresponding scale coordinate for value </dd></dl>
  293. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a116c7877f4d9fc3620ffa713b5bbdb96">scaleMap()</a>, <a class="el" href="class_qwt_abstract_scale.html#a6fac557f38c8121b97fda514cf91bcbf">transform()</a> </dd></dl>
  294. </div>
  295. </div>
  296. <a id="a8c649b5b370b06f5028fb83b78189e4a"></a>
  297. <h2 class="memtitle"><span class="permalink"><a href="#a8c649b5b370b06f5028fb83b78189e4a">&#9670;&nbsp;</a></span>isInverted()</h2>
  298. <div class="memitem">
  299. <div class="memproto">
  300. <table class="memname">
  301. <tr>
  302. <td class="memname">bool QwtAbstractScale::isInverted </td>
  303. <td>(</td>
  304. <td class="paramname"></td><td>)</td>
  305. <td> const</td>
  306. </tr>
  307. </table>
  308. </div><div class="memdoc">
  309. <dl class="section return"><dt>Returns</dt><dd>True, when the scale is increasing in opposite direction to the widget coordinates </dd></dl>
  310. </div>
  311. </div>
  312. <a id="a41b46b9bf8b6d7986cc64c766f3b667c"></a>
  313. <h2 class="memtitle"><span class="permalink"><a href="#a41b46b9bf8b6d7986cc64c766f3b667c">&#9670;&nbsp;</a></span>lowerBound()</h2>
  314. <div class="memitem">
  315. <div class="memproto">
  316. <table class="memname">
  317. <tr>
  318. <td class="memname">double QwtAbstractScale::lowerBound </td>
  319. <td>(</td>
  320. <td class="paramname"></td><td>)</td>
  321. <td> const</td>
  322. </tr>
  323. </table>
  324. </div><div class="memdoc">
  325. <dl class="section return"><dt>Returns</dt><dd>Lower bound of the scale </dd></dl>
  326. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa1b73da4589370fc14fd2ef49b02d142">setLowerBound()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae9640e814b5029d7dd79cb3ba752102b" title="Specify a scale.">setScale()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound()</a> </dd></dl>
  327. </div>
  328. </div>
  329. <a id="ab904fda71caf6fc642ce6f12bac78b77"></a>
  330. <h2 class="memtitle"><span class="permalink"><a href="#ab904fda71caf6fc642ce6f12bac78b77">&#9670;&nbsp;</a></span>maximum()</h2>
  331. <div class="memitem">
  332. <div class="memproto">
  333. <table class="memname">
  334. <tr>
  335. <td class="memname">double QwtAbstractScale::maximum </td>
  336. <td>(</td>
  337. <td class="paramname"></td><td>)</td>
  338. <td> const</td>
  339. </tr>
  340. </table>
  341. </div><div class="memdoc">
  342. <dl class="section return"><dt>Returns</dt><dd>The boundary with the larger value </dd></dl>
  343. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a87eb18286615cf791d90a2b1388ac19a">minimum()</a>, <a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound()</a> </dd></dl>
  344. </div>
  345. </div>
  346. <a id="a87eb18286615cf791d90a2b1388ac19a"></a>
  347. <h2 class="memtitle"><span class="permalink"><a href="#a87eb18286615cf791d90a2b1388ac19a">&#9670;&nbsp;</a></span>minimum()</h2>
  348. <div class="memitem">
  349. <div class="memproto">
  350. <table class="memname">
  351. <tr>
  352. <td class="memname">double QwtAbstractScale::minimum </td>
  353. <td>(</td>
  354. <td class="paramname"></td><td>)</td>
  355. <td> const</td>
  356. </tr>
  357. </table>
  358. </div><div class="memdoc">
  359. <dl class="section return"><dt>Returns</dt><dd>The boundary with the smaller value </dd></dl>
  360. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#ab904fda71caf6fc642ce6f12bac78b77">maximum()</a>, <a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound()</a> </dd></dl>
  361. </div>
  362. </div>
  363. <a id="a647e6458305a0967077f4b1f03811c14"></a>
  364. <h2 class="memtitle"><span class="permalink"><a href="#a647e6458305a0967077f4b1f03811c14">&#9670;&nbsp;</a></span>rescale()</h2>
  365. <div class="memitem">
  366. <div class="memproto">
  367. <table class="mlabels">
  368. <tr>
  369. <td class="mlabels-left">
  370. <table class="memname">
  371. <tr>
  372. <td class="memname">void QwtAbstractScale::rescale </td>
  373. <td>(</td>
  374. <td class="paramtype">double&#160;</td>
  375. <td class="paramname"><em>lowerBound</em>, </td>
  376. </tr>
  377. <tr>
  378. <td class="paramkey"></td>
  379. <td></td>
  380. <td class="paramtype">double&#160;</td>
  381. <td class="paramname"><em>upperBound</em>, </td>
  382. </tr>
  383. <tr>
  384. <td class="paramkey"></td>
  385. <td></td>
  386. <td class="paramtype">double&#160;</td>
  387. <td class="paramname"><em>stepSize</em>&#160;</td>
  388. </tr>
  389. <tr>
  390. <td></td>
  391. <td>)</td>
  392. <td></td><td></td>
  393. </tr>
  394. </table>
  395. </td>
  396. <td class="mlabels-right">
  397. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  398. </tr>
  399. </table>
  400. </div><div class="memdoc">
  401. <p>Recalculate the scale division and update the scale.</p>
  402. <dl class="params"><dt>Parameters</dt><dd>
  403. <table class="params">
  404. <tr><td class="paramname">lowerBound</td><td>Lower limit of the scale interval </td></tr>
  405. <tr><td class="paramname">upperBound</td><td>Upper limit of the scale interval </td></tr>
  406. <tr><td class="paramname">stepSize</td><td>Major step size</td></tr>
  407. </table>
  408. </dd>
  409. </dl>
  410. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a0dbb7bdc557c0a7b163643e41970ed6a" title="Notify changed scale.">scaleChange()</a> </dd></dl>
  411. </div>
  412. </div>
  413. <a id="a68d4d5a6f44ae4574d5ad8200aaa017f"></a>
  414. <h2 class="memtitle"><span class="permalink"><a href="#a68d4d5a6f44ae4574d5ad8200aaa017f">&#9670;&nbsp;</a></span>scaleDiv()</h2>
  415. <div class="memitem">
  416. <div class="memproto">
  417. <table class="memname">
  418. <tr>
  419. <td class="memname">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp; QwtAbstractScale::scaleDiv </td>
  420. <td>(</td>
  421. <td class="paramname"></td><td>)</td>
  422. <td> const</td>
  423. </tr>
  424. </table>
  425. </div><div class="memdoc">
  426. <dl class="section return"><dt>Returns</dt><dd>Scale boundaries and positions of the ticks</dd></dl>
  427. <p>The scale division might have been assigned explicitly or calculated implicitly by <a class="el" href="class_qwt_abstract_scale.html#a647e6458305a0967077f4b1f03811c14">rescale()</a>. </p>
  428. </div>
  429. </div>
  430. <a id="aea3b9d4912f1c28671f232e4100936d7"></a>
  431. <h2 class="memtitle"><span class="permalink"><a href="#aea3b9d4912f1c28671f232e4100936d7">&#9670;&nbsp;</a></span>scaleEngine() <span class="overload">[1/2]</span></h2>
  432. <div class="memitem">
  433. <div class="memproto">
  434. <table class="memname">
  435. <tr>
  436. <td class="memname"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * QwtAbstractScale::scaleEngine </td>
  437. <td>(</td>
  438. <td class="paramname"></td><td>)</td>
  439. <td></td>
  440. </tr>
  441. </table>
  442. </div><div class="memdoc">
  443. <dl class="section return"><dt>Returns</dt><dd>Scale engine </dd></dl>
  444. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f" title="Set a scale engine.">setScaleEngine()</a> </dd></dl>
  445. </div>
  446. </div>
  447. <a id="a5dc4f746d4dfacb8a1a57cf85deccf64"></a>
  448. <h2 class="memtitle"><span class="permalink"><a href="#a5dc4f746d4dfacb8a1a57cf85deccf64">&#9670;&nbsp;</a></span>scaleEngine() <span class="overload">[2/2]</span></h2>
  449. <div class="memitem">
  450. <div class="memproto">
  451. <table class="memname">
  452. <tr>
  453. <td class="memname">const <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * QwtAbstractScale::scaleEngine </td>
  454. <td>(</td>
  455. <td class="paramname"></td><td>)</td>
  456. <td> const</td>
  457. </tr>
  458. </table>
  459. </div><div class="memdoc">
  460. <dl class="section return"><dt>Returns</dt><dd>Scale engine </dd></dl>
  461. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f" title="Set a scale engine.">setScaleEngine()</a> </dd></dl>
  462. </div>
  463. </div>
  464. <a id="a116c7877f4d9fc3620ffa713b5bbdb96"></a>
  465. <h2 class="memtitle"><span class="permalink"><a href="#a116c7877f4d9fc3620ffa713b5bbdb96">&#9670;&nbsp;</a></span>scaleMap()</h2>
  466. <div class="memitem">
  467. <div class="memproto">
  468. <table class="memname">
  469. <tr>
  470. <td class="memname">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp; QwtAbstractScale::scaleMap </td>
  471. <td>(</td>
  472. <td class="paramname"></td><td>)</td>
  473. <td> const</td>
  474. </tr>
  475. </table>
  476. </div><div class="memdoc">
  477. <dl class="section return"><dt>Returns</dt><dd>Map to translate between scale and widget coordinates </dd></dl>
  478. </div>
  479. </div>
  480. <a id="a951e85ddbf8b0edaa91a9d300a92dd4e"></a>
  481. <h2 class="memtitle"><span class="permalink"><a href="#a951e85ddbf8b0edaa91a9d300a92dd4e">&#9670;&nbsp;</a></span>scaleMaxMajor()</h2>
  482. <div class="memitem">
  483. <div class="memproto">
  484. <table class="memname">
  485. <tr>
  486. <td class="memname">int QwtAbstractScale::scaleMaxMajor </td>
  487. <td>(</td>
  488. <td class="paramname"></td><td>)</td>
  489. <td> const</td>
  490. </tr>
  491. </table>
  492. </div><div class="memdoc">
  493. <dl class="section return"><dt>Returns</dt><dd>Maximal number of major tick intervals </dd></dl>
  494. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a40fdb4572ad8fdec8b93766ff5f8eda8" title="Set the maximum number of major tick intervals.">setScaleMaxMajor()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae6e5881dddd6d1340be4750c115d29dd">scaleMaxMinor()</a> </dd></dl>
  495. </div>
  496. </div>
  497. <a id="ae6e5881dddd6d1340be4750c115d29dd"></a>
  498. <h2 class="memtitle"><span class="permalink"><a href="#ae6e5881dddd6d1340be4750c115d29dd">&#9670;&nbsp;</a></span>scaleMaxMinor()</h2>
  499. <div class="memitem">
  500. <div class="memproto">
  501. <table class="memname">
  502. <tr>
  503. <td class="memname">int QwtAbstractScale::scaleMaxMinor </td>
  504. <td>(</td>
  505. <td class="paramname"></td><td>)</td>
  506. <td> const</td>
  507. </tr>
  508. </table>
  509. </div><div class="memdoc">
  510. <dl class="section return"><dt>Returns</dt><dd>Maximal number of minor tick intervals </dd></dl>
  511. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a6520bb1e52571f865b21b3710786a4db" title="Set the maximum number of minor tick intervals.">setScaleMaxMinor()</a>, <a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a> </dd></dl>
  512. </div>
  513. </div>
  514. <a id="a6fa69e27596cef1672cf8bf3c3dc547c"></a>
  515. <h2 class="memtitle"><span class="permalink"><a href="#a6fa69e27596cef1672cf8bf3c3dc547c">&#9670;&nbsp;</a></span>scaleStepSize()</h2>
  516. <div class="memitem">
  517. <div class="memproto">
  518. <table class="memname">
  519. <tr>
  520. <td class="memname">double QwtAbstractScale::scaleStepSize </td>
  521. <td>(</td>
  522. <td class="paramname"></td><td>)</td>
  523. <td> const</td>
  524. </tr>
  525. </table>
  526. </div><div class="memdoc">
  527. <dl class="section return"><dt>Returns</dt><dd>Hint for the step size of the scale </dd></dl>
  528. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#aac745efd9414e529794e2189f7c535cb" title="Set the step size used for calculating a scale division.">setScaleStepSize()</a>, <a class="el" href="class_qwt_scale_engine.html#ab85442ced7cf3a39e5ad25f8cb80dea4" title="Calculate a scale division.">QwtScaleEngine::divideScale()</a> </dd></dl>
  529. </div>
  530. </div>
  531. <a id="a950c5bf521dc704b78f76c7951346288"></a>
  532. <h2 class="memtitle"><span class="permalink"><a href="#a950c5bf521dc704b78f76c7951346288">&#9670;&nbsp;</a></span>setAbstractScaleDraw()</h2>
  533. <div class="memitem">
  534. <div class="memproto">
  535. <table class="mlabels">
  536. <tr>
  537. <td class="mlabels-left">
  538. <table class="memname">
  539. <tr>
  540. <td class="memname">void QwtAbstractScale::setAbstractScaleDraw </td>
  541. <td>(</td>
  542. <td class="paramtype"><a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *&#160;</td>
  543. <td class="paramname"><em>scaleDraw</em></td><td>)</td>
  544. <td></td>
  545. </tr>
  546. </table>
  547. </td>
  548. <td class="mlabels-right">
  549. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  550. </tr>
  551. </table>
  552. </div><div class="memdoc">
  553. <p>Set a scale draw. </p>
  554. <p>scaleDraw has to be created with new and will be deleted in the destructor or the next call of <a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288" title="Set a scale draw.">setAbstractScaleDraw()</a>.</p>
  555. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa61afdff037ef745a6dad686537cdb96">abstractScaleDraw()</a> </dd></dl>
  556. </div>
  557. </div>
  558. <a id="aa1b73da4589370fc14fd2ef49b02d142"></a>
  559. <h2 class="memtitle"><span class="permalink"><a href="#aa1b73da4589370fc14fd2ef49b02d142">&#9670;&nbsp;</a></span>setLowerBound()</h2>
  560. <div class="memitem">
  561. <div class="memproto">
  562. <table class="memname">
  563. <tr>
  564. <td class="memname">void QwtAbstractScale::setLowerBound </td>
  565. <td>(</td>
  566. <td class="paramtype">double&#160;</td>
  567. <td class="paramname"><em>value</em></td><td>)</td>
  568. <td></td>
  569. </tr>
  570. </table>
  571. </div><div class="memdoc">
  572. <p>Set the lower bound of the scale</p>
  573. <dl class="params"><dt>Parameters</dt><dd>
  574. <table class="params">
  575. <tr><td class="paramname">value</td><td>Lower bound</td></tr>
  576. </table>
  577. </dd>
  578. </dl>
  579. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae9640e814b5029d7dd79cb3ba752102b" title="Specify a scale.">setScale()</a>, <a class="el" href="class_qwt_abstract_scale.html#a1b2ea5c97eb19ccd55ec83713ab675fe">setUpperBound()</a> </dd></dl>
  580. <dl class="section note"><dt>Note</dt><dd>For inverted scales the lower bound is greater than the upper bound </dd></dl>
  581. </div>
  582. </div>
  583. <a id="ab54877c80f0b00fdb6e4745448aee128"></a>
  584. <h2 class="memtitle"><span class="permalink"><a href="#ab54877c80f0b00fdb6e4745448aee128">&#9670;&nbsp;</a></span>setScale() <span class="overload">[1/3]</span></h2>
  585. <div class="memitem">
  586. <div class="memproto">
  587. <table class="memname">
  588. <tr>
  589. <td class="memname">void QwtAbstractScale::setScale </td>
  590. <td>(</td>
  591. <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
  592. <td class="paramname"><em>interval</em></td><td>)</td>
  593. <td></td>
  594. </tr>
  595. </table>
  596. </div><div class="memdoc">
  597. <p>Specify a scale. </p>
  598. <p>Define a scale by an interval</p>
  599. <p>The ticks are calculated using <a class="el" href="class_qwt_abstract_scale.html#ae6e5881dddd6d1340be4750c115d29dd">scaleMaxMinor()</a>, <a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a> and <a class="el" href="class_qwt_abstract_scale.html#a6fa69e27596cef1672cf8bf3c3dc547c">scaleStepSize()</a>.</p>
  600. <dl class="params"><dt>Parameters</dt><dd>
  601. <table class="params">
  602. <tr><td class="paramname">interval</td><td>Interval </td></tr>
  603. </table>
  604. </dd>
  605. </dl>
  606. </div>
  607. </div>
  608. <a id="ad002e1a352ecf85c1a8595a138d42db7"></a>
  609. <h2 class="memtitle"><span class="permalink"><a href="#ad002e1a352ecf85c1a8595a138d42db7">&#9670;&nbsp;</a></span>setScale() <span class="overload">[2/3]</span></h2>
  610. <div class="memitem">
  611. <div class="memproto">
  612. <table class="memname">
  613. <tr>
  614. <td class="memname">void QwtAbstractScale::setScale </td>
  615. <td>(</td>
  616. <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td>
  617. <td class="paramname"><em>scaleDiv</em></td><td>)</td>
  618. <td></td>
  619. </tr>
  620. </table>
  621. </div><div class="memdoc">
  622. <p>Specify a scale. </p>
  623. <p><a class="el" href="class_qwt_abstract_scale.html#ae6e5881dddd6d1340be4750c115d29dd">scaleMaxMinor()</a>, <a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a> and <a class="el" href="class_qwt_abstract_scale.html#a6fa69e27596cef1672cf8bf3c3dc547c">scaleStepSize()</a> and have no effect.</p>
  624. <dl class="params"><dt>Parameters</dt><dd>
  625. <table class="params">
  626. <tr><td class="paramname">scaleDiv</td><td>Scale division </td></tr>
  627. </table>
  628. </dd>
  629. </dl>
  630. <dl class="section see"><dt>See also</dt><dd>setAutoScale() </dd></dl>
  631. </div>
  632. </div>
  633. <a id="ae9640e814b5029d7dd79cb3ba752102b"></a>
  634. <h2 class="memtitle"><span class="permalink"><a href="#ae9640e814b5029d7dd79cb3ba752102b">&#9670;&nbsp;</a></span>setScale() <span class="overload">[3/3]</span></h2>
  635. <div class="memitem">
  636. <div class="memproto">
  637. <table class="memname">
  638. <tr>
  639. <td class="memname">void QwtAbstractScale::setScale </td>
  640. <td>(</td>
  641. <td class="paramtype">double&#160;</td>
  642. <td class="paramname"><em>lowerBound</em>, </td>
  643. </tr>
  644. <tr>
  645. <td class="paramkey"></td>
  646. <td></td>
  647. <td class="paramtype">double&#160;</td>
  648. <td class="paramname"><em>upperBound</em>&#160;</td>
  649. </tr>
  650. <tr>
  651. <td></td>
  652. <td>)</td>
  653. <td></td><td></td>
  654. </tr>
  655. </table>
  656. </div><div class="memdoc">
  657. <p>Specify a scale. </p>
  658. <p>Define a scale by an interval</p>
  659. <p>The ticks are calculated using <a class="el" href="class_qwt_abstract_scale.html#ae6e5881dddd6d1340be4750c115d29dd">scaleMaxMinor()</a>, <a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a> and <a class="el" href="class_qwt_abstract_scale.html#a6fa69e27596cef1672cf8bf3c3dc547c">scaleStepSize()</a>.</p>
  660. <dl class="params"><dt>Parameters</dt><dd>
  661. <table class="params">
  662. <tr><td class="paramname">lowerBound</td><td>lower limit of the scale interval </td></tr>
  663. <tr><td class="paramname">upperBound</td><td>upper limit of the scale interval</td></tr>
  664. </table>
  665. </dd>
  666. </dl>
  667. <dl class="section note"><dt>Note</dt><dd>For inverted scales the lower bound is greater than the upper bound </dd></dl>
  668. </div>
  669. </div>
  670. <a id="aa00f44140af3f2b7595cb6e23371198f"></a>
  671. <h2 class="memtitle"><span class="permalink"><a href="#aa00f44140af3f2b7595cb6e23371198f">&#9670;&nbsp;</a></span>setScaleEngine()</h2>
  672. <div class="memitem">
  673. <div class="memproto">
  674. <table class="memname">
  675. <tr>
  676. <td class="memname">void QwtAbstractScale::setScaleEngine </td>
  677. <td>(</td>
  678. <td class="paramtype"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *&#160;</td>
  679. <td class="paramname"><em>scaleEngine</em></td><td>)</td>
  680. <td></td>
  681. </tr>
  682. </table>
  683. </div><div class="memdoc">
  684. <p>Set a scale engine. </p>
  685. <p>The scale engine is responsible for calculating the scale division and provides a transformation between scale and widget coordinates.</p>
  686. <p>scaleEngine has to be created with new and will be deleted in the destructor or the next call of setScaleEngine. </p>
  687. </div>
  688. </div>
  689. <a id="a40fdb4572ad8fdec8b93766ff5f8eda8"></a>
  690. <h2 class="memtitle"><span class="permalink"><a href="#a40fdb4572ad8fdec8b93766ff5f8eda8">&#9670;&nbsp;</a></span>setScaleMaxMajor()</h2>
  691. <div class="memitem">
  692. <div class="memproto">
  693. <table class="memname">
  694. <tr>
  695. <td class="memname">void QwtAbstractScale::setScaleMaxMajor </td>
  696. <td>(</td>
  697. <td class="paramtype">int&#160;</td>
  698. <td class="paramname"><em>ticks</em></td><td>)</td>
  699. <td></td>
  700. </tr>
  701. </table>
  702. </div><div class="memdoc">
  703. <p>Set the maximum number of major tick intervals. </p>
  704. <p>The scale's major ticks are calculated automatically such that the number of major intervals does not exceed ticks.</p>
  705. <p>The default value is 5.</p>
  706. <dl class="params"><dt>Parameters</dt><dd>
  707. <table class="params">
  708. <tr><td class="paramname">ticks</td><td>Maximal number of major ticks.</td></tr>
  709. </table>
  710. </dd>
  711. </dl>
  712. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a>, <a class="el" href="class_qwt_abstract_scale.html#a6520bb1e52571f865b21b3710786a4db" title="Set the maximum number of minor tick intervals.">setScaleMaxMinor()</a>, <a class="el" href="class_qwt_abstract_scale.html#aac745efd9414e529794e2189f7c535cb" title="Set the step size used for calculating a scale division.">setScaleStepSize()</a>, <a class="el" href="class_qwt_scale_engine.html#a7c60080fe83474eb50d5094b9f93d649">QwtScaleEngine::divideInterval()</a> </dd></dl>
  713. </div>
  714. </div>
  715. <a id="a6520bb1e52571f865b21b3710786a4db"></a>
  716. <h2 class="memtitle"><span class="permalink"><a href="#a6520bb1e52571f865b21b3710786a4db">&#9670;&nbsp;</a></span>setScaleMaxMinor()</h2>
  717. <div class="memitem">
  718. <div class="memproto">
  719. <table class="memname">
  720. <tr>
  721. <td class="memname">void QwtAbstractScale::setScaleMaxMinor </td>
  722. <td>(</td>
  723. <td class="paramtype">int&#160;</td>
  724. <td class="paramname"><em>ticks</em></td><td>)</td>
  725. <td></td>
  726. </tr>
  727. </table>
  728. </div><div class="memdoc">
  729. <p>Set the maximum number of minor tick intervals. </p>
  730. <p>The scale's minor ticks are calculated automatically such that the number of minor intervals does not exceed ticks. The default value is 3.</p>
  731. <dl class="params"><dt>Parameters</dt><dd>
  732. <table class="params">
  733. <tr><td class="paramname">ticks</td><td>Maximal number of minor ticks.</td></tr>
  734. </table>
  735. </dd>
  736. </dl>
  737. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a>, <a class="el" href="class_qwt_abstract_scale.html#a6520bb1e52571f865b21b3710786a4db" title="Set the maximum number of minor tick intervals.">setScaleMaxMinor()</a>, <a class="el" href="class_qwt_abstract_scale.html#aac745efd9414e529794e2189f7c535cb" title="Set the step size used for calculating a scale division.">setScaleStepSize()</a>, <a class="el" href="class_qwt_scale_engine.html#a7c60080fe83474eb50d5094b9f93d649">QwtScaleEngine::divideInterval()</a> </dd></dl>
  738. </div>
  739. </div>
  740. <a id="aac745efd9414e529794e2189f7c535cb"></a>
  741. <h2 class="memtitle"><span class="permalink"><a href="#aac745efd9414e529794e2189f7c535cb">&#9670;&nbsp;</a></span>setScaleStepSize()</h2>
  742. <div class="memitem">
  743. <div class="memproto">
  744. <table class="memname">
  745. <tr>
  746. <td class="memname">void QwtAbstractScale::setScaleStepSize </td>
  747. <td>(</td>
  748. <td class="paramtype">double&#160;</td>
  749. <td class="paramname"><em>stepSize</em></td><td>)</td>
  750. <td></td>
  751. </tr>
  752. </table>
  753. </div><div class="memdoc">
  754. <p>Set the step size used for calculating a scale division. </p>
  755. <p>The step size is hint for calculating the intervals for the major ticks of the scale. A value of 0.0 is interpreted as no hint.</p>
  756. <dl class="params"><dt>Parameters</dt><dd>
  757. <table class="params">
  758. <tr><td class="paramname">stepSize</td><td>Hint for the step size of the scale</td></tr>
  759. </table>
  760. </dd>
  761. </dl>
  762. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a6fa69e27596cef1672cf8bf3c3dc547c">scaleStepSize()</a>, <a class="el" href="class_qwt_scale_engine.html#ab85442ced7cf3a39e5ad25f8cb80dea4" title="Calculate a scale division.">QwtScaleEngine::divideScale()</a></dd></dl>
  763. <dl class="section note"><dt>Note</dt><dd>Position and distance between the major ticks also depends on <a class="el" href="class_qwt_abstract_scale.html#a951e85ddbf8b0edaa91a9d300a92dd4e">scaleMaxMajor()</a>. </dd></dl>
  764. </div>
  765. </div>
  766. <a id="a1b2ea5c97eb19ccd55ec83713ab675fe"></a>
  767. <h2 class="memtitle"><span class="permalink"><a href="#a1b2ea5c97eb19ccd55ec83713ab675fe">&#9670;&nbsp;</a></span>setUpperBound()</h2>
  768. <div class="memitem">
  769. <div class="memproto">
  770. <table class="memname">
  771. <tr>
  772. <td class="memname">void QwtAbstractScale::setUpperBound </td>
  773. <td>(</td>
  774. <td class="paramtype">double&#160;</td>
  775. <td class="paramname"><em>value</em></td><td>)</td>
  776. <td></td>
  777. </tr>
  778. </table>
  779. </div><div class="memdoc">
  780. <p>Set the upper bound of the scale</p>
  781. <dl class="params"><dt>Parameters</dt><dd>
  782. <table class="params">
  783. <tr><td class="paramname">value</td><td>Upper bound</td></tr>
  784. </table>
  785. </dd>
  786. </dl>
  787. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#ae5696dae4e4cc4332a84453a0ce18cc8">upperBound()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae9640e814b5029d7dd79cb3ba752102b" title="Specify a scale.">setScale()</a>, <a class="el" href="class_qwt_abstract_scale.html#aa1b73da4589370fc14fd2ef49b02d142">setLowerBound()</a> </dd></dl>
  788. <dl class="section note"><dt>Note</dt><dd>For inverted scales the lower bound is greater than the upper bound </dd></dl>
  789. </div>
  790. </div>
  791. <a id="a6fac557f38c8121b97fda514cf91bcbf"></a>
  792. <h2 class="memtitle"><span class="permalink"><a href="#a6fac557f38c8121b97fda514cf91bcbf">&#9670;&nbsp;</a></span>transform()</h2>
  793. <div class="memitem">
  794. <div class="memproto">
  795. <table class="memname">
  796. <tr>
  797. <td class="memname">int QwtAbstractScale::transform </td>
  798. <td>(</td>
  799. <td class="paramtype">double&#160;</td>
  800. <td class="paramname"><em>value</em></td><td>)</td>
  801. <td> const</td>
  802. </tr>
  803. </table>
  804. </div><div class="memdoc">
  805. <p>Translate a scale value into a widget coordinate</p>
  806. <dl class="params"><dt>Parameters</dt><dd>
  807. <table class="params">
  808. <tr><td class="paramname">value</td><td>Scale value </td></tr>
  809. </table>
  810. </dd>
  811. </dl>
  812. <dl class="section return"><dt>Returns</dt><dd>Corresponding widget coordinate for value </dd></dl>
  813. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a116c7877f4d9fc3620ffa713b5bbdb96">scaleMap()</a>, <a class="el" href="class_qwt_abstract_scale.html#a50932c4bed140da5ce96b6718de2636b">invTransform()</a> </dd></dl>
  814. </div>
  815. </div>
  816. <a id="ae5696dae4e4cc4332a84453a0ce18cc8"></a>
  817. <h2 class="memtitle"><span class="permalink"><a href="#ae5696dae4e4cc4332a84453a0ce18cc8">&#9670;&nbsp;</a></span>upperBound()</h2>
  818. <div class="memitem">
  819. <div class="memproto">
  820. <table class="memname">
  821. <tr>
  822. <td class="memname">double QwtAbstractScale::upperBound </td>
  823. <td>(</td>
  824. <td class="paramname"></td><td>)</td>
  825. <td> const</td>
  826. </tr>
  827. </table>
  828. </div><div class="memdoc">
  829. <dl class="section return"><dt>Returns</dt><dd>Upper bound of the scale </dd></dl>
  830. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_abstract_scale.html#a1b2ea5c97eb19ccd55ec83713ab675fe">setUpperBound()</a>, <a class="el" href="class_qwt_abstract_scale.html#ae9640e814b5029d7dd79cb3ba752102b" title="Specify a scale.">setScale()</a>, <a class="el" href="class_qwt_abstract_scale.html#a41b46b9bf8b6d7986cc64c766f3b667c">lowerBound()</a> </dd></dl>
  831. </div>
  832. </div>
  833. </div><!-- contents -->
  834. </div><!-- doc-content -->
  835. <!-- start footer part -->
  836. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  837. <ul>
  838. <li class="navelem"><a class="el" href="class_qwt_abstract_scale.html">QwtAbstractScale</a></li>
  839. <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>
  840. </ul>
  841. </div>
  842. </body>
  843. </html>