~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.2/doc/html/class_qwt_plot_grid.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-04-12 23:25:58 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090412232558-3bl06x785yr8xm8u
Tags: 5.1.2-1
* New upstream release.
* Bump compat/debhelper to 7.
* Bump Standards-Version to 3.8.1. No changes needed.
* Invert Maintainers and Uploaders field.
* Fix lintian warnings:
  - dh_clean _k deprecated.
  - missing dependency on libc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 
3
<title>Qwt User&apos;s Guide: QwtPlotGrid Class Reference</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.5.0 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
 
12
    <li><a href="files.html"><span>Files</span></a></li>
 
13
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
 
14
  </ul></div>
 
15
<div class="tabs">
 
16
  <ul>
 
17
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
18
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
19
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
20
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
21
  </ul></div>
 
22
<h1>QwtPlotGrid Class Reference</h1><!-- doxytag: class="QwtPlotGrid" --><!-- doxytag: inherits="QwtPlotItem" -->Inheritance diagram for QwtPlotGrid:<p><center><img src="class_qwt_plot_grid__inherit__graph.png" border="0" usemap="#_qwt_plot_grid__inherit__map" alt="Inheritance graph"></center>
 
23
<map name="_qwt_plot_grid__inherit__map">
 
24
<area href="class_qwt_plot_item.html" shape="rect" coords="43,83,139,107" alt="">
 
25
<area href="class_qwt_legend_item_manager.html" shape="rect" coords="7,8,175,32" alt="">
 
26
</map>
 
27
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtPlotGrid:<p><center><img src="class_qwt_plot_grid__coll__graph.png" border="0" usemap="#_qwt_plot_grid__coll__map" alt="Collaboration graph"></center>
 
28
<map name="_qwt_plot_grid__coll__map">
 
29
<area href="class_qwt_plot_item.html" shape="rect" coords="43,83,139,107" alt="">
 
30
<area href="class_qwt_legend_item_manager.html" shape="rect" coords="7,8,175,32" alt="">
 
31
</map>
 
32
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_plot_grid-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
 
33
A class which draws a coordinate grid. 
 
34
<p>
 
35
The <a class="el" href="class_qwt_plot_grid.html">QwtPlotGrid</a> class can be used to draw a coordinate grid. A coordinate grid consists of major and minor vertical and horizontal gridlines. The locations of the gridlines are determined by the X and Y scale divisions which can be assigned with <a class="el" href="class_qwt_plot_grid.html#eeb88397c2aaf5e763d57c898a2fcd13">setXDiv()</a> and <a class="el" href="class_qwt_plot_grid.html#9eb130275560bdaa65551e2f69232b72">setYDiv()</a>. The <a class="el" href="class_qwt_plot_grid.html#e9c6c4d3bf10c755ac74cc951ce0f676">draw()</a> member draws the grid within a bounding rectangle. 
 
36
<p>
 
37
 
 
38
<p>
 
39
Definition at line <a class="el" href="qwt__plot__grid_8h-source.html#l00034">34</a> of file <a class="el" href="qwt__plot__grid_8h-source.html">qwt_plot_grid.h</a>.<table border="0" cellpadding="0" cellspacing="0">
 
40
<tr><td></td></tr>
 
41
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
42
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#43001238f3024c15baa8ae61b29ae170">QwtPlotGrid</a> ()</td></tr>
 
43
 
 
44
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#f39443cd91b8a96a797af1d6b78bfab3">~QwtPlotGrid</a> ()</td></tr>
 
45
 
 
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#313040cb947200c91df7fa4f8019346c">rtti</a> () const</td></tr>
 
47
 
 
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#ba4de91f74f86e172e080fa62765bba8">enableX</a> (bool tf)</td></tr>
 
49
 
 
50
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#b9d70164c273da70d43f99d479a5343a">xEnabled</a> () const</td></tr>
 
51
 
 
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#0172d8af861495a94aa856af26ad786d">enableY</a> (bool tf)</td></tr>
 
53
 
 
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#6516e007e0211eae21b07a15f0a14234">yEnabled</a> () const</td></tr>
 
55
 
 
56
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#4106c58c9d463bd4ccd94e215cc246bb">enableXMin</a> (bool tf)</td></tr>
 
57
 
 
58
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#e2d1675536dcc22309f1995e8f7fec95">xMinEnabled</a> () const</td></tr>
 
59
 
 
60
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#21b26d5b6b0745ecdec12d6bdeb8ecb4">enableYMin</a> (bool tf)</td></tr>
 
61
 
 
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#03c33252cebd0fb29b51529fd9736157">yMinEnabled</a> () const</td></tr>
 
63
 
 
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#eeb88397c2aaf5e763d57c898a2fcd13">setXDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;sx)</td></tr>
 
65
 
 
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#b816b84c1c5854ea426e0a8b7a681090">xScaleDiv</a> () const</td></tr>
 
67
 
 
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#9eb130275560bdaa65551e2f69232b72">setYDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;sy)</td></tr>
 
69
 
 
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#379ca6af067fe88890876c89a3f37cdc">yScaleDiv</a> () const</td></tr>
 
71
 
 
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#d84a6b1110d593af76e5e777ae1e8bfe">setPen</a> (const QPen &amp;p)</td></tr>
 
73
 
 
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#c749a9ba8c2d05f4da83c6f6f2f8a0ec">setMajPen</a> (const QPen &amp;p)</td></tr>
 
75
 
 
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPen &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#db1b3e68547f46727f97437ab73630f8">majPen</a> () const</td></tr>
 
77
 
 
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#012823a76b8a1a586b0f4326164e8c14">setMinPen</a> (const QPen &amp;p)</td></tr>
 
79
 
 
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPen &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#8d7f601031a12efbe4763b405e9b4f31">minPen</a> () const</td></tr>
 
81
 
 
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#e9c6c4d3bf10c755ac74cc951ce0f676">draw</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, const QRect &amp;rect) const</td></tr>
 
83
 
 
84
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_grid.html#d15166f257160adc90b60b9e29d69edf">updateScaleDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;xMap, const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;yMap)</td></tr>
 
85
 
 
86
</table>
 
87
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
88
<a class="anchor" name="43001238f3024c15baa8ae61b29ae170"></a><!-- doxytag: member="QwtPlotGrid::QwtPlotGrid" ref="43001238f3024c15baa8ae61b29ae170" args="()" -->
 
89
<div class="memitem">
 
90
<div class="memproto">
 
91
      <table class="memname">
 
92
        <tr>
 
93
          <td class="memname">QwtPlotGrid::QwtPlotGrid           </td>
 
94
          <td>(</td>
 
95
          <td class="paramname">          </td>
 
96
          <td>&nbsp;)&nbsp;</td>
 
97
          <td width="100%"><code> [explicit]</code></td>
 
98
        </tr>
 
99
      </table>
 
100
</div>
 
101
<div class="memdoc">
 
102
 
 
103
<p>
 
104
Enables major grid, disables minor grid. 
 
105
<p>
 
106
 
 
107
<p>
 
108
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00042">42</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
109
<p>
 
110
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00145">QwtPlotItem::setZ()</a>.
 
111
</div>
 
112
</div><p>
 
113
<a class="anchor" name="f39443cd91b8a96a797af1d6b78bfab3"></a><!-- doxytag: member="QwtPlotGrid::~QwtPlotGrid" ref="f39443cd91b8a96a797af1d6b78bfab3" args="()" -->
 
114
<div class="memitem">
 
115
<div class="memproto">
 
116
      <table class="memname">
 
117
        <tr>
 
118
          <td class="memname">QwtPlotGrid::~QwtPlotGrid           </td>
 
119
          <td>(</td>
 
120
          <td class="paramname">          </td>
 
121
          <td>&nbsp;)&nbsp;</td>
 
122
          <td width="100%"><code> [virtual]</code></td>
 
123
        </tr>
 
124
      </table>
 
125
</div>
 
126
<div class="memdoc">
 
127
 
 
128
<p>
 
129
Destructor. 
 
130
<p>
 
131
 
 
132
<p>
 
133
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00050">50</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
134
</div>
 
135
</div><p>
 
136
<hr><h2>Member Function Documentation</h2>
 
137
<a class="anchor" name="313040cb947200c91df7fa4f8019346c"></a><!-- doxytag: member="QwtPlotGrid::rtti" ref="313040cb947200c91df7fa4f8019346c" args="() const" -->
 
138
<div class="memitem">
 
139
<div class="memproto">
 
140
      <table class="memname">
 
141
        <tr>
 
142
          <td class="memname">int QwtPlotGrid::rtti           </td>
 
143
          <td>(</td>
 
144
          <td class="paramname">          </td>
 
145
          <td>&nbsp;)&nbsp;</td>
 
146
          <td width="100%"> const<code> [virtual]</code></td>
 
147
        </tr>
 
148
      </table>
 
149
</div>
 
150
<div class="memdoc">
 
151
 
 
152
<p>
 
153
<dl class="return" compact><dt><b>Returns:</b></dt><dd>QwtPlotItem::Rtti_PlotGrid </dd></dl>
 
154
 
 
155
<p>
 
156
 
 
157
<p>
 
158
Reimplemented from <a class="el" href="class_qwt_plot_item.html#803613b24e745834b2115ee574dda610">QwtPlotItem</a>.
 
159
<p>
 
160
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00056">56</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
161
</div>
 
162
</div><p>
 
163
<a class="anchor" name="ba4de91f74f86e172e080fa62765bba8"></a><!-- doxytag: member="QwtPlotGrid::enableX" ref="ba4de91f74f86e172e080fa62765bba8" args="(bool tf)" -->
 
164
<div class="memitem">
 
165
<div class="memproto">
 
166
      <table class="memname">
 
167
        <tr>
 
168
          <td class="memname">void QwtPlotGrid::enableX           </td>
 
169
          <td>(</td>
 
170
          <td class="paramtype">bool&nbsp;</td>
 
171
          <td class="paramname"> <em>tf</em>          </td>
 
172
          <td>&nbsp;)&nbsp;</td>
 
173
          <td width="100%"></td>
 
174
        </tr>
 
175
      </table>
 
176
</div>
 
177
<div class="memdoc">
 
178
 
 
179
<p>
 
180
Enable or disable vertical gridlines. 
 
181
<p>
 
182
<dl compact><dt><b>Parameters:</b></dt><dd>
 
183
  <table border="0" cellspacing="2" cellpadding="0">
 
184
    <tr><td valign="top"></td><td valign="top"><em>tf</em>&nbsp;</td><td>Enable (true) or disable</td></tr>
 
185
  </table>
 
186
</dl>
 
187
<dl class="see" compact><dt><b>See also:</b></dt><dd>Minor gridlines can be enabled or disabled with <a class="el" href="class_qwt_plot_grid.html#4106c58c9d463bd4ccd94e215cc246bb">enableXMin()</a> </dd></dl>
 
188
 
 
189
<p>
 
190
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00068">68</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
191
<p>
 
192
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
193
</div>
 
194
</div><p>
 
195
<a class="anchor" name="b9d70164c273da70d43f99d479a5343a"></a><!-- doxytag: member="QwtPlotGrid::xEnabled" ref="b9d70164c273da70d43f99d479a5343a" args="() const" -->
 
196
<div class="memitem">
 
197
<div class="memproto">
 
198
      <table class="memname">
 
199
        <tr>
 
200
          <td class="memname">bool QwtPlotGrid::xEnabled           </td>
 
201
          <td>(</td>
 
202
          <td class="paramname">          </td>
 
203
          <td>&nbsp;)&nbsp;</td>
 
204
          <td width="100%"> const</td>
 
205
        </tr>
 
206
      </table>
 
207
</div>
 
208
<div class="memdoc">
 
209
 
 
210
<p>
 
211
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if vertical gridlines are enabled </dd></dl>
 
212
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#ba4de91f74f86e172e080fa62765bba8">enableX()</a> </dd></dl>
 
213
 
 
214
<p>
 
215
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00289">289</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
216
</div>
 
217
</div><p>
 
218
<a class="anchor" name="0172d8af861495a94aa856af26ad786d"></a><!-- doxytag: member="QwtPlotGrid::enableY" ref="0172d8af861495a94aa856af26ad786d" args="(bool tf)" -->
 
219
<div class="memitem">
 
220
<div class="memproto">
 
221
      <table class="memname">
 
222
        <tr>
 
223
          <td class="memname">void QwtPlotGrid::enableY           </td>
 
224
          <td>(</td>
 
225
          <td class="paramtype">bool&nbsp;</td>
 
226
          <td class="paramname"> <em>tf</em>          </td>
 
227
          <td>&nbsp;)&nbsp;</td>
 
228
          <td width="100%"></td>
 
229
        </tr>
 
230
      </table>
 
231
</div>
 
232
<div class="memdoc">
 
233
 
 
234
<p>
 
235
Enable or disable horizontal gridlines. 
 
236
<p>
 
237
<dl compact><dt><b>Parameters:</b></dt><dd>
 
238
  <table border="0" cellspacing="2" cellpadding="0">
 
239
    <tr><td valign="top"></td><td valign="top"><em>tf</em>&nbsp;</td><td>Enable (true) or disable </td></tr>
 
240
  </table>
 
241
</dl>
 
242
<dl class="see" compact><dt><b>See also:</b></dt><dd>Minor gridlines can be enabled or disabled with <a class="el" href="class_qwt_plot_grid.html#21b26d5b6b0745ecdec12d6bdeb8ecb4">enableYMin()</a> </dd></dl>
 
243
 
 
244
<p>
 
245
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00082">82</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
246
<p>
 
247
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
248
</div>
 
249
</div><p>
 
250
<a class="anchor" name="6516e007e0211eae21b07a15f0a14234"></a><!-- doxytag: member="QwtPlotGrid::yEnabled" ref="6516e007e0211eae21b07a15f0a14234" args="() const" -->
 
251
<div class="memitem">
 
252
<div class="memproto">
 
253
      <table class="memname">
 
254
        <tr>
 
255
          <td class="memname">bool QwtPlotGrid::yEnabled           </td>
 
256
          <td>(</td>
 
257
          <td class="paramname">          </td>
 
258
          <td>&nbsp;)&nbsp;</td>
 
259
          <td width="100%"> const</td>
 
260
        </tr>
 
261
      </table>
 
262
</div>
 
263
<div class="memdoc">
 
264
 
 
265
<p>
 
266
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if horizontal gridlines are enabled </dd></dl>
 
267
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#0172d8af861495a94aa856af26ad786d">enableY()</a> </dd></dl>
 
268
 
 
269
<p>
 
270
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00307">307</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
271
</div>
 
272
</div><p>
 
273
<a class="anchor" name="4106c58c9d463bd4ccd94e215cc246bb"></a><!-- doxytag: member="QwtPlotGrid::enableXMin" ref="4106c58c9d463bd4ccd94e215cc246bb" args="(bool tf)" -->
 
274
<div class="memitem">
 
275
<div class="memproto">
 
276
      <table class="memname">
 
277
        <tr>
 
278
          <td class="memname">void QwtPlotGrid::enableXMin           </td>
 
279
          <td>(</td>
 
280
          <td class="paramtype">bool&nbsp;</td>
 
281
          <td class="paramname"> <em>tf</em>          </td>
 
282
          <td>&nbsp;)&nbsp;</td>
 
283
          <td width="100%"></td>
 
284
        </tr>
 
285
      </table>
 
286
</div>
 
287
<div class="memdoc">
 
288
 
 
289
<p>
 
290
Enable or disable minor vertical gridlines. 
 
291
<p>
 
292
<dl compact><dt><b>Parameters:</b></dt><dd>
 
293
  <table border="0" cellspacing="2" cellpadding="0">
 
294
    <tr><td valign="top"></td><td valign="top"><em>tf</em>&nbsp;</td><td>Enable (true) or disable </td></tr>
 
295
  </table>
 
296
</dl>
 
297
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#ba4de91f74f86e172e080fa62765bba8">enableX()</a> </dd></dl>
 
298
 
 
299
<p>
 
300
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00096">96</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
301
<p>
 
302
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
303
</div>
 
304
</div><p>
 
305
<a class="anchor" name="e2d1675536dcc22309f1995e8f7fec95"></a><!-- doxytag: member="QwtPlotGrid::xMinEnabled" ref="e2d1675536dcc22309f1995e8f7fec95" args="() const" -->
 
306
<div class="memitem">
 
307
<div class="memproto">
 
308
      <table class="memname">
 
309
        <tr>
 
310
          <td class="memname">bool QwtPlotGrid::xMinEnabled           </td>
 
311
          <td>(</td>
 
312
          <td class="paramname">          </td>
 
313
          <td>&nbsp;)&nbsp;</td>
 
314
          <td width="100%"> const</td>
 
315
        </tr>
 
316
      </table>
 
317
</div>
 
318
<div class="memdoc">
 
319
 
 
320
<p>
 
321
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if minor vertical gridlines are enabled </dd></dl>
 
322
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#4106c58c9d463bd4ccd94e215cc246bb">enableXMin()</a> </dd></dl>
 
323
 
 
324
<p>
 
325
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00298">298</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
326
</div>
 
327
</div><p>
 
328
<a class="anchor" name="21b26d5b6b0745ecdec12d6bdeb8ecb4"></a><!-- doxytag: member="QwtPlotGrid::enableYMin" ref="21b26d5b6b0745ecdec12d6bdeb8ecb4" args="(bool tf)" -->
 
329
<div class="memitem">
 
330
<div class="memproto">
 
331
      <table class="memname">
 
332
        <tr>
 
333
          <td class="memname">void QwtPlotGrid::enableYMin           </td>
 
334
          <td>(</td>
 
335
          <td class="paramtype">bool&nbsp;</td>
 
336
          <td class="paramname"> <em>tf</em>          </td>
 
337
          <td>&nbsp;)&nbsp;</td>
 
338
          <td width="100%"></td>
 
339
        </tr>
 
340
      </table>
 
341
</div>
 
342
<div class="memdoc">
 
343
 
 
344
<p>
 
345
Enable or disable minor horizontal gridlines. 
 
346
<p>
 
347
<dl compact><dt><b>Parameters:</b></dt><dd>
 
348
  <table border="0" cellspacing="2" cellpadding="0">
 
349
    <tr><td valign="top"></td><td valign="top"><em>tf</em>&nbsp;</td><td>Enable (true) or disable </td></tr>
 
350
  </table>
 
351
</dl>
 
352
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#0172d8af861495a94aa856af26ad786d">enableY()</a> </dd></dl>
 
353
 
 
354
<p>
 
355
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00110">110</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
356
<p>
 
357
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
358
</div>
 
359
</div><p>
 
360
<a class="anchor" name="03c33252cebd0fb29b51529fd9736157"></a><!-- doxytag: member="QwtPlotGrid::yMinEnabled" ref="03c33252cebd0fb29b51529fd9736157" args="() const" -->
 
361
<div class="memitem">
 
362
<div class="memproto">
 
363
      <table class="memname">
 
364
        <tr>
 
365
          <td class="memname">bool QwtPlotGrid::yMinEnabled           </td>
 
366
          <td>(</td>
 
367
          <td class="paramname">          </td>
 
368
          <td>&nbsp;)&nbsp;</td>
 
369
          <td width="100%"> const</td>
 
370
        </tr>
 
371
      </table>
 
372
</div>
 
373
<div class="memdoc">
 
374
 
 
375
<p>
 
376
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if minor horizontal gridlines are enabled </dd></dl>
 
377
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#21b26d5b6b0745ecdec12d6bdeb8ecb4">enableYMin()</a> </dd></dl>
 
378
 
 
379
<p>
 
380
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00316">316</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
381
</div>
 
382
</div><p>
 
383
<a class="anchor" name="eeb88397c2aaf5e763d57c898a2fcd13"></a><!-- doxytag: member="QwtPlotGrid::setXDiv" ref="eeb88397c2aaf5e763d57c898a2fcd13" args="(const QwtScaleDiv &amp;sx)" -->
 
384
<div class="memitem">
 
385
<div class="memproto">
 
386
      <table class="memname">
 
387
        <tr>
 
388
          <td class="memname">void QwtPlotGrid::setXDiv           </td>
 
389
          <td>(</td>
 
390
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&nbsp;</td>
 
391
          <td class="paramname"> <em>scaleDiv</em>          </td>
 
392
          <td>&nbsp;)&nbsp;</td>
 
393
          <td width="100%"></td>
 
394
        </tr>
 
395
      </table>
 
396
</div>
 
397
<div class="memdoc">
 
398
 
 
399
<p>
 
400
Assign an x axis scale division. 
 
401
<p>
 
402
<dl compact><dt><b>Parameters:</b></dt><dd>
 
403
  <table border="0" cellspacing="2" cellpadding="0">
 
404
    <tr><td valign="top"></td><td valign="top"><em>scaleDiv</em>&nbsp;</td><td>Scale division </td></tr>
 
405
  </table>
 
406
</dl>
 
407
<dl class="warning" compact><dt><b>Warning:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html">QwtPlotGrid</a> uses implicit sharing (see Qt Manual) for the scale divisions. </dd></dl>
 
408
 
 
409
<p>
 
410
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00125">125</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
411
<p>
 
412
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
413
<p>
 
414
Referenced by <a class="el" href="qwt__plot__grid_8cpp-source.html#l00334">updateScaleDiv()</a>.
 
415
</div>
 
416
</div><p>
 
417
<a class="anchor" name="b816b84c1c5854ea426e0a8b7a681090"></a><!-- doxytag: member="QwtPlotGrid::xScaleDiv" ref="b816b84c1c5854ea426e0a8b7a681090" args="() const" -->
 
418
<div class="memitem">
 
419
<div class="memproto">
 
420
      <table class="memname">
 
421
        <tr>
 
422
          <td class="memname">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp; QwtPlotGrid::xScaleDiv           </td>
 
423
          <td>(</td>
 
424
          <td class="paramname">          </td>
 
425
          <td>&nbsp;)&nbsp;</td>
 
426
          <td width="100%"> const</td>
 
427
        </tr>
 
428
      </table>
 
429
</div>
 
430
<div class="memdoc">
 
431
 
 
432
<p>
 
433
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the scale division of the x axis </dd></dl>
 
434
 
 
435
<p>
 
436
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00323">323</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
437
</div>
 
438
</div><p>
 
439
<a class="anchor" name="9eb130275560bdaa65551e2f69232b72"></a><!-- doxytag: member="QwtPlotGrid::setYDiv" ref="9eb130275560bdaa65551e2f69232b72" args="(const QwtScaleDiv &amp;sy)" -->
 
440
<div class="memitem">
 
441
<div class="memproto">
 
442
      <table class="memname">
 
443
        <tr>
 
444
          <td class="memname">void QwtPlotGrid::setYDiv           </td>
 
445
          <td>(</td>
 
446
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&nbsp;</td>
 
447
          <td class="paramname"> <em>sy</em>          </td>
 
448
          <td>&nbsp;)&nbsp;</td>
 
449
          <td width="100%"></td>
 
450
        </tr>
 
451
      </table>
 
452
</div>
 
453
<div class="memdoc">
 
454
 
 
455
<p>
 
456
Assign a y axis division. 
 
457
<p>
 
458
<dl compact><dt><b>Parameters:</b></dt><dd>
 
459
  <table border="0" cellspacing="2" cellpadding="0">
 
460
    <tr><td valign="top"></td><td valign="top"><em>sy</em>&nbsp;</td><td>Scale division </td></tr>
 
461
  </table>
 
462
</dl>
 
463
<dl class="warning" compact><dt><b>Warning:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html">QwtPlotGrid</a> uses implicit sharing (see Qt Manual) for the scale divisions. </dd></dl>
 
464
 
 
465
<p>
 
466
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00140">140</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
467
<p>
 
468
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
469
<p>
 
470
Referenced by <a class="el" href="qwt__plot__grid_8cpp-source.html#l00334">updateScaleDiv()</a>.
 
471
</div>
 
472
</div><p>
 
473
<a class="anchor" name="379ca6af067fe88890876c89a3f37cdc"></a><!-- doxytag: member="QwtPlotGrid::yScaleDiv" ref="379ca6af067fe88890876c89a3f37cdc" args="() const" -->
 
474
<div class="memitem">
 
475
<div class="memproto">
 
476
      <table class="memname">
 
477
        <tr>
 
478
          <td class="memname">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp; QwtPlotGrid::yScaleDiv           </td>
 
479
          <td>(</td>
 
480
          <td class="paramname">          </td>
 
481
          <td>&nbsp;)&nbsp;</td>
 
482
          <td width="100%"> const</td>
 
483
        </tr>
 
484
      </table>
 
485
</div>
 
486
<div class="memdoc">
 
487
 
 
488
<p>
 
489
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the scale division of the y axis </dd></dl>
 
490
 
 
491
<p>
 
492
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00329">329</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
493
</div>
 
494
</div><p>
 
495
<a class="anchor" name="d84a6b1110d593af76e5e777ae1e8bfe"></a><!-- doxytag: member="QwtPlotGrid::setPen" ref="d84a6b1110d593af76e5e777ae1e8bfe" args="(const QPen &amp;p)" -->
 
496
<div class="memitem">
 
497
<div class="memproto">
 
498
      <table class="memname">
 
499
        <tr>
 
500
          <td class="memname">void QwtPlotGrid::setPen           </td>
 
501
          <td>(</td>
 
502
          <td class="paramtype">const QPen &amp;&nbsp;</td>
 
503
          <td class="paramname"> <em>p</em>          </td>
 
504
          <td>&nbsp;)&nbsp;</td>
 
505
          <td width="100%"></td>
 
506
        </tr>
 
507
      </table>
 
508
</div>
 
509
<div class="memdoc">
 
510
 
 
511
<p>
 
512
Assign a pen for both major and minor gridlines. 
 
513
<p>
 
514
<dl compact><dt><b>Parameters:</b></dt><dd>
 
515
  <table border="0" cellspacing="2" cellpadding="0">
 
516
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>Pen </td></tr>
 
517
  </table>
 
518
</dl>
 
519
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#c749a9ba8c2d05f4da83c6f6f2f8a0ec">setMajPen()</a>, <a class="el" href="class_qwt_plot_grid.html#012823a76b8a1a586b0f4326164e8c14">setMinPen()</a> </dd></dl>
 
520
 
 
521
<p>
 
522
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00154">154</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
523
<p>
 
524
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
525
</div>
 
526
</div><p>
 
527
<a class="anchor" name="c749a9ba8c2d05f4da83c6f6f2f8a0ec"></a><!-- doxytag: member="QwtPlotGrid::setMajPen" ref="c749a9ba8c2d05f4da83c6f6f2f8a0ec" args="(const QPen &amp;p)" -->
 
528
<div class="memitem">
 
529
<div class="memproto">
 
530
      <table class="memname">
 
531
        <tr>
 
532
          <td class="memname">void QwtPlotGrid::setMajPen           </td>
 
533
          <td>(</td>
 
534
          <td class="paramtype">const QPen &amp;&nbsp;</td>
 
535
          <td class="paramname"> <em>p</em>          </td>
 
536
          <td>&nbsp;)&nbsp;</td>
 
537
          <td width="100%"></td>
 
538
        </tr>
 
539
      </table>
 
540
</div>
 
541
<div class="memdoc">
 
542
 
 
543
<p>
 
544
Assign a pen for the major gridlines. 
 
545
<p>
 
546
<dl compact><dt><b>Parameters:</b></dt><dd>
 
547
  <table border="0" cellspacing="2" cellpadding="0">
 
548
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>Pen </td></tr>
 
549
  </table>
 
550
</dl>
 
551
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#db1b3e68547f46727f97437ab73630f8">majPen()</a>, <a class="el" href="class_qwt_plot_grid.html#012823a76b8a1a586b0f4326164e8c14">setMinPen()</a>, <a class="el" href="class_qwt_plot_grid.html#d84a6b1110d593af76e5e777ae1e8bfe">setPen()</a> </dd></dl>
 
552
 
 
553
<p>
 
554
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00169">169</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
555
<p>
 
556
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
557
</div>
 
558
</div><p>
 
559
<a class="anchor" name="db1b3e68547f46727f97437ab73630f8"></a><!-- doxytag: member="QwtPlotGrid::majPen" ref="db1b3e68547f46727f97437ab73630f8" args="() const" -->
 
560
<div class="memitem">
 
561
<div class="memproto">
 
562
      <table class="memname">
 
563
        <tr>
 
564
          <td class="memname">const QPen &amp; QwtPlotGrid::majPen           </td>
 
565
          <td>(</td>
 
566
          <td class="paramname">          </td>
 
567
          <td>&nbsp;)&nbsp;</td>
 
568
          <td width="100%"> const</td>
 
569
        </tr>
 
570
      </table>
 
571
</div>
 
572
<div class="memdoc">
 
573
 
 
574
<p>
 
575
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the pen for the major gridlines </dd></dl>
 
576
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#c749a9ba8c2d05f4da83c6f6f2f8a0ec">setMajPen()</a>, <a class="el" href="class_qwt_plot_grid.html#012823a76b8a1a586b0f4326164e8c14">setMinPen()</a>, <a class="el" href="class_qwt_plot_grid.html#d84a6b1110d593af76e5e777ae1e8bfe">setPen()</a> </dd></dl>
 
577
 
 
578
<p>
 
579
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00271">271</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
580
</div>
 
581
</div><p>
 
582
<a class="anchor" name="012823a76b8a1a586b0f4326164e8c14"></a><!-- doxytag: member="QwtPlotGrid::setMinPen" ref="012823a76b8a1a586b0f4326164e8c14" args="(const QPen &amp;p)" -->
 
583
<div class="memitem">
 
584
<div class="memproto">
 
585
      <table class="memname">
 
586
        <tr>
 
587
          <td class="memname">void QwtPlotGrid::setMinPen           </td>
 
588
          <td>(</td>
 
589
          <td class="paramtype">const QPen &amp;&nbsp;</td>
 
590
          <td class="paramname"> <em>p</em>          </td>
 
591
          <td>&nbsp;)&nbsp;</td>
 
592
          <td width="100%"></td>
 
593
        </tr>
 
594
      </table>
 
595
</div>
 
596
<div class="memdoc">
 
597
 
 
598
<p>
 
599
Assign a pen for the minor gridlines. 
 
600
<p>
 
601
<dl compact><dt><b>Parameters:</b></dt><dd>
 
602
  <table border="0" cellspacing="2" cellpadding="0">
 
603
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>Pen </td></tr>
 
604
  </table>
 
605
</dl>
 
606
 
 
607
<p>
 
608
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00182">182</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
609
<p>
 
610
References <a class="el" href="qwt__plot__item_8cpp-source.html#l00307">QwtPlotItem::itemChanged()</a>.
 
611
</div>
 
612
</div><p>
 
613
<a class="anchor" name="8d7f601031a12efbe4763b405e9b4f31"></a><!-- doxytag: member="QwtPlotGrid::minPen" ref="8d7f601031a12efbe4763b405e9b4f31" args="() const" -->
 
614
<div class="memitem">
 
615
<div class="memproto">
 
616
      <table class="memname">
 
617
        <tr>
 
618
          <td class="memname">const QPen &amp; QwtPlotGrid::minPen           </td>
 
619
          <td>(</td>
 
620
          <td class="paramname">          </td>
 
621
          <td>&nbsp;)&nbsp;</td>
 
622
          <td width="100%"> const</td>
 
623
        </tr>
 
624
      </table>
 
625
</div>
 
626
<div class="memdoc">
 
627
 
 
628
<p>
 
629
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the pen for the minor gridlines </dd></dl>
 
630
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_grid.html#012823a76b8a1a586b0f4326164e8c14">setMinPen()</a>, <a class="el" href="class_qwt_plot_grid.html#c749a9ba8c2d05f4da83c6f6f2f8a0ec">setMajPen()</a>, <a class="el" href="class_qwt_plot_grid.html#d84a6b1110d593af76e5e777ae1e8bfe">setPen()</a> </dd></dl>
 
631
 
 
632
<p>
 
633
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00280">280</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
634
</div>
 
635
</div><p>
 
636
<a class="anchor" name="e9c6c4d3bf10c755ac74cc951ce0f676"></a><!-- doxytag: member="QwtPlotGrid::draw" ref="e9c6c4d3bf10c755ac74cc951ce0f676" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRect &amp;rect) const" -->
 
637
<div class="memitem">
 
638
<div class="memproto">
 
639
      <table class="memname">
 
640
        <tr>
 
641
          <td class="memname">void QwtPlotGrid::draw           </td>
 
642
          <td>(</td>
 
643
          <td class="paramtype">QPainter *&nbsp;</td>
 
644
          <td class="paramname"> <em>painter</em>, </td>
 
645
        </tr>
 
646
        <tr>
 
647
          <td class="paramkey"></td>
 
648
          <td></td>
 
649
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
 
650
          <td class="paramname"> <em>xMap</em>, </td>
 
651
        </tr>
 
652
        <tr>
 
653
          <td class="paramkey"></td>
 
654
          <td></td>
 
655
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
 
656
          <td class="paramname"> <em>yMap</em>, </td>
 
657
        </tr>
 
658
        <tr>
 
659
          <td class="paramkey"></td>
 
660
          <td></td>
 
661
          <td class="paramtype">const QRect &amp;&nbsp;</td>
 
662
          <td class="paramname"> <em>canvasRect</em></td><td>&nbsp;</td>
 
663
        </tr>
 
664
        <tr>
 
665
          <td></td>
 
666
          <td>)</td>
 
667
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
 
668
        </tr>
 
669
      </table>
 
670
</div>
 
671
<div class="memdoc">
 
672
 
 
673
<p>
 
674
Draw the grid. 
 
675
<p>
 
676
The grid is drawn into the bounding rectangle such that gridlines begin and end at the rectangle's borders. The X and Y maps are used to map the scale divisions into the drawing region screen. <dl compact><dt><b>Parameters:</b></dt><dd>
 
677
  <table border="0" cellspacing="2" cellpadding="0">
 
678
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
 
679
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>X axis map </td></tr>
 
680
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>Y axis </td></tr>
 
681
    <tr><td valign="top"></td><td valign="top"><em>canvasRect</em>&nbsp;</td><td>Contents rect of the plot canvas </td></tr>
 
682
  </table>
 
683
</dl>
 
684
 
 
685
<p>
 
686
Implements <a class="el" href="class_qwt_plot_item.html#7f1084999b7b3780ba06216ad511686b">QwtPlotItem</a>.
 
687
<p>
 
688
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00203">203</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
689
</div>
 
690
</div><p>
 
691
<a class="anchor" name="d15166f257160adc90b60b9e29d69edf"></a><!-- doxytag: member="QwtPlotGrid::updateScaleDiv" ref="d15166f257160adc90b60b9e29d69edf" args="(const QwtScaleDiv &amp;xMap, const QwtScaleDiv &amp;yMap)" -->
 
692
<div class="memitem">
 
693
<div class="memproto">
 
694
      <table class="memname">
 
695
        <tr>
 
696
          <td class="memname">void QwtPlotGrid::updateScaleDiv           </td>
 
697
          <td>(</td>
 
698
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&nbsp;</td>
 
699
          <td class="paramname"> <em>xMap</em>, </td>
 
700
        </tr>
 
701
        <tr>
 
702
          <td class="paramkey"></td>
 
703
          <td></td>
 
704
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&nbsp;</td>
 
705
          <td class="paramname"> <em>yMap</em></td><td>&nbsp;</td>
 
706
        </tr>
 
707
        <tr>
 
708
          <td></td>
 
709
          <td>)</td>
 
710
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
 
711
        </tr>
 
712
      </table>
 
713
</div>
 
714
<div class="memdoc">
 
715
 
 
716
<p>
 
717
Update the item to changes of the axes scale division. 
 
718
<p>
 
719
Update the item, when the axes of plot have changed. The default implementation does nothing, but items that depend on the scale division (like <a class="el" href="class_qwt_plot_grid.html#43001238f3024c15baa8ae61b29ae170">QwtPlotGrid()</a>) have to reimplement <a class="el" href="class_qwt_plot_grid.html#d15166f257160adc90b60b9e29d69edf">updateScaleDiv()</a><p>
 
720
<dl compact><dt><b>Parameters:</b></dt><dd>
 
721
  <table border="0" cellspacing="2" cellpadding="0">
 
722
    <tr><td valign="top"></td><td valign="top"><em>xScaleDiv</em>&nbsp;</td><td>Scale division of the x-axis </td></tr>
 
723
    <tr><td valign="top"></td><td valign="top"><em>yScaleDiv</em>&nbsp;</td><td>Scale division of the y-axis</td></tr>
 
724
  </table>
 
725
</dl>
 
726
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#1fb2dbc3697a66024d48c08b1d18f8a5">QwtPlot::updateAxes()</a> </dd></dl>
 
727
 
 
728
<p>
 
729
Reimplemented from <a class="el" href="class_qwt_plot_item.html#bf6a70847d3db952161ca4d4a952eea0">QwtPlotItem</a>.
 
730
<p>
 
731
Definition at line <a class="el" href="qwt__plot__grid_8cpp-source.html#l00334">334</a> of file <a class="el" href="qwt__plot__grid_8cpp-source.html">qwt_plot_grid.cpp</a>.
 
732
<p>
 
733
References <a class="el" href="qwt__plot__grid_8cpp-source.html#l00125">setXDiv()</a>, and <a class="el" href="qwt__plot__grid_8cpp-source.html#l00140">setYDiv()</a>.
 
734
</div>
 
735
</div><p>
 
736
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:54:58 2009 for Qwt User's Guide by&nbsp;
 
737
<a href="http://www.doxygen.org/index.html">
 
738
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
 
739
</body>
 
740
</html>