qwtchangelog.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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: What&#39;s new in Qwt 6.1</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('qwtchangelog.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="PageDoc"><div class="header">
  83. <div class="headertitle">
  84. <div class="title">What's new in Qwt 6.1 </div> </div>
  85. </div><!--header-->
  86. <div class="contents">
  87. <div class="toc"><h3>Table of Contents</h3>
  88. <ul><li class="level1"><a href="#ITEMS">New plot items</a></li>
  89. <li class="level1"><a href="#SCALES">Scales beyond linear and logarithmic transformations</a><ul><li class="level2"><a href="#DATETIME">Datetime scales</a></li>
  90. </ul>
  91. </li>
  92. <li class="level1"><a href="#CONTROLS">Redesign of the dial and meter widgets</a></li>
  93. <li class="level1"><a href="#OPENGL">Basic support for an OpenGL plot canvas</a></li>
  94. <li class="level1"><a href="#LEGEND">A new system for plot legends</a></li>
  95. <li class="level1"><a href="#GRAPHIC">Off-screen paint device for vector graphics</a></li>
  96. <li class="level1"><a href="#OVERLAY">QwtWidgetOverlay</a></li>
  97. <li class="level1"><a href="#SYMBOL">QwtSymbol</a></li>
  98. <li class="level1"><a href="#PLOTCURVE">QwtPlotCurve</a></li>
  99. <li class="level1"><a href="#PLOT">QwtPlot</a></li>
  100. <li class="level1"><a href="#OTHER">Other</a><ul><li class="level2"><a href="#SCALEDIV">QwtScaleDiv</a></li>
  101. <li class="level2"><a href="#SCALEENGINE">QwtScaleEngine</a></li>
  102. <li class="level2"><a href="#PLOTLAYOUT">QwtPlotLayout</a></li>
  103. <li class="level2"><a href="#PLOTCANVAS">QwtPlotCanvas</a></li>
  104. <li class="level2"><a href="#OTHERS">Other changes</a></li>
  105. </ul>
  106. </li>
  107. <li class="level1"><a href="#CLASSES">Summary of the new classes</a></li>
  108. </ul>
  109. </div>
  110. <div class="textblock"><h1><a class="anchor" id="ITEMS"></a>
  111. New plot items</h1>
  112. <ul>
  113. <li><a class="el" href="class_qwt_plot_bar_chart.html" title="QwtPlotBarChart displays a series of a values as bars.">QwtPlotBarChart</a><br />
  114. Bar chart, see "examples/distrowatch"</li>
  115. <li><a class="el" href="class_qwt_plot_multi_bar_chart.html" title="QwtPlotMultiBarChart displays a series of a samples that consist each of a set of values.">QwtPlotMultiBarChart</a><br />
  116. Chart of grouped bars - stacked or aligned side by side. See "examples/barchart"</li>
  117. <li><a class="el" href="class_qwt_plot_trading_curve.html" title="QwtPlotTradingCurve illustrates movements in the price of a financial instrument over time.">QwtPlotTradingCurve</a><br />
  118. Candlestick or OHLC charts typically used to describe price movements over time. See "examples/stockchart"</li>
  119. <li><a class="el" href="class_qwt_plot_shape_item.html" title="A plot item, which displays any graphical shape, that can be defined by a QPainterPath.">QwtPlotShapeItem</a><br />
  120. A plot item to display rectangles, circles, polygons and all other type of shapes ( built from intersections or unifications ), that can be expressed by a QPainterPath. See "examples/itemeditor"</li>
  121. <li><a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas.">QwtPlotLegendItem</a><br />
  122. A legend on the plot canvas. See "examples/legends"</li>
  123. <li><a class="el" href="class_qwt_plot_zone_item.html" title="A plot item, which displays a zone.">QwtPlotZoneItem</a><br />
  124. A horizontal or vertical section</li>
  125. <li><a class="el" href="class_qwt_plot_text_label.html" title="A plot item, which displays a text label.">QwtPlotTextLabel</a><br />
  126. In opposite to a <a class="el" href="class_qwt_plot_marker.html" title="A class for drawing markers.">QwtPlotMarker</a> the text is not aligned to a plot coordinate but according to the geometry of the canvas ( f.e top/centered for a title ). See "playground/curvetracker".</li>
  127. </ul>
  128. <h1><a class="anchor" id="SCALES"></a>
  129. Scales beyond linear and logarithmic transformations</h1>
  130. <p>QwtScaleTransformation has been replaced by <a class="el" href="class_qwt_transform.html" title="A transformation between coordinate systems.">QwtTransform</a> and its derived classes:</p>
  131. <ul>
  132. <li><a class="el" href="class_qwt_transform.html" title="A transformation between coordinate systems.">QwtTransform</a></li>
  133. <li><a class="el" href="class_qwt_null_transform.html" title="Null transformation.">QwtNullTransform</a></li>
  134. <li><a class="el" href="class_qwt_log_transform.html" title="Logarithmic transformation.">QwtLogTransform</a></li>
  135. <li><a class="el" href="class_qwt_power_transform.html" title="A transformation using pow()">QwtPowerTransform</a></li>
  136. </ul>
  137. <p>Individual transformations ( f.e. different scaling for special sections ) can be implemented by overloading <a class="el" href="class_qwt_transform.html" title="A transformation between coordinate systems.">QwtTransform</a> ( see playground/scaleengine ).</p>
  138. <p><a class="el" href="class_qwt_linear_scale_engine.html" title="A scale engine for linear scales.">QwtLinearScaleEngine</a> and <a class="el" href="class_qwt_log_scale_engine.html" title="A scale engine for logarithmic scales.">QwtLogScaleEngine</a> are not limited to base 10 anymore.</p>
  139. <h2><a class="anchor" id="DATETIME"></a>
  140. Datetime scales</h2>
  141. <p>A set of a new classes for displaying datetime values:</p>
  142. <ul>
  143. <li><a class="el" href="class_qwt_date.html" title="A collection of methods around date/time values.">QwtDate</a><br />
  144. A collection of methods to convert between QDateTime and doubles</li>
  145. <li><a class="el" href="class_qwt_date_scale_engine.html" title="A scale engine for date/time values.">QwtDateScaleEngine</a><br />
  146. A scale engine that aligns and finds ticks in terms of datetime units.</li>
  147. <li><a class="el" href="class_qwt_date_scale_draw.html" title="A class for drawing datetime scales.">QwtDateScaleDraw</a><br />
  148. A scale draw mapping values to datetime strings.</li>
  149. </ul>
  150. <p>Scales for Qt::UTC and Qt::LocalTime are supported.</p>
  151. <h1><a class="anchor" id="CONTROLS"></a>
  152. Redesign of the dial and meter widgets</h1>
  153. <p>Many parts of the class design of the dial and meter widgets were left over from the 90s ( Qwt 0.2, Qt 1.1 ).</p>
  154. <p>The derivation tree is simpler and more logical:</p>
  155. <ul>
  156. <li><a class="el" href="class_qwt_abstract_scale.html" title="An abstract base class for widgets having a scale.">QwtAbstractScale</a> is a QWidget</li>
  157. <li><a class="el" href="class_qwt_abstract_slider.html" title="An abstract base class for slider widgets with a scale.">QwtAbstractSlider</a> is a <a class="el" href="class_qwt_abstract_scale.html" title="An abstract base class for widgets having a scale.">QwtAbstractScale</a>. ( for sliders without scales QAbstractSlider should be the base class )</li>
  158. <li><a class="el" href="class_qwt_thermo.html" title="The Thermometer Widget.">QwtThermo</a> is also a <a class="el" href="class_qwt_abstract_scale.html" title="An abstract base class for widgets having a scale.">QwtAbstractScale</a></li>
  159. <li><a class="el" href="class_qwt_dial.html" title="QwtDial class provides a rounded range control.">QwtDial</a>, <a class="el" href="class_qwt_knob.html" title="The Knob Widget.">QwtKnob</a>, <a class="el" href="class_qwt_slider.html" title="The Slider Widget.">QwtSlider</a> are derived from <a class="el" href="class_qwt_abstract_slider.html" title="An abstract base class for slider widgets with a scale.">QwtAbstractSlider</a></li>
  160. <li><a class="el" href="class_qwt_counter.html" title="The Counter Widget.">QwtCounter</a> is derived from QWidget</li>
  161. </ul>
  162. <p>QwtDoubleRange has been removed.</p>
  163. <p>All classes use the terminology known from QAbstractSlider - as far as possible. The extended <a class="el" href="qwtchangelog.html#SCALES">system for scales</a> is completely supported.</p>
  164. <h1><a class="anchor" id="OPENGL"></a>
  165. Basic support for an OpenGL plot canvas</h1>
  166. <p><a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a> offers the option to draw plot items using an OpenGL paint engine ( QPaintEngine::OpenGL/OpenGL2 ), This is not what could be implemented with native OpenGL, but it offers hardware acceleration in environments, where the raster paint engine is the only option. ( f.e Qt4/Windows, or Qt5 on all platforms ).</p>
  167. <p><a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a> is in an experimental state and is not recommended for average use cases.</p>
  168. <h1><a class="anchor" id="LEGEND"></a>
  169. A new system for plot legends</h1>
  170. <p><a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> has been decoupled from <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> and can be replaced by application specific implementations. Plot items and the legend exchange the information using <a class="el" href="class_qwt_legend_data.html" title="Attributes of an entry on a legend.">QwtLegendData</a>.</p>
  171. <p><a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas.">QwtPlotLegendItem</a> is a new plot item that displays a legend on the plot canvas.</p>
  172. <p>The following examples demonstrate how to use the new system:</p>
  173. <ul>
  174. <li>examples/legends<br />
  175. shows how to use the new legend system</li>
  176. <li>examples/stockchart<br />
  177. implementats a QTreeView with checkable items as legend</li>
  178. </ul>
  179. <h1><a class="anchor" id="GRAPHIC"></a>
  180. Off-screen paint device for vector graphics</h1>
  181. <p><a class="el" href="class_qwt_graphic.html" title="A paint device for scalable graphics.">QwtGraphic</a> can be copied like QImage or QPixmap but is scalable like QSvgGenerator. It is implemented as a record/replay paint device like QPicture.</p>
  182. <h1><a class="anchor" id="OVERLAY"></a>
  183. QwtWidgetOverlay</h1>
  184. <p><a class="el" href="class_qwt_widget_overlay.html" title="An overlay for a widget.">QwtWidgetOverlay</a> is a base class for implementing widget overlays - primarily used for use cases like graphical editors or running cursors for the plot canvas.</p>
  185. <p>The following examples show how to use overlays:</p>
  186. <ul>
  187. <li>examples/itemeditor</li>
  188. <li>examples/curvetracker</li>
  189. </ul>
  190. <p><a class="el" href="class_qwt_picker.html" title="QwtPicker provides selections on a widget.">QwtPicker</a> ( -&gt; <a class="el" href="class_qwt_plot_picker.html" title="QwtPlotPicker provides selections on a plot canvas.">QwtPlotPicker</a>, <a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a> ) internally uses <a class="el" href="class_qwt_widget_overlay.html" title="An overlay for a widget.">QwtWidgetOverlay</a> now, making it easier to implement individual rubber bands.</p>
  191. <h1><a class="anchor" id="SYMBOL"></a>
  192. QwtSymbol</h1>
  193. <p>New symbol types have been introduced:</p>
  194. <ul>
  195. <li><a class="el" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa3cc8fec7843b850f3cde81a6b04394c">QwtSymbol::Path</a></li>
  196. <li><a class="el" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa45c8273247748316e5dd359b2d00216c">QwtSymbol::Pixmap</a></li>
  197. <li><a class="el" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa24a49671ffa302f19f28a5c56c6ec0e">QwtSymbol::Graphic</a></li>
  198. <li><a class="el" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa6e9400c5e295122c0fa825d40d13bb73">QwtSymbol::SvgDocument</a></li>
  199. </ul>
  200. <p><a class="el" href="class_qwt_symbol.html" title="A class for drawing symbols.">QwtSymbol</a> autodetect the most performant paint strategy for a paint device what is in most situations using a QPixmap cache.</p>
  201. <p><a class="el" href="class_qwt_symbol.html#a78643c91d94690b91745f10f0601579e" title="Set and enable a pin point.">QwtSymbol::setPinPoint()</a> allows one to align the symbol individually, f.e to the position of the peak of an arrow.</p>
  202. <h1><a class="anchor" id="PLOTCURVE"></a>
  203. QwtPlotCurve</h1>
  204. <p>Some optimizations that got lost with introducing the floating point based render code with Qwt 6.0 have been reenabled. Other specific optimizations have been added.</p>
  205. <p>New paint attributes:</p>
  206. <ul>
  207. <li><a class="el" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391">QwtPlotCurve::FilterPoints</a></li>
  208. <li><a class="el" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a154c720d852e71b7909adf5e56a3500d">QwtPlotCurve::MinimizeMemory</a></li>
  209. <li><a class="el" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a5e80434a35db4325ef8cdcb4dcb52282">QwtPlotCurve::ImageBuffer</a></li>
  210. </ul>
  211. <p>QwtPlotCurve::CacheSymbols has been removed, as caching is implemented in <a class="el" href="class_qwt_symbol.html" title="A class for drawing symbols.">QwtSymbol</a> now. <br />
  212. </p>
  213. <p><a class="el" href="class_qwt_plot_curve.html#a9c1ee98502ca107c9fa0edfdd0205e58" title="Draw lines.">QwtPlotCurve::drawLines()</a>, <a class="el" href="class_qwt_plot_curve.html#a48871008ee333f0887ff0d225645b332">QwtPlotCurve::drawDots()</a>, <a class="el" href="class_qwt_plot_curve.html#af830c84cdcfa96f33432317e79dece3e">QwtPlotCurve::drawSteps()</a> and <a class="el" href="class_qwt_plot_curve.html#a5894e31d4fb8304021e3419ab8c1c999">QwtPlotCurve::drawSticks()</a> are virtual now.</p>
  214. <h1><a class="anchor" id="PLOT"></a>
  215. QwtPlot</h1>
  216. <p>A footer similar to a title has been added.</p>
  217. <p>QwtPlot::ExternalLegend is obsolete with the new <a class="el" href="qwtchangelog.html#LEGEND">system for legends</a>. The signals QwtPlot::legendClicked(), QwtPlot::legendChecked() have been removed. Applications need to connect to <a class="el" href="class_qwt_legend.html#a26619e20d875f1e8c666b982a897244b">QwtLegend::clicked()</a> and <a class="el" href="class_qwt_legend.html#ae54179a767337c154beaa826c57dda87">QwtLegend::checked()</a>.</p>
  218. <p>To support using an OpenGL canvas <a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas</a> has been added. This has 2 important implications for the application code:</p>
  219. <ul>
  220. <li><a class="el" href="class_qwt_plot.html#a53f836bb4ec09c766e3d871ea4be28f7">QwtPlot::canvas()</a> returns QWidget and needs to be casted, when using methods of <a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a>.</li>
  221. <li><a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> can be created and assigned in application code, what makes it possible to derive and overload methods.</li>
  222. </ul>
  223. <p>The initialization of a plot canvas with Qwt 6.1 will probably look like this:</p>
  224. <div class="fragment"><div class="line"><a class="code" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a>* canvas = <span class="keyword">new</span> <a class="code" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a>();</div>
  225. <div class="line">canvas-&gt;setXY( ... );</div>
  226. <div class="line">...</div>
  227. <div class="line"> </div>
  228. <div class="line"><a class="code" href="class_qwt_plot_canvas.html#a1b720b99dc1b686f58e789b13f339f63">plot</a>-&gt;<a class="code" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf">setCanvas</a>( canvas );</div>
  229. </div><!-- fragment --><p>To have a consistent API <a class="el" href="class_qwt_plot.html#a08e258f9ba498662a8be9a559c9c7e44" title="Assign a new plot layout.">QwtPlot::setPlotLayout()</a> has been added,</p>
  230. <h1><a class="anchor" id="OTHER"></a>
  231. Other</h1>
  232. <h2><a class="anchor" id="SCALEDIV"></a>
  233. QwtScaleDiv</h2>
  234. <p>The following methods have been added:</p>
  235. <ul>
  236. <li><a class="el" href="class_qwt_scale_div.html#ab096012b8e2882ec8abbdcf397564ce4">QwtScaleDiv::inverted()</a></li>
  237. <li><a class="el" href="class_qwt_scale_div.html#a0f4389e6d472a1fad5ea6b3fbca8648e">QwtScaleDiv::bounded()</a></li>
  238. <li><a class="el" href="class_qwt_scale_div.html#acd381e04ff528149586a8bdf0725d5e1" title="Check if the scale division is empty( lowerBound() == upperBound() )">QwtScaleDiv::isEmpty()</a></li>
  239. <li><a class="el" href="class_qwt_scale_div.html#aea9a817b912f3b6e939850e0345e73a4" title="Check if the scale division is increasing( lowerBound() &lt;= upperBound() )">QwtScaleDiv::isIncreasing()</a></li>
  240. <li>QDebug operator</li>
  241. </ul>
  242. <p>The following methods have been removed:</p>
  243. <ul>
  244. <li>QwtScaleDiv::isValid(), QwtScaleDiv::invalidate()<br />
  245. The valid state was left over from early Qwt versions indicating a state of the autoscaler.</li>
  246. </ul>
  247. <h2><a class="anchor" id="SCALEENGINE"></a>
  248. QwtScaleEngine</h2>
  249. <p>The following methods have been added:</p>
  250. <ul>
  251. <li><a class="el" href="class_qwt_scale_engine.html#afdabe4fd2a89b7cd5a21cdc9ac2269d6">QwtScaleEngine::setBase()</a></li>
  252. <li><a class="el" href="class_qwt_scale_engine.html#ad063f4bb947996191be5c2a5fa0dbaf6">QwtScaleEngine::setTransformation()</a></li>
  253. </ul>
  254. <h2><a class="anchor" id="PLOTLAYOUT"></a>
  255. QwtPlotLayout</h2>
  256. <p>The following flags have been added:</p>
  257. <ul>
  258. <li><a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da00feaacfa819204f09074fc9b128b22c" title="Ignore the title.">QwtPlotLayout::IgnoreTitle</a></li>
  259. <li><a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da132d4fc728c0826a269a143f2d655215" title="Ignore the footer.">QwtPlotLayout::IgnoreFooter</a></li>
  260. <li><a class="el" href="class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500dc35096d67">QwtPlotLayout::setAlignCanvasToScale()</a></li>
  261. </ul>
  262. <h2><a class="anchor" id="PLOTCANVAS"></a>
  263. QwtPlotCanvas</h2>
  264. <p>Rounded borders ( like with style sheets ) can configured using <a class="el" href="class_qwt_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">QwtPlotCanvas::setBorderRadius()</a>;</p>
  265. <h2><a class="anchor" id="OTHERS"></a>
  266. Other changes</h2>
  267. <ul>
  268. <li><a class="el" href="class_qwt_weeding_curve_fitter.html" title="A curve fitter implementing Douglas and Peucker algorithm.">QwtWeedingCurveFitter</a><br />
  269. <a class="el" href="class_qwt_weeding_curve_fitter.html#a9f17a819447cba0e733bd71d90ee2766">QwtWeedingCurveFitter::setChunkSize()</a> has been added, with drastic performance improvements for huge sets of points.</li>
  270. <li><a class="el" href="class_qwt_plot_renderer.html" title="Renderer for exporting a plot to a document, a printer or anything else, that is supported by QPainte...">QwtPlotRenderer</a> The frame of the plot canvas can be rendered, what makes the result even closer to WYSWYG. <a class="el" href="class_qwt_plot_renderer.html#ac1912ef59ba1a3085f87c0ab49cbcd8b" title="Execute a file dialog and render the plot to the selected file.">QwtPlotRenderer::exportTo()</a> has been added.</li>
  271. <li><a class="el" href="class_qwt_system_clock.html" title="QwtSystemClock provides high resolution clock time functions.">QwtSystemClock</a> For Qt &gt;= 4.9 <a class="el" href="class_qwt_system_clock.html" title="QwtSystemClock provides high resolution clock time functions.">QwtSystemClock</a> uses QElapsedTimer internally. As it doesn't support a similar feature, QwtSystemClock::precision() has been removed.</li>
  272. <li>QwtPlotAbstractSeriesItem<br />
  273. QwtPlotAbstractSeriesItem has been split into <a class="el" href="class_qwt_plot_series_item.html" title="Base class for plot items representing a series of samples.">QwtPlotSeriesItem</a> and QwtPlotAbstractSeriesStore.</li>
  274. <li><a class="el" href="class_qwt_text.html" title="A class representing a text.">QwtText</a><br />
  275. A metatype declaration has been added, so that <a class="el" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> can be used with QVariant.</li>
  276. <li><a class="el" href="class_qwt_event_pattern.html" title="A collection of event patterns.">QwtEventPattern</a>, <a class="el" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget.">QwtPanner</a>, <a class="el" href="class_qwt_magnifier.html" title="QwtMagnifier provides zooming, by magnifying in steps.">QwtMagnifier</a><br />
  277. Forgotten Qt3 leftovers have been fixed: int -&gt; Qt::KeyboardModifiers</li>
  278. <li>QPen Qt5/Qt4 incompatibility The default pen width for Qt5 is 1, what makes it a non cosmetic. To hide this nasty incompatibility several setPen() methods have been added the build pens with a width 0. See QPen::isCosmetic(),</li>
  279. <li>qwtUpperSampleIndex()<br />
  280. A binary search algorithm for sorted samples</li>
  281. <li><a class="el" href="class_qwt_matrix_raster_data.html" title="A class representing a matrix of values as raster data.">QwtMatrixRasterData</a> <a class="el" href="class_qwt_matrix_raster_data.html#a4601944bceabd921cdaa544180576274" title="Change a single value in the matrix.">QwtMatrixRasterData::setValue()</a> has been added</li>
  282. <li><a class="el" href="class_qwt_picker.html" title="QwtPicker provides selections on a widget.">QwtPicker</a> QwtPicker::rubberBandWidget(), QwtPicker::trackerWidget() have been replaced by <a class="el" href="class_qwt_picker.html#a46753ab51be871db6311654748c85d17">QwtPicker::rubberBandOverlay()</a>, <a class="el" href="class_qwt_picker.html#a8814b846b7fd8998299369ff5eb3379c">QwtPicker::trackerOverlay()</a>. <a class="el" href="class_qwt_picker.html#a6b4215fbc8d2e8feda6a4e327396bb2a">QwtPicker::rubberBandMask()</a> has been added. QwtPicker::pickRect() has been replaced by <a class="el" href="class_qwt_picker.html#a962f2a31b8268efd70ade6061058933a">QwtPicker::pickArea()</a></li>
  283. <li><a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas.">QwtPlotItem</a> <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66" title="Plot Item Interests.">QwtPlotItem::ItemInterest</a> has been added. <a class="el" href="class_qwt_plot_item.html#a188ae18fbbce9adcf259ebe2f0de1f6b">QwtPlotItem::setRenderThreadCount()</a> was shifted from <a class="el" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data.">QwtPlotRasterItem</a>.</li>
  284. <li>...</li>
  285. </ul>
  286. <h1><a class="anchor" id="CLASSES"></a>
  287. Summary of the new classes</h1>
  288. <ul>
  289. <li><a class="el" href="class_qwt_abstract_legend.html" title="Abstract base class for legend widgets.">QwtAbstractLegend</a></li>
  290. <li><a class="el" href="class_qwt_date.html" title="A collection of methods around date/time values.">QwtDate</a></li>
  291. <li><a class="el" href="class_qwt_date_scale_draw.html" title="A class for drawing datetime scales.">QwtDateScaleDraw</a></li>
  292. <li><a class="el" href="class_qwt_date_scale_engine.html" title="A scale engine for date/time values.">QwtDateScaleEngine</a></li>
  293. <li><a class="el" href="class_qwt_graphic.html" title="A paint device for scalable graphics.">QwtGraphic</a></li>
  294. <li><a class="el" href="class_qwt_legend_data.html" title="Attributes of an entry on a legend.">QwtLegendData</a></li>
  295. <li><a class="el" href="class_qwt_legend_label.html" title="A widget representing something on a QwtLegend.">QwtLegendLabel</a></li>
  296. <li><a class="el" href="class_qwt_painter_command.html">QwtPainterCommand</a></li>
  297. <li><a class="el" href="class_qwt_pixel_matrix.html" title="A bit field corresponding to the pixels of a rectangle.">QwtPixelMatrix</a></li>
  298. <li><a class="el" href="class_qwt_plot_abstract_bar_chart.html" title="Abstract base class for bar chart items.">QwtPlotAbstractBarChart</a></li>
  299. <li><a class="el" href="class_qwt_plot_bar_chart.html" title="QwtPlotBarChart displays a series of a values as bars.">QwtPlotBarChart</a></li>
  300. <li><a class="el" href="class_qwt_plot_multi_bar_chart.html" title="QwtPlotMultiBarChart displays a series of a samples that consist each of a set of values.">QwtPlotMultiBarChart</a></li>
  301. <li><a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a></li>
  302. <li><a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas.">QwtPlotLegendItem</a></li>
  303. <li><a class="el" href="class_qwt_plot_shape_item.html" title="A plot item, which displays any graphical shape, that can be defined by a QPainterPath.">QwtPlotShapeItem</a></li>
  304. <li><a class="el" href="class_qwt_plot_text_label.html" title="A plot item, which displays a text label.">QwtPlotTextLabel</a></li>
  305. <li><a class="el" href="class_qwt_plot_trading_curve.html" title="QwtPlotTradingCurve illustrates movements in the price of a financial instrument over time.">QwtPlotTradingCurve</a></li>
  306. <li><a class="el" href="class_qwt_plot_zone_item.html" title="A plot item, which displays a zone.">QwtPlotZoneItem</a></li>
  307. <li>QwtPointData</li>
  308. <li><a class="el" href="class_qwt_point_mapper.html" title="A helper class for translating a series of points.">QwtPointMapper</a></li>
  309. <li><a class="el" href="class_qwt_transform.html" title="A transformation between coordinate systems.">QwtTransform</a>, <a class="el" href="class_qwt_null_transform.html" title="Null transformation.">QwtNullTransform</a>, <a class="el" href="class_qwt_log_transform.html" title="Logarithmic transformation.">QwtLogTransform</a>, <a class="el" href="class_qwt_power_transform.html" title="A transformation using pow()">QwtPowerTransform</a></li>
  310. <li><a class="el" href="class_qwt_widget_overlay.html" title="An overlay for a widget.">QwtWidgetOverlay</a> </li>
  311. </ul>
  312. </div></div><!-- contents -->
  313. </div><!-- PageDoc -->
  314. </div><!-- doc-content -->
  315. <div class="ttc" id="aclass_qwt_plot_canvas_html_a1b720b99dc1b686f58e789b13f339f63"><div class="ttname"><a href="class_qwt_plot_canvas.html#a1b720b99dc1b686f58e789b13f339f63">QwtPlotCanvas::plot</a></div><div class="ttdeci">QwtPlot * plot()</div><div class="ttdoc">Return parent plot widget.</div><div class="ttdef"><b>Definition:</b> qwt_plot_canvas.cpp:560</div></div>
  316. <div class="ttc" id="aclass_qwt_plot_html_aea67c885034219789b360c0e624bfeaf"><div class="ttname"><a href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf">QwtPlot::setCanvas</a></div><div class="ttdeci">void setCanvas(QWidget *)</div><div class="ttdoc">Set the drawing canvas of the plot widget.</div><div class="ttdef"><b>Definition:</b> qwt_plot.cpp:215</div></div>
  317. <div class="ttc" id="aclass_qwt_plot_canvas_html"><div class="ttname"><a href="class_qwt_plot_canvas.html">QwtPlotCanvas</a></div><div class="ttdoc">Canvas of a QwtPlot.</div><div class="ttdef"><b>Definition:</b> qwt_plot_canvas.h:28</div></div>
  318. <!-- start footer part -->
  319. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  320. <ul>
  321. <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>
  322. </ul>
  323. </div>
  324. </body>
  325. </html>