218 lines
27 KiB
HTML
218 lines
27 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Qwt User's Guide: qwt_plot_graphicitem.cpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Qwt User's Guide
|
|
 <span id="projectnumber">6.2.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('qwt__plot__graphicitem_8cpp_source.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">qwt_plot_graphicitem.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/******************************************************************************</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Qwt Widget Library</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 1997 Josef Wilgen</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (C) 2002 Uwe Rathmann</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *****************************************************************************/</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "qwt_plot_graphicitem.h"</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "qwt_scale_map.h"</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "qwt_painter.h"</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "qwt_text.h"</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "qwt_graphic.h"</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">class </span>QwtPlotGraphicItem::PrivateData</div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  QRectF <a class="code" href="class_qwt_plot_graphic_item.html#a596c93fc0aa93aa846d18f5222da2e60">boundingRect</a>;</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> <a class="code" href="class_qwt_plot_graphic_item.html#a5251f52a93e1fca5d3b59b086bc4b89e">graphic</a>;</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> };</div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#a91b7a87b173e150ecaf67f3922241a51"> 32</a></span> <a class="code" href="class_qwt_plot_graphic_item.html#a91b7a87b173e150ecaf67f3922241a51">QwtPlotGraphicItem::QwtPlotGraphicItem</a>( <span class="keyword">const</span> QString& title )</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  : <a class="code" href="class_qwt_plot_item.html">QwtPlotItem</a>( <a class="code" href="class_qwt_text.html">QwtText</a>( title ) )</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  init();</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#af2ea0317b358a07832bcd0b0155bbb8d"> 47</a></span> <a class="code" href="class_qwt_plot_graphic_item.html#a91b7a87b173e150ecaf67f3922241a51">QwtPlotGraphicItem::QwtPlotGraphicItem</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>& title )</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  : <a class="code" href="class_qwt_plot_item.html">QwtPlotItem</a>( title )</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  init();</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#a3c50f5ba5e9bf458926ad43038ab19ea"> 54</a></span> <a class="code" href="class_qwt_plot_graphic_item.html#a3c50f5ba5e9bf458926ad43038ab19ea">QwtPlotGraphicItem::~QwtPlotGraphicItem</a>()</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> {</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">delete</span> m_data;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> }</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keywordtype">void</span> QwtPlotGraphicItem::init()</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  m_data = <span class="keyword">new</span> PrivateData();</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  m_data->boundingRect = <a class="code" href="class_qwt_plot_item.html#aebc6a6627f293f62e1d07006b11912cc">QwtPlotItem::boundingRect</a>();</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a>, <span class="keyword">true</span> );</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a>, <span class="keyword">false</span> );</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">setZ</a>( 8.0 );</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> }</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#af1cea06da85d37cd500d3bad73ebef85"> 71</a></span> <span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_graphic_item.html#af1cea06da85d37cd500d3bad73ebef85">QwtPlotGraphicItem::rtti</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> <a class="code" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af7c213b8b6f59d4362cbf8c474fd5b5c">QwtPlotItem::Rtti_PlotGraphic</a>;</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#a21e216be940deb8b3f40d5427292dde6"> 82</a></span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_graphic_item.html#a21e216be940deb8b3f40d5427292dde6">QwtPlotGraphicItem::setGraphic</a>(</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> QRectF& rect, <span class="keyword">const</span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a>& graphic )</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> {</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  m_data->boundingRect = rect;</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  m_data->graphic = <a class="code" href="class_qwt_plot_graphic_item.html#a5251f52a93e1fca5d3b59b086bc4b89e">graphic</a>;</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> }</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#a5251f52a93e1fca5d3b59b086bc4b89e"> 96</a></span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> <a class="code" href="class_qwt_plot_graphic_item.html#a5251f52a93e1fca5d3b59b086bc4b89e">QwtPlotGraphicItem::graphic</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> m_data->graphic;</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#a596c93fc0aa93aa846d18f5222da2e60"> 102</a></span> QRectF <a class="code" href="class_qwt_plot_graphic_item.html#a596c93fc0aa93aa846d18f5222da2e60">QwtPlotGraphicItem::boundingRect</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> m_data->boundingRect;</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_qwt_plot_graphic_item.html#ad79ca92c20d2152df28278fb9ecba5bd"> 115</a></span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_graphic_item.html#ad79ca92c20d2152df28278fb9ecba5bd">QwtPlotGraphicItem::draw</a>( QPainter* painter,</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>& xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>& yMap,</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">const</span> QRectF& canvasRect )<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span> ( m_data->graphic.isEmpty() )</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  QRectF r = <a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a>( xMap, yMap, <a class="code" href="class_qwt_plot_graphic_item.html#a596c93fc0aa93aa846d18f5222da2e60">boundingRect</a>() );</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">if</span> ( !r.intersects( canvasRect ) )</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter ) )</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  r.setLeft ( qRound( r.left() ) );</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  r.setRight ( qRound( r.right() ) );</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  r.setTop ( qRound( r.top() ) );</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  r.setBottom ( qRound( r.bottom() ) );</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  m_data->graphic.render( painter, r );</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> }</div>
|
|
<div class="ttc" id="aclass_qwt_graphic_html"><div class="ttname"><a href="class_qwt_graphic.html">QwtGraphic</a></div><div class="ttdoc">A paint device for scalable graphics.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8h_source.html#l00075">qwt_graphic.h:76</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_painter_html_ae9af230df7bb8d40b802d4f3205a8631"><div class="ttname"><a href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a></div><div class="ttdeci">static bool roundingAlignment()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00183">qwt_painter.h:183</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_a21e216be940deb8b3f40d5427292dde6"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#a21e216be940deb8b3f40d5427292dde6">QwtPlotGraphicItem::setGraphic</a></div><div class="ttdeci">void setGraphic(const QRectF &rect, const QwtGraphic &)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00082">qwt_plot_graphicitem.cpp:82</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_a3c50f5ba5e9bf458926ad43038ab19ea"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#a3c50f5ba5e9bf458926ad43038ab19ea">QwtPlotGraphicItem::~QwtPlotGraphicItem</a></div><div class="ttdeci">virtual ~QwtPlotGraphicItem()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00054">qwt_plot_graphicitem.cpp:54</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_a5251f52a93e1fca5d3b59b086bc4b89e"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#a5251f52a93e1fca5d3b59b086bc4b89e">QwtPlotGraphicItem::graphic</a></div><div class="ttdeci">QwtGraphic graphic() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00096">qwt_plot_graphicitem.cpp:96</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_a596c93fc0aa93aa846d18f5222da2e60"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#a596c93fc0aa93aa846d18f5222da2e60">QwtPlotGraphicItem::boundingRect</a></div><div class="ttdeci">virtual QRectF boundingRect() const override</div><div class="ttdoc">Bounding rectangle of the item.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00102">qwt_plot_graphicitem.cpp:102</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_a91b7a87b173e150ecaf67f3922241a51"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#a91b7a87b173e150ecaf67f3922241a51">QwtPlotGraphicItem::QwtPlotGraphicItem</a></div><div class="ttdeci">QwtPlotGraphicItem(const QString &title=QString())</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00032">qwt_plot_graphicitem.cpp:32</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_ad79ca92c20d2152df28278fb9ecba5bd"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#ad79ca92c20d2152df28278fb9ecba5bd">QwtPlotGraphicItem::draw</a></div><div class="ttdeci">virtual void draw(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00115">qwt_plot_graphicitem.cpp:115</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_graphic_item_html_af1cea06da85d37cd500d3bad73ebef85"><div class="ttname"><a href="class_qwt_plot_graphic_item.html#af1cea06da85d37cd500d3bad73ebef85">QwtPlotGraphicItem::rtti</a></div><div class="ttdeci">virtual int rtti() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__graphicitem_8cpp_source.html#l00071">qwt_plot_graphicitem.cpp:71</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html"><div class="ttname"><a href="class_qwt_plot_item.html">QwtPlotItem</a></div><div class="ttdoc">Base class for items on the plot canvas.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00066">qwt_plot_item.h:67</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_a3967414c7542e267d0c2793f02be7241"><div class="ttname"><a href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">QwtPlotItem::legendChanged</a></div><div class="ttdeci">virtual void legendChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00491">qwt_plot_item.cpp:491</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_a57d90e4146133b59d589c71b3a643e82"><div class="ttname"><a href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">QwtPlotItem::setZ</a></div><div class="ttdeci">void setZ(double z)</div><div class="ttdoc">Set the z value.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00165">qwt_plot_item.cpp:165</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_a5a335be8ff488809a2cf7f4b734ad1b6"><div class="ttname"><a href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">QwtPlotItem::setItemAttribute</a></div><div class="ttdeci">void setItemAttribute(ItemAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00228">qwt_plot_item.cpp:228</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_ab149ac85e233ce9cedf2f2f2af871bf3af7c213b8b6f59d4362cbf8c474fd5b5c"><div class="ttname"><a href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af7c213b8b6f59d4362cbf8c474fd5b5c">QwtPlotItem::Rtti_PlotGraphic</a></div><div class="ttdeci">@ Rtti_PlotGraphic</div><div class="ttdoc">For QwtPlotGraphicItem, QwtPlotSvgItem.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00108">qwt_plot_item.h:108</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_ad956fdbce5b0721abccce6d09fe4d5ce"><div class="ttname"><a href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">QwtPlotItem::itemChanged</a></div><div class="ttdeci">virtual void itemChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00481">qwt_plot_item.cpp:481</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a></div><div class="ttdeci">@ Legend</div><div class="ttdoc">The item is represented on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00150">qwt_plot_item.h:150</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a></div><div class="ttdeci">@ AutoScale</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00157">qwt_plot_item.h:157</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_plot_item_html_aebc6a6627f293f62e1d07006b11912cc"><div class="ttname"><a href="class_qwt_plot_item.html#aebc6a6627f293f62e1d07006b11912cc">QwtPlotItem::boundingRect</a></div><div class="ttdeci">virtual QRectF boundingRect() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00568">qwt_plot_item.cpp:568</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_scale_map_html"><div class="ttname"><a href="class_qwt_scale_map.html">QwtScaleMap</a></div><div class="ttdoc">A scale map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00026">qwt_scale_map.h:27</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_scale_map_html_a504f1627e0e02ddac03d2ce46507b865"><div class="ttname"><a href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a></div><div class="ttdeci">double transform(double s) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00137">qwt_scale_map.h:137</a></div></div>
|
|
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_plot_graphicitem.cpp</b></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|