class_qwt_scale_div.html 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  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: QwtScaleDiv 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_scale_div.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-types">Public Types</a> &#124;
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="class_qwt_scale_div-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">QwtScaleDiv Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>A class representing a scale division.
  92. <a href="class_qwt_scale_div.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="qwt__scale__div_8h_source.html">qwt_scale_div.h</a>&gt;</code></p>
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  96. Public Types</h2></td></tr>
  97. <tr class="memitem:af21aedaa886dd5e067cf63505838736c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736c">TickType</a> { <br />
  98. &#160;&#160;<a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca9f64c3f9efef05e3020903a54331c4ac">NoTick</a> = -1,
  99. <a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e">MinorTick</a>,
  100. <a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca42fbe3ad54900057e75225ff5e68cc4a">MediumTick</a>,
  101. <a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">MajorTick</a>,
  102. <br />
  103. &#160;&#160;<a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">NTickTypes</a>
  104. <br />
  105. }</td></tr>
  106. <tr class="memdesc:af21aedaa886dd5e067cf63505838736c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scale tick types. <a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736c">More...</a><br /></td></tr>
  107. <tr class="separator:af21aedaa886dd5e067cf63505838736c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. </table><table class="memberdecls">
  109. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  110. Public Member Functions</h2></td></tr>
  111. <tr class="memitem:a724dd19a63de442c0eb493308649ff19"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a724dd19a63de442c0eb493308649ff19">QwtScaleDiv</a> (double <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a>=0.0, double <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a>=0.0)</td></tr>
  112. <tr class="separator:a724dd19a63de442c0eb493308649ff19"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:abdc25d9fe6b2efdd76a60f363a7c719c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#abdc25d9fe6b2efdd76a60f363a7c719c">QwtScaleDiv</a> (const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;, QList&lt; double &gt;[<a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">NTickTypes</a>])</td></tr>
  114. <tr class="separator:abdc25d9fe6b2efdd76a60f363a7c719c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a7326c0f401dee07c2a2661166daf24ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a7326c0f401dee07c2a2661166daf24ae">QwtScaleDiv</a> (double <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a>, double <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a>, QList&lt; double &gt;[<a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">NTickTypes</a>])</td></tr>
  116. <tr class="separator:a7326c0f401dee07c2a2661166daf24ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a1c011f6d8ac4832b69b447d870a8f735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a1c011f6d8ac4832b69b447d870a8f735">QwtScaleDiv</a> (double <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a>, double <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a>, const QList&lt; double &gt; &amp;minorTicks, const QList&lt; double &gt; &amp;mediumTicks, const QList&lt; double &gt; &amp;majorTicks)</td></tr>
  118. <tr class="separator:a1c011f6d8ac4832b69b447d870a8f735"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a22344fd8c7833fd7b0a7cfacf52ad433"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a22344fd8c7833fd7b0a7cfacf52ad433">operator==</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;) const</td></tr>
  120. <tr class="memdesc:a22344fd8c7833fd7b0a7cfacf52ad433"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality operator. <a href="class_qwt_scale_div.html#a22344fd8c7833fd7b0a7cfacf52ad433">More...</a><br /></td></tr>
  121. <tr class="separator:a22344fd8c7833fd7b0a7cfacf52ad433"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a72d49307e2aa0d15d7d7c11efcf45a9e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a72d49307e2aa0d15d7d7c11efcf45a9e">operator!=</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;) const</td></tr>
  123. <tr class="memdesc:a72d49307e2aa0d15d7d7c11efcf45a9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inequality. <a href="class_qwt_scale_div.html#a72d49307e2aa0d15d7d7c11efcf45a9e">More...</a><br /></td></tr>
  124. <tr class="separator:a72d49307e2aa0d15d7d7c11efcf45a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:aa5c61a5fef5f83f2735e4e1b8e545f0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#aa5c61a5fef5f83f2735e4e1b8e545f0b">setInterval</a> (double <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a>, double <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a>)</td></tr>
  126. <tr class="separator:aa5c61a5fef5f83f2735e4e1b8e545f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ad335ddb86f5c635324cd0e8d00430ac4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#ad335ddb86f5c635324cd0e8d00430ac4">setInterval</a> (const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;)</td></tr>
  128. <tr class="separator:ad335ddb86f5c635324cd0e8d00430ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a30f6cd443fdbc5d57b3503893c7cbfa6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a30f6cd443fdbc5d57b3503893c7cbfa6">interval</a> () const</td></tr>
  130. <tr class="separator:a30f6cd443fdbc5d57b3503893c7cbfa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a7d334df11402bf3a5146a8232144bdf8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a7d334df11402bf3a5146a8232144bdf8">setLowerBound</a> (double)</td></tr>
  132. <tr class="separator:a7d334df11402bf3a5146a8232144bdf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a182bbda9901c708ff1362b105274129f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a> () const</td></tr>
  134. <tr class="separator:a182bbda9901c708ff1362b105274129f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a56545b9c67dcfb4bd0c7b5fc430ab70d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a56545b9c67dcfb4bd0c7b5fc430ab70d">setUpperBound</a> (double)</td></tr>
  136. <tr class="separator:a56545b9c67dcfb4bd0c7b5fc430ab70d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a5378d436a44ca78294e4d421228e5b6c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a> () const</td></tr>
  138. <tr class="separator:a5378d436a44ca78294e4d421228e5b6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a4cb22839c45170952182d7039b54e4c2"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a4cb22839c45170952182d7039b54e4c2">range</a> () const</td></tr>
  140. <tr class="separator:a4cb22839c45170952182d7039b54e4c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a8569bba7f423d06ccc791f4d31c3f225"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a8569bba7f423d06ccc791f4d31c3f225">contains</a> (double value) const</td></tr>
  142. <tr class="separator:a8569bba7f423d06ccc791f4d31c3f225"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:af67401fd5d16138eddede3381c559964"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#af67401fd5d16138eddede3381c559964">setTicks</a> (int tickType, const QList&lt; double &gt; &amp;)</td></tr>
  144. <tr class="separator:af67401fd5d16138eddede3381c559964"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a838db100c7f0f8454bf8559e89cb4d41"><td class="memItemLeft" align="right" valign="top">QList&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a838db100c7f0f8454bf8559e89cb4d41">ticks</a> (int tickType) const</td></tr>
  146. <tr class="separator:a838db100c7f0f8454bf8559e89cb4d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:acd381e04ff528149586a8bdf0725d5e1"><td class="memItemLeft" align="right" valign="top"><a id="acd381e04ff528149586a8bdf0725d5e1"></a>
  148. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#acd381e04ff528149586a8bdf0725d5e1">isEmpty</a> () const</td></tr>
  149. <tr class="memdesc:acd381e04ff528149586a8bdf0725d5e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the scale division is empty( <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound()</a> == <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a> ) <br /></td></tr>
  150. <tr class="separator:acd381e04ff528149586a8bdf0725d5e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:aea9a817b912f3b6e939850e0345e73a4"><td class="memItemLeft" align="right" valign="top"><a id="aea9a817b912f3b6e939850e0345e73a4"></a>
  152. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#aea9a817b912f3b6e939850e0345e73a4">isIncreasing</a> () const</td></tr>
  153. <tr class="memdesc:aea9a817b912f3b6e939850e0345e73a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the scale division is increasing( <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound()</a> &lt;= <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a> ) <br /></td></tr>
  154. <tr class="separator:aea9a817b912f3b6e939850e0345e73a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a1ea38d52d5836fd4376f480180973786"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a1ea38d52d5836fd4376f480180973786">invert</a> ()</td></tr>
  156. <tr class="separator:a1ea38d52d5836fd4376f480180973786"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:ab096012b8e2882ec8abbdcf397564ce4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#ab096012b8e2882ec8abbdcf397564ce4">inverted</a> () const</td></tr>
  158. <tr class="separator:ab096012b8e2882ec8abbdcf397564ce4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a0f4389e6d472a1fad5ea6b3fbca8648e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_div.html#a0f4389e6d472a1fad5ea6b3fbca8648e">bounded</a> (double <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a>, double <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a>) const</td></tr>
  160. <tr class="separator:a0f4389e6d472a1fad5ea6b3fbca8648e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. </table>
  162. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  163. <div class="textblock"><p>A class representing a scale division. </p>
  164. <p>A Qwt scale is defined by its boundaries and 3 list for the positions of the major, medium and minor ticks.</p>
  165. <p>The <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a> might be smaller than the <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound()</a> to indicate inverted scales.</p>
  166. <p>Scale divisions can be calculated from a <a class="el" href="class_qwt_scale_engine.html" title="Base class for scale engines.">QwtScaleEngine</a>.</p>
  167. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_scale_engine.html#ab85442ced7cf3a39e5ad25f8cb80dea4" title="Calculate a scale division.">QwtScaleEngine::divideScale()</a>, <a class="el" href="class_qwt_plot.html#a2365da57b983eb39752fa4f6378c225a" title="Disable autoscaling and specify a fixed scale for a selected axis.">QwtPlot::setAxisScaleDiv()</a>, QwtAbstractSlider::setScaleDiv() </dd></dl>
  168. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  169. <a id="af21aedaa886dd5e067cf63505838736c"></a>
  170. <h2 class="memtitle"><span class="permalink"><a href="#af21aedaa886dd5e067cf63505838736c">&#9670;&nbsp;</a></span>TickType</h2>
  171. <div class="memitem">
  172. <div class="memproto">
  173. <table class="memname">
  174. <tr>
  175. <td class="memname">enum <a class="el" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736c">QwtScaleDiv::TickType</a></td>
  176. </tr>
  177. </table>
  178. </div><div class="memdoc">
  179. <p>Scale tick types. </p>
  180. <table class="fieldtable">
  181. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af21aedaa886dd5e067cf63505838736ca9f64c3f9efef05e3020903a54331c4ac"></a>NoTick&#160;</td><td class="fielddoc"><p>No ticks. </p>
  182. </td></tr>
  183. <tr><td class="fieldname"><a id="af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e"></a>MinorTick&#160;</td><td class="fielddoc"><p>Minor ticks. </p>
  184. </td></tr>
  185. <tr><td class="fieldname"><a id="af21aedaa886dd5e067cf63505838736ca42fbe3ad54900057e75225ff5e68cc4a"></a>MediumTick&#160;</td><td class="fielddoc"><p>Medium ticks. </p>
  186. </td></tr>
  187. <tr><td class="fieldname"><a id="af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60"></a>MajorTick&#160;</td><td class="fielddoc"><p>Major ticks. </p>
  188. </td></tr>
  189. <tr><td class="fieldname"><a id="af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553"></a>NTickTypes&#160;</td><td class="fielddoc"><p>Number of valid tick types. </p>
  190. </td></tr>
  191. </table>
  192. </div>
  193. </div>
  194. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  195. <a id="a724dd19a63de442c0eb493308649ff19"></a>
  196. <h2 class="memtitle"><span class="permalink"><a href="#a724dd19a63de442c0eb493308649ff19">&#9670;&nbsp;</a></span>QwtScaleDiv() <span class="overload">[1/4]</span></h2>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="mlabels">
  200. <tr>
  201. <td class="mlabels-left">
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">QwtScaleDiv::QwtScaleDiv </td>
  205. <td>(</td>
  206. <td class="paramtype">double&#160;</td>
  207. <td class="paramname"><em>lowerBound</em> = <code>0.0</code>, </td>
  208. </tr>
  209. <tr>
  210. <td class="paramkey"></td>
  211. <td></td>
  212. <td class="paramtype">double&#160;</td>
  213. <td class="paramname"><em>upperBound</em> = <code>0.0</code>&#160;</td>
  214. </tr>
  215. <tr>
  216. <td></td>
  217. <td>)</td>
  218. <td></td><td></td>
  219. </tr>
  220. </table>
  221. </td>
  222. <td class="mlabels-right">
  223. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  224. </tr>
  225. </table>
  226. </div><div class="memdoc">
  227. <p>Construct a division without ticks</p>
  228. <dl class="params"><dt>Parameters</dt><dd>
  229. <table class="params">
  230. <tr><td class="paramname">lowerBound</td><td>First boundary </td></tr>
  231. <tr><td class="paramname">upperBound</td><td>Second boundary</td></tr>
  232. </table>
  233. </dd>
  234. </dl>
  235. <dl class="section note"><dt>Note</dt><dd>lowerBound might be greater than upperBound for inverted scales </dd></dl>
  236. </div>
  237. </div>
  238. <a id="abdc25d9fe6b2efdd76a60f363a7c719c"></a>
  239. <h2 class="memtitle"><span class="permalink"><a href="#abdc25d9fe6b2efdd76a60f363a7c719c">&#9670;&nbsp;</a></span>QwtScaleDiv() <span class="overload">[2/4]</span></h2>
  240. <div class="memitem">
  241. <div class="memproto">
  242. <table class="mlabels">
  243. <tr>
  244. <td class="mlabels-left">
  245. <table class="memname">
  246. <tr>
  247. <td class="memname">QwtScaleDiv::QwtScaleDiv </td>
  248. <td>(</td>
  249. <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
  250. <td class="paramname"><em>interval</em>, </td>
  251. </tr>
  252. <tr>
  253. <td class="paramkey"></td>
  254. <td></td>
  255. <td class="paramtype">QList&lt; double &gt;&#160;</td>
  256. <td class="paramname"><em>ticks</em>[NTickTypes]&#160;</td>
  257. </tr>
  258. <tr>
  259. <td></td>
  260. <td>)</td>
  261. <td></td><td></td>
  262. </tr>
  263. </table>
  264. </td>
  265. <td class="mlabels-right">
  266. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  267. </tr>
  268. </table>
  269. </div><div class="memdoc">
  270. <p>Construct a scale division</p>
  271. <dl class="params"><dt>Parameters</dt><dd>
  272. <table class="params">
  273. <tr><td class="paramname">interval</td><td>Interval </td></tr>
  274. <tr><td class="paramname">ticks</td><td>List of major, medium and minor ticks </td></tr>
  275. </table>
  276. </dd>
  277. </dl>
  278. </div>
  279. </div>
  280. <a id="a7326c0f401dee07c2a2661166daf24ae"></a>
  281. <h2 class="memtitle"><span class="permalink"><a href="#a7326c0f401dee07c2a2661166daf24ae">&#9670;&nbsp;</a></span>QwtScaleDiv() <span class="overload">[3/4]</span></h2>
  282. <div class="memitem">
  283. <div class="memproto">
  284. <table class="mlabels">
  285. <tr>
  286. <td class="mlabels-left">
  287. <table class="memname">
  288. <tr>
  289. <td class="memname">QwtScaleDiv::QwtScaleDiv </td>
  290. <td>(</td>
  291. <td class="paramtype">double&#160;</td>
  292. <td class="paramname"><em>lowerBound</em>, </td>
  293. </tr>
  294. <tr>
  295. <td class="paramkey"></td>
  296. <td></td>
  297. <td class="paramtype">double&#160;</td>
  298. <td class="paramname"><em>upperBound</em>, </td>
  299. </tr>
  300. <tr>
  301. <td class="paramkey"></td>
  302. <td></td>
  303. <td class="paramtype">QList&lt; double &gt;&#160;</td>
  304. <td class="paramname"><em>ticks</em>[NTickTypes]&#160;</td>
  305. </tr>
  306. <tr>
  307. <td></td>
  308. <td>)</td>
  309. <td></td><td></td>
  310. </tr>
  311. </table>
  312. </td>
  313. <td class="mlabels-right">
  314. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  315. </tr>
  316. </table>
  317. </div><div class="memdoc">
  318. <p>Construct a scale division</p>
  319. <dl class="params"><dt>Parameters</dt><dd>
  320. <table class="params">
  321. <tr><td class="paramname">lowerBound</td><td>First boundary </td></tr>
  322. <tr><td class="paramname">upperBound</td><td>Second boundary </td></tr>
  323. <tr><td class="paramname">ticks</td><td>List of major, medium and minor ticks</td></tr>
  324. </table>
  325. </dd>
  326. </dl>
  327. <dl class="section note"><dt>Note</dt><dd>lowerBound might be greater than upperBound for inverted scales </dd></dl>
  328. </div>
  329. </div>
  330. <a id="a1c011f6d8ac4832b69b447d870a8f735"></a>
  331. <h2 class="memtitle"><span class="permalink"><a href="#a1c011f6d8ac4832b69b447d870a8f735">&#9670;&nbsp;</a></span>QwtScaleDiv() <span class="overload">[4/4]</span></h2>
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="mlabels">
  335. <tr>
  336. <td class="mlabels-left">
  337. <table class="memname">
  338. <tr>
  339. <td class="memname">QwtScaleDiv::QwtScaleDiv </td>
  340. <td>(</td>
  341. <td class="paramtype">double&#160;</td>
  342. <td class="paramname"><em>lowerBound</em>, </td>
  343. </tr>
  344. <tr>
  345. <td class="paramkey"></td>
  346. <td></td>
  347. <td class="paramtype">double&#160;</td>
  348. <td class="paramname"><em>upperBound</em>, </td>
  349. </tr>
  350. <tr>
  351. <td class="paramkey"></td>
  352. <td></td>
  353. <td class="paramtype">const QList&lt; double &gt; &amp;&#160;</td>
  354. <td class="paramname"><em>minorTicks</em>, </td>
  355. </tr>
  356. <tr>
  357. <td class="paramkey"></td>
  358. <td></td>
  359. <td class="paramtype">const QList&lt; double &gt; &amp;&#160;</td>
  360. <td class="paramname"><em>mediumTicks</em>, </td>
  361. </tr>
  362. <tr>
  363. <td class="paramkey"></td>
  364. <td></td>
  365. <td class="paramtype">const QList&lt; double &gt; &amp;&#160;</td>
  366. <td class="paramname"><em>majorTicks</em>&#160;</td>
  367. </tr>
  368. <tr>
  369. <td></td>
  370. <td>)</td>
  371. <td></td><td></td>
  372. </tr>
  373. </table>
  374. </td>
  375. <td class="mlabels-right">
  376. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  377. </tr>
  378. </table>
  379. </div><div class="memdoc">
  380. <p>Construct a scale division</p>
  381. <dl class="params"><dt>Parameters</dt><dd>
  382. <table class="params">
  383. <tr><td class="paramname">lowerBound</td><td>First boundary </td></tr>
  384. <tr><td class="paramname">upperBound</td><td>Second boundary </td></tr>
  385. <tr><td class="paramname">minorTicks</td><td>List of minor ticks </td></tr>
  386. <tr><td class="paramname">mediumTicks</td><td>List medium ticks </td></tr>
  387. <tr><td class="paramname">majorTicks</td><td>List of major ticks</td></tr>
  388. </table>
  389. </dd>
  390. </dl>
  391. <dl class="section note"><dt>Note</dt><dd>lowerBound might be greater than upperBound for inverted scales </dd></dl>
  392. </div>
  393. </div>
  394. <h2 class="groupheader">Member Function Documentation</h2>
  395. <a id="a0f4389e6d472a1fad5ea6b3fbca8648e"></a>
  396. <h2 class="memtitle"><span class="permalink"><a href="#a0f4389e6d472a1fad5ea6b3fbca8648e">&#9670;&nbsp;</a></span>bounded()</h2>
  397. <div class="memitem">
  398. <div class="memproto">
  399. <table class="memname">
  400. <tr>
  401. <td class="memname"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> QwtScaleDiv::bounded </td>
  402. <td>(</td>
  403. <td class="paramtype">double&#160;</td>
  404. <td class="paramname"><em>lowerBound</em>, </td>
  405. </tr>
  406. <tr>
  407. <td class="paramkey"></td>
  408. <td></td>
  409. <td class="paramtype">double&#160;</td>
  410. <td class="paramname"><em>upperBound</em>&#160;</td>
  411. </tr>
  412. <tr>
  413. <td></td>
  414. <td>)</td>
  415. <td></td><td> const</td>
  416. </tr>
  417. </table>
  418. </div><div class="memdoc">
  419. <p>Return a scale division with an interval [lowerBound, upperBound] where all ticks outside this interval are removed</p>
  420. <dl class="params"><dt>Parameters</dt><dd>
  421. <table class="params">
  422. <tr><td class="paramname">lowerBound</td><td>Lower bound </td></tr>
  423. <tr><td class="paramname">upperBound</td><td>Upper bound</td></tr>
  424. </table>
  425. </dd>
  426. </dl>
  427. <dl class="section return"><dt>Returns</dt><dd>Scale division with all ticks inside of the given interval</dd></dl>
  428. <dl class="section note"><dt>Note</dt><dd>lowerBound might be greater than upperBound for inverted scales </dd></dl>
  429. </div>
  430. </div>
  431. <a id="a8569bba7f423d06ccc791f4d31c3f225"></a>
  432. <h2 class="memtitle"><span class="permalink"><a href="#a8569bba7f423d06ccc791f4d31c3f225">&#9670;&nbsp;</a></span>contains()</h2>
  433. <div class="memitem">
  434. <div class="memproto">
  435. <table class="memname">
  436. <tr>
  437. <td class="memname">bool QwtScaleDiv::contains </td>
  438. <td>(</td>
  439. <td class="paramtype">double&#160;</td>
  440. <td class="paramname"><em>value</em></td><td>)</td>
  441. <td> const</td>
  442. </tr>
  443. </table>
  444. </div><div class="memdoc">
  445. <p>Return if a value is between <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound()</a> and <a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a></p>
  446. <dl class="params"><dt>Parameters</dt><dd>
  447. <table class="params">
  448. <tr><td class="paramname">value</td><td>Value </td></tr>
  449. </table>
  450. </dd>
  451. </dl>
  452. <dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl>
  453. </div>
  454. </div>
  455. <a id="a30f6cd443fdbc5d57b3503893c7cbfa6"></a>
  456. <h2 class="memtitle"><span class="permalink"><a href="#a30f6cd443fdbc5d57b3503893c7cbfa6">&#9670;&nbsp;</a></span>interval()</h2>
  457. <div class="memitem">
  458. <div class="memproto">
  459. <table class="memname">
  460. <tr>
  461. <td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtScaleDiv::interval </td>
  462. <td>(</td>
  463. <td class="paramname"></td><td>)</td>
  464. <td> const</td>
  465. </tr>
  466. </table>
  467. </div><div class="memdoc">
  468. <dl class="section return"><dt>Returns</dt><dd>lowerBound -&gt; upperBound </dd></dl>
  469. </div>
  470. </div>
  471. <a id="a1ea38d52d5836fd4376f480180973786"></a>
  472. <h2 class="memtitle"><span class="permalink"><a href="#a1ea38d52d5836fd4376f480180973786">&#9670;&nbsp;</a></span>invert()</h2>
  473. <div class="memitem">
  474. <div class="memproto">
  475. <table class="memname">
  476. <tr>
  477. <td class="memname">void QwtScaleDiv::invert </td>
  478. <td>(</td>
  479. <td class="paramname"></td><td>)</td>
  480. <td></td>
  481. </tr>
  482. </table>
  483. </div><div class="memdoc">
  484. <p>Invert the scale division </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_scale_div.html#ab096012b8e2882ec8abbdcf397564ce4">inverted()</a> </dd></dl>
  485. </div>
  486. </div>
  487. <a id="ab096012b8e2882ec8abbdcf397564ce4"></a>
  488. <h2 class="memtitle"><span class="permalink"><a href="#ab096012b8e2882ec8abbdcf397564ce4">&#9670;&nbsp;</a></span>inverted()</h2>
  489. <div class="memitem">
  490. <div class="memproto">
  491. <table class="memname">
  492. <tr>
  493. <td class="memname"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> QwtScaleDiv::inverted </td>
  494. <td>(</td>
  495. <td class="paramname"></td><td>)</td>
  496. <td> const</td>
  497. </tr>
  498. </table>
  499. </div><div class="memdoc">
  500. <dl class="section return"><dt>Returns</dt><dd>A scale division with inverted boundaries and ticks </dd></dl>
  501. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_scale_div.html#a1ea38d52d5836fd4376f480180973786">invert()</a> </dd></dl>
  502. </div>
  503. </div>
  504. <a id="a182bbda9901c708ff1362b105274129f"></a>
  505. <h2 class="memtitle"><span class="permalink"><a href="#a182bbda9901c708ff1362b105274129f">&#9670;&nbsp;</a></span>lowerBound()</h2>
  506. <div class="memitem">
  507. <div class="memproto">
  508. <table class="memname">
  509. <tr>
  510. <td class="memname">double QwtScaleDiv::lowerBound </td>
  511. <td>(</td>
  512. <td class="paramname"></td><td>)</td>
  513. <td> const</td>
  514. </tr>
  515. </table>
  516. </div><div class="memdoc">
  517. <dl class="section return"><dt>Returns</dt><dd>First boundary </dd></dl>
  518. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a> </dd></dl>
  519. </div>
  520. </div>
  521. <a id="a72d49307e2aa0d15d7d7c11efcf45a9e"></a>
  522. <h2 class="memtitle"><span class="permalink"><a href="#a72d49307e2aa0d15d7d7c11efcf45a9e">&#9670;&nbsp;</a></span>operator!=()</h2>
  523. <div class="memitem">
  524. <div class="memproto">
  525. <table class="memname">
  526. <tr>
  527. <td class="memname">bool QwtScaleDiv::operator!= </td>
  528. <td>(</td>
  529. <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td>
  530. <td class="paramname"><em>other</em></td><td>)</td>
  531. <td> const</td>
  532. </tr>
  533. </table>
  534. </div><div class="memdoc">
  535. <p>Inequality. </p>
  536. <dl class="section return"><dt>Returns</dt><dd>true if this instance is not equal to other </dd></dl>
  537. </div>
  538. </div>
  539. <a id="a22344fd8c7833fd7b0a7cfacf52ad433"></a>
  540. <h2 class="memtitle"><span class="permalink"><a href="#a22344fd8c7833fd7b0a7cfacf52ad433">&#9670;&nbsp;</a></span>operator==()</h2>
  541. <div class="memitem">
  542. <div class="memproto">
  543. <table class="memname">
  544. <tr>
  545. <td class="memname">bool QwtScaleDiv::operator== </td>
  546. <td>(</td>
  547. <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td>
  548. <td class="paramname"><em>other</em></td><td>)</td>
  549. <td> const</td>
  550. </tr>
  551. </table>
  552. </div><div class="memdoc">
  553. <p>Equality operator. </p>
  554. <dl class="section return"><dt>Returns</dt><dd>true if this instance is equal to other </dd></dl>
  555. </div>
  556. </div>
  557. <a id="a4cb22839c45170952182d7039b54e4c2"></a>
  558. <h2 class="memtitle"><span class="permalink"><a href="#a4cb22839c45170952182d7039b54e4c2">&#9670;&nbsp;</a></span>range()</h2>
  559. <div class="memitem">
  560. <div class="memproto">
  561. <table class="memname">
  562. <tr>
  563. <td class="memname">double QwtScaleDiv::range </td>
  564. <td>(</td>
  565. <td class="paramname"></td><td>)</td>
  566. <td> const</td>
  567. </tr>
  568. </table>
  569. </div><div class="memdoc">
  570. <dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a> - <a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound()</a> </dd></dl>
  571. </div>
  572. </div>
  573. <a id="ad335ddb86f5c635324cd0e8d00430ac4"></a>
  574. <h2 class="memtitle"><span class="permalink"><a href="#ad335ddb86f5c635324cd0e8d00430ac4">&#9670;&nbsp;</a></span>setInterval() <span class="overload">[1/2]</span></h2>
  575. <div class="memitem">
  576. <div class="memproto">
  577. <table class="memname">
  578. <tr>
  579. <td class="memname">void QwtScaleDiv::setInterval </td>
  580. <td>(</td>
  581. <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
  582. <td class="paramname"><em>interval</em></td><td>)</td>
  583. <td></td>
  584. </tr>
  585. </table>
  586. </div><div class="memdoc">
  587. <p>Change the interval</p>
  588. <dl class="params"><dt>Parameters</dt><dd>
  589. <table class="params">
  590. <tr><td class="paramname">interval</td><td>Interval </td></tr>
  591. </table>
  592. </dd>
  593. </dl>
  594. </div>
  595. </div>
  596. <a id="aa5c61a5fef5f83f2735e4e1b8e545f0b"></a>
  597. <h2 class="memtitle"><span class="permalink"><a href="#aa5c61a5fef5f83f2735e4e1b8e545f0b">&#9670;&nbsp;</a></span>setInterval() <span class="overload">[2/2]</span></h2>
  598. <div class="memitem">
  599. <div class="memproto">
  600. <table class="memname">
  601. <tr>
  602. <td class="memname">void QwtScaleDiv::setInterval </td>
  603. <td>(</td>
  604. <td class="paramtype">double&#160;</td>
  605. <td class="paramname"><em>lowerBound</em>, </td>
  606. </tr>
  607. <tr>
  608. <td class="paramkey"></td>
  609. <td></td>
  610. <td class="paramtype">double&#160;</td>
  611. <td class="paramname"><em>upperBound</em>&#160;</td>
  612. </tr>
  613. <tr>
  614. <td></td>
  615. <td>)</td>
  616. <td></td><td></td>
  617. </tr>
  618. </table>
  619. </div><div class="memdoc">
  620. <p>Change the interval</p>
  621. <dl class="params"><dt>Parameters</dt><dd>
  622. <table class="params">
  623. <tr><td class="paramname">lowerBound</td><td>First boundary </td></tr>
  624. <tr><td class="paramname">upperBound</td><td>Second boundary</td></tr>
  625. </table>
  626. </dd>
  627. </dl>
  628. <dl class="section note"><dt>Note</dt><dd>lowerBound might be greater than upperBound for inverted scales </dd></dl>
  629. </div>
  630. </div>
  631. <a id="a7d334df11402bf3a5146a8232144bdf8"></a>
  632. <h2 class="memtitle"><span class="permalink"><a href="#a7d334df11402bf3a5146a8232144bdf8">&#9670;&nbsp;</a></span>setLowerBound()</h2>
  633. <div class="memitem">
  634. <div class="memproto">
  635. <table class="memname">
  636. <tr>
  637. <td class="memname">void QwtScaleDiv::setLowerBound </td>
  638. <td>(</td>
  639. <td class="paramtype">double&#160;</td>
  640. <td class="paramname"><em>lowerBound</em></td><td>)</td>
  641. <td></td>
  642. </tr>
  643. </table>
  644. </div><div class="memdoc">
  645. <p>Set the first boundary</p>
  646. <dl class="params"><dt>Parameters</dt><dd>
  647. <table class="params">
  648. <tr><td class="paramname">lowerBound</td><td>First boundary </td></tr>
  649. </table>
  650. </dd>
  651. </dl>
  652. <dl class="section see"><dt>See also</dt><dd>lowerBiound(), <a class="el" href="class_qwt_scale_div.html#a56545b9c67dcfb4bd0c7b5fc430ab70d">setUpperBound()</a> </dd></dl>
  653. </div>
  654. </div>
  655. <a id="af67401fd5d16138eddede3381c559964"></a>
  656. <h2 class="memtitle"><span class="permalink"><a href="#af67401fd5d16138eddede3381c559964">&#9670;&nbsp;</a></span>setTicks()</h2>
  657. <div class="memitem">
  658. <div class="memproto">
  659. <table class="memname">
  660. <tr>
  661. <td class="memname">void QwtScaleDiv::setTicks </td>
  662. <td>(</td>
  663. <td class="paramtype">int&#160;</td>
  664. <td class="paramname"><em>type</em>, </td>
  665. </tr>
  666. <tr>
  667. <td class="paramkey"></td>
  668. <td></td>
  669. <td class="paramtype">const QList&lt; double &gt; &amp;&#160;</td>
  670. <td class="paramname"><em>ticks</em>&#160;</td>
  671. </tr>
  672. <tr>
  673. <td></td>
  674. <td>)</td>
  675. <td></td><td></td>
  676. </tr>
  677. </table>
  678. </div><div class="memdoc">
  679. <p>Assign ticks</p>
  680. <dl class="params"><dt>Parameters</dt><dd>
  681. <table class="params">
  682. <tr><td class="paramname">type</td><td>MinorTick, MediumTick or MajorTick </td></tr>
  683. <tr><td class="paramname">ticks</td><td>Values of the tick positions </td></tr>
  684. </table>
  685. </dd>
  686. </dl>
  687. </div>
  688. </div>
  689. <a id="a56545b9c67dcfb4bd0c7b5fc430ab70d"></a>
  690. <h2 class="memtitle"><span class="permalink"><a href="#a56545b9c67dcfb4bd0c7b5fc430ab70d">&#9670;&nbsp;</a></span>setUpperBound()</h2>
  691. <div class="memitem">
  692. <div class="memproto">
  693. <table class="memname">
  694. <tr>
  695. <td class="memname">void QwtScaleDiv::setUpperBound </td>
  696. <td>(</td>
  697. <td class="paramtype">double&#160;</td>
  698. <td class="paramname"><em>upperBound</em></td><td>)</td>
  699. <td></td>
  700. </tr>
  701. </table>
  702. </div><div class="memdoc">
  703. <p>Set the second boundary</p>
  704. <dl class="params"><dt>Parameters</dt><dd>
  705. <table class="params">
  706. <tr><td class="paramname">upperBound</td><td>Second boundary </td></tr>
  707. </table>
  708. </dd>
  709. </dl>
  710. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound()</a>, <a class="el" href="class_qwt_scale_div.html#a7d334df11402bf3a5146a8232144bdf8">setLowerBound()</a> </dd></dl>
  711. </div>
  712. </div>
  713. <a id="a838db100c7f0f8454bf8559e89cb4d41"></a>
  714. <h2 class="memtitle"><span class="permalink"><a href="#a838db100c7f0f8454bf8559e89cb4d41">&#9670;&nbsp;</a></span>ticks()</h2>
  715. <div class="memitem">
  716. <div class="memproto">
  717. <table class="memname">
  718. <tr>
  719. <td class="memname">QList&lt; double &gt; QwtScaleDiv::ticks </td>
  720. <td>(</td>
  721. <td class="paramtype">int&#160;</td>
  722. <td class="paramname"><em>type</em></td><td>)</td>
  723. <td> const</td>
  724. </tr>
  725. </table>
  726. </div><div class="memdoc">
  727. <p>Return a list of ticks</p>
  728. <dl class="params"><dt>Parameters</dt><dd>
  729. <table class="params">
  730. <tr><td class="paramname">type</td><td>MinorTick, MediumTick or MajorTick </td></tr>
  731. </table>
  732. </dd>
  733. </dl>
  734. <dl class="section return"><dt>Returns</dt><dd>Tick list </dd></dl>
  735. </div>
  736. </div>
  737. <a id="a5378d436a44ca78294e4d421228e5b6c"></a>
  738. <h2 class="memtitle"><span class="permalink"><a href="#a5378d436a44ca78294e4d421228e5b6c">&#9670;&nbsp;</a></span>upperBound()</h2>
  739. <div class="memitem">
  740. <div class="memproto">
  741. <table class="memname">
  742. <tr>
  743. <td class="memname">double QwtScaleDiv::upperBound </td>
  744. <td>(</td>
  745. <td class="paramname"></td><td>)</td>
  746. <td> const</td>
  747. </tr>
  748. </table>
  749. </div><div class="memdoc">
  750. <dl class="section return"><dt>Returns</dt><dd>upper bound </dd></dl>
  751. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound()</a> </dd></dl>
  752. </div>
  753. </div>
  754. </div><!-- contents -->
  755. </div><!-- doc-content -->
  756. <!-- start footer part -->
  757. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  758. <ul>
  759. <li class="navelem"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a></li>
  760. <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>
  761. </ul>
  762. </div>
  763. </body>
  764. </html>