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

« back to all changes in this revision

Viewing changes to qwt-5.1.1/doc/html/class_qwt_plot_layout.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: QwtPlotLayout 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>QwtPlotLayout Class Reference</h1><!-- doxytag: class="QwtPlotLayout" --><a href="class_qwt_plot_layout-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
23
 
Layout class for <a class="el" href="class_qwt_plot.html">QwtPlot</a>. 
24
 
<p>
25
 
Organizes the geometry for the different <a class="el" href="class_qwt_plot.html">QwtPlot</a> components. 
26
 
<p>
27
 
 
28
 
<p>
29
 
Definition at line <a class="el" href="qwt__plot__layout_8h-source.html#l00022">22</a> of file <a class="el" href="qwt__plot__layout_8h-source.html">qwt_plot_layout.h</a>.<table border="0" cellpadding="0" cellspacing="0">
30
 
<tr><td></td></tr>
31
 
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
32
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#646296ab0befcaf043ba14b6eb83114d">Options</a> { <br>
33
 
&nbsp;&nbsp;<b>AlignScales</b> =  1, 
34
 
<br>
35
 
&nbsp;&nbsp;<b>IgnoreScrollbars</b> =  2, 
36
 
<br>
37
 
&nbsp;&nbsp;<b>IgnoreFrames</b> =  4, 
38
 
<br>
39
 
&nbsp;&nbsp;<b>IgnoreMargin</b> =  8, 
40
 
<br>
41
 
&nbsp;&nbsp;<b>IgnoreLegend</b> =  16, 
42
 
<br>
43
 
&nbsp;&nbsp;<b>PrintMargin</b> =  1, 
44
 
<br>
45
 
&nbsp;&nbsp;<b>PrintTitle</b> =  2, 
46
 
<br>
47
 
&nbsp;&nbsp;<b>PrintLegend</b> =  4, 
48
 
<br>
49
 
&nbsp;&nbsp;<b>PrintGrid</b> =  8, 
50
 
<br>
51
 
&nbsp;&nbsp;<b>PrintBackground</b> =  16, 
52
 
<br>
53
 
&nbsp;&nbsp;<b>PrintFrameWithScales</b> =  32, 
54
 
<br>
55
 
&nbsp;&nbsp;<b>PrintAll</b> =  ~PrintFrameWithScales
56
 
<br>
57
 
 }</td></tr>
58
 
 
59
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
60
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#c89596fb2a3d3a92901f124821045a47">QwtPlotLayout</a> ()</td></tr>
61
 
 
62
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#39653485c638535bc11f50d2e5ef936d">~QwtPlotLayout</a> ()</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_layout.html#67fc75a6f4c4d368d629841df1c5e6a5">setMargin</a> (int)</td></tr>
65
 
 
66
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#cd383d112d14e13d0c9a4371ef4ce7de">margin</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_layout.html#11667dad6675a7a58cc60ab1597b1203">setCanvasMargin</a> (int margin, int axis=-1)</td></tr>
69
 
 
70
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#1cf0064eb5a13e05c6db530c9269728d">canvasMargin</a> (int axis) 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_layout.html#147fcf4c59b34779b5a7dc7361a3b6c3">setAlignCanvasToScales</a> (bool)</td></tr>
73
 
 
74
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#4b172aaca3931bcbb56ec600008e1653">alignCanvasToScales</a> () const</td></tr>
75
 
 
76
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#6508553ec1d66bede49e7767526c3d03">setSpacing</a> (int)</td></tr>
77
 
 
78
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#1fad9d271b40d6b6e68918d92eb64d02">spacing</a> () const</td></tr>
79
 
 
80
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#11c9695a68f95135841cb23212589f18">setLegendPosition</a> (<a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> pos, double ratio)</td></tr>
81
 
 
82
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#001f1eca91803d0eaa9548efc50879eb">setLegendPosition</a> (<a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> pos)</td></tr>
83
 
 
84
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#49106b180459ae7ee4b7f486cbb196e8">legendPosition</a> () const</td></tr>
85
 
 
86
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#abe9f952046139667e055c661bee4dbb">setLegendRatio</a> (double ratio)</td></tr>
87
 
 
88
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#88440049820ccdd146e3b77bbf321e00">legendRatio</a> () const</td></tr>
89
 
 
90
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#5993bbcac2aaa0af640236bbc044bfce">minimumSizeHint</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *) const</td></tr>
91
 
 
92
 
<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_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, const QRect &amp;rect, int options=0)</td></tr>
93
 
 
94
 
<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_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate</a> ()</td></tr>
95
 
 
96
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#93989bd7dbf8c420bd1dc0e493504f53">titleRect</a> () const</td></tr>
97
 
 
98
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#03b69bb4413ff7b20ed4f8cbfc003e89">legendRect</a> () const</td></tr>
99
 
 
100
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#350bb42101aa3a1a76ebd3eac70b9c42">scaleRect</a> (int axis) const</td></tr>
101
 
 
102
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#4a9dbf29dd65a72296f9870f8cc7f157">canvasRect</a> () const</td></tr>
103
 
 
104
 
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
105
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a4071432ec71dd859864a4974725712f">layoutLegend</a> (int options, const QRect &amp;) const</td></tr>
106
 
 
107
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#311a327277c530c43c636c7c8ca6a710">alignLegend</a> (const QRect &amp;canvasRect, const QRect &amp;legendRect) const</td></tr>
108
 
 
109
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#42d2dc0e6f4811e250ad6b34cf992602">expandLineBreaks</a> (int options, const QRect &amp;rect, int &amp;dimTitle, int dimAxes[QwtPlot::axisCnt]) const</td></tr>
110
 
 
111
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#78e0ad31b623188290ff73dfc913f594">alignScales</a> (int options, QRect &amp;canvasRect, QRect scaleRect[QwtPlot::axisCnt]) const</td></tr>
112
 
 
113
 
</table>
114
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
115
 
<a class="anchor" name="c89596fb2a3d3a92901f124821045a47"></a><!-- doxytag: member="QwtPlotLayout::QwtPlotLayout" ref="c89596fb2a3d3a92901f124821045a47" args="()" -->
116
 
<div class="memitem">
117
 
<div class="memproto">
118
 
      <table class="memname">
119
 
        <tr>
120
 
          <td class="memname">QwtPlotLayout::QwtPlotLayout           </td>
121
 
          <td>(</td>
122
 
          <td class="paramname">          </td>
123
 
          <td>&nbsp;)&nbsp;</td>
124
 
          <td width="100%"><code> [explicit]</code></td>
125
 
        </tr>
126
 
      </table>
127
 
</div>
128
 
<div class="memdoc">
129
 
 
130
 
<p>
131
 
Constructor. 
132
 
<p>
133
 
 
134
 
<p>
135
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00182">182</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
136
 
<p>
137
 
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00451">invalidate()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00235">setCanvasMargin()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00326">setLegendPosition()</a>.
138
 
</div>
139
 
</div><p>
140
 
<a class="anchor" name="39653485c638535bc11f50d2e5ef936d"></a><!-- doxytag: member="QwtPlotLayout::~QwtPlotLayout" ref="39653485c638535bc11f50d2e5ef936d" args="()" -->
141
 
<div class="memitem">
142
 
<div class="memproto">
143
 
      <table class="memname">
144
 
        <tr>
145
 
          <td class="memname">QwtPlotLayout::~QwtPlotLayout           </td>
146
 
          <td>(</td>
147
 
          <td class="paramname">          </td>
148
 
          <td>&nbsp;)&nbsp;</td>
149
 
          <td width="100%"><code> [virtual]</code></td>
150
 
        </tr>
151
 
      </table>
152
 
</div>
153
 
<div class="memdoc">
154
 
 
155
 
<p>
156
 
Destructor. 
157
 
<p>
158
 
 
159
 
<p>
160
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00193">193</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
161
 
</div>
162
 
</div><p>
163
 
<hr><h2>Member Function Documentation</h2>
164
 
<a class="anchor" name="67fc75a6f4c4d368d629841df1c5e6a5"></a><!-- doxytag: member="QwtPlotLayout::setMargin" ref="67fc75a6f4c4d368d629841df1c5e6a5" args="(int)" -->
165
 
<div class="memitem">
166
 
<div class="memproto">
167
 
      <table class="memname">
168
 
        <tr>
169
 
          <td class="memname">void QwtPlotLayout::setMargin           </td>
170
 
          <td>(</td>
171
 
          <td class="paramtype">int&nbsp;</td>
172
 
          <td class="paramname"> <em>margin</em>          </td>
173
 
          <td>&nbsp;)&nbsp;</td>
174
 
          <td width="100%"></td>
175
 
        </tr>
176
 
      </table>
177
 
</div>
178
 
<div class="memdoc">
179
 
 
180
 
<p>
181
 
Change the margin of the plot. The margin is the space around all components.<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>margin</em>&nbsp;</td><td>new margin </td></tr>
185
 
  </table>
186
 
</dl>
187
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#cd383d112d14e13d0c9a4371ef4ce7de">margin()</a>, <a class="el" href="class_qwt_plot_layout.html#6508553ec1d66bede49e7767526c3d03">setSpacing()</a>, <a class="el" href="class_qwt_plot.html#26f01ba1c3c85308db6cac67c5f1159c">QwtPlot::setMargin()</a> </dd></dl>
188
 
 
189
 
<p>
190
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00206">206</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
191
 
</div>
192
 
</div><p>
193
 
<a class="anchor" name="cd383d112d14e13d0c9a4371ef4ce7de"></a><!-- doxytag: member="QwtPlotLayout::margin" ref="cd383d112d14e13d0c9a4371ef4ce7de" args="() const" -->
194
 
<div class="memitem">
195
 
<div class="memproto">
196
 
      <table class="memname">
197
 
        <tr>
198
 
          <td class="memname">int QwtPlotLayout::margin           </td>
199
 
          <td>(</td>
200
 
          <td class="paramname">          </td>
201
 
          <td>&nbsp;)&nbsp;</td>
202
 
          <td width="100%"> const</td>
203
 
        </tr>
204
 
      </table>
205
 
</div>
206
 
<div class="memdoc">
207
 
 
208
 
<p>
209
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>margin </dd></dl>
210
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#67fc75a6f4c4d368d629841df1c5e6a5">setMargin()</a>, <a class="el" href="class_qwt_plot_layout.html#1fad9d271b40d6b6e68918d92eb64d02">spacing()</a>, <a class="el" href="class_qwt_plot.html#a1cd0fa079f2057df3ddb33355bf9536">QwtPlot::margin()</a> </dd></dl>
211
 
 
212
 
<p>
213
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00217">217</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
214
 
</div>
215
 
</div><p>
216
 
<a class="anchor" name="11667dad6675a7a58cc60ab1597b1203"></a><!-- doxytag: member="QwtPlotLayout::setCanvasMargin" ref="11667dad6675a7a58cc60ab1597b1203" args="(int margin, int axis=-1)" -->
217
 
<div class="memitem">
218
 
<div class="memproto">
219
 
      <table class="memname">
220
 
        <tr>
221
 
          <td class="memname">void QwtPlotLayout::setCanvasMargin           </td>
222
 
          <td>(</td>
223
 
          <td class="paramtype">int&nbsp;</td>
224
 
          <td class="paramname"> <em>margin</em>, </td>
225
 
        </tr>
226
 
        <tr>
227
 
          <td class="paramkey"></td>
228
 
          <td></td>
229
 
          <td class="paramtype">int&nbsp;</td>
230
 
          <td class="paramname"> <em>axis</em> = <code>-1</code></td><td>&nbsp;</td>
231
 
        </tr>
232
 
        <tr>
233
 
          <td></td>
234
 
          <td>)</td>
235
 
          <td></td><td></td><td width="100%"></td>
236
 
        </tr>
237
 
      </table>
238
 
</div>
239
 
<div class="memdoc">
240
 
 
241
 
<p>
242
 
Change a margin of the canvas. The margin is the space above/below the scale ticks. A negative margin will be set to -1, excluding the borders of the scales.<p>
243
 
<dl compact><dt><b>Parameters:</b></dt><dd>
244
 
  <table border="0" cellspacing="2" cellpadding="0">
245
 
    <tr><td valign="top"></td><td valign="top"><em>margin</em>&nbsp;</td><td>New margin </td></tr>
246
 
    <tr><td valign="top"></td><td valign="top"><em>axis</em>&nbsp;</td><td>One of <a class="el" href="class_qwt_plot.html#81df699dcf9dde0752c0726b5f31e271">QwtPlot::Axis</a>. Specifies where the position of the margin. -1 means margin at all borders. </td></tr>
247
 
  </table>
248
 
</dl>
249
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#1cf0064eb5a13e05c6db530c9269728d">canvasMargin()</a></dd></dl>
250
 
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The margin will have no effect when alignCanvasToScales is true </dd></dl>
251
 
 
252
 
<p>
253
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00235">235</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
254
 
<p>
255
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00182">QwtPlotLayout()</a>.
256
 
</div>
257
 
</div><p>
258
 
<a class="anchor" name="1cf0064eb5a13e05c6db530c9269728d"></a><!-- doxytag: member="QwtPlotLayout::canvasMargin" ref="1cf0064eb5a13e05c6db530c9269728d" args="(int axis) const" -->
259
 
<div class="memitem">
260
 
<div class="memproto">
261
 
      <table class="memname">
262
 
        <tr>
263
 
          <td class="memname">int QwtPlotLayout::canvasMargin           </td>
264
 
          <td>(</td>
265
 
          <td class="paramtype">int&nbsp;</td>
266
 
          <td class="paramname"> <em>axis</em>          </td>
267
 
          <td>&nbsp;)&nbsp;</td>
268
 
          <td width="100%"> const</td>
269
 
        </tr>
270
 
      </table>
271
 
</div>
272
 
<div class="memdoc">
273
 
 
274
 
<p>
275
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Margin around the scale tick borders </dd></dl>
276
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
277
 
 
278
 
<p>
279
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00253">253</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
280
 
<p>
281
 
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00612">QwtPlot::canvasMap()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">QwtPlot::print()</a>.
282
 
</div>
283
 
</div><p>
284
 
<a class="anchor" name="147fcf4c59b34779b5a7dc7361a3b6c3"></a><!-- doxytag: member="QwtPlotLayout::setAlignCanvasToScales" ref="147fcf4c59b34779b5a7dc7361a3b6c3" args="(bool)" -->
285
 
<div class="memitem">
286
 
<div class="memproto">
287
 
      <table class="memname">
288
 
        <tr>
289
 
          <td class="memname">void QwtPlotLayout::setAlignCanvasToScales           </td>
290
 
          <td>(</td>
291
 
          <td class="paramtype">bool&nbsp;</td>
292
 
          <td class="paramname"> <em>alignCanvasToScales</em>          </td>
293
 
          <td>&nbsp;)&nbsp;</td>
294
 
          <td width="100%"></td>
295
 
        </tr>
296
 
      </table>
297
 
</div>
298
 
<div class="memdoc">
299
 
 
300
 
<p>
301
 
Change the align-canvas-to-axis-scales setting. The canvas may:<ul>
302
 
<li>extend beyond the axis scale ends to maximize its size,</li><li>align with the axis scale ends to control its size.</li></ul>
303
 
<p>
304
 
<dl compact><dt><b>Parameters:</b></dt><dd>
305
 
  <table border="0" cellspacing="2" cellpadding="0">
306
 
    <tr><td valign="top"></td><td valign="top"><em>alignCanvasToScales</em>&nbsp;</td><td>New align-canvas-to-axis-scales setting</td></tr>
307
 
  </table>
308
 
</dl>
309
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
310
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>In this context the term 'scale' means the backbone of a scale. </dd></dl>
311
 
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>In case of alignCanvasToScales == true canvasMargin will have no effect </dd></dl>
312
 
 
313
 
<p>
314
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00273">273</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
315
 
</div>
316
 
</div><p>
317
 
<a class="anchor" name="4b172aaca3931bcbb56ec600008e1653"></a><!-- doxytag: member="QwtPlotLayout::alignCanvasToScales" ref="4b172aaca3931bcbb56ec600008e1653" args="() const" -->
318
 
<div class="memitem">
319
 
<div class="memproto">
320
 
      <table class="memname">
321
 
        <tr>
322
 
          <td class="memname">bool QwtPlotLayout::alignCanvasToScales           </td>
323
 
          <td>(</td>
324
 
          <td class="paramname">          </td>
325
 
          <td>&nbsp;)&nbsp;</td>
326
 
          <td width="100%"> const</td>
327
 
        </tr>
328
 
      </table>
329
 
</div>
330
 
<div class="memdoc">
331
 
 
332
 
<p>
333
 
Return the align-canvas-to-axis-scales setting. The canvas may:<ul>
334
 
<li>extend beyond the axis scale ends to maximize its size</li><li>align with the axis scale ends to control its size.</li></ul>
335
 
<p>
336
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>align-canvas-to-axis-scales setting </dd></dl>
337
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#147fcf4c59b34779b5a7dc7361a3b6c3">setAlignCanvasToScales</a>, <a class="el" href="class_qwt_plot_layout.html#11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
338
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>In this context the term 'scale' means the backbone of a scale. </dd></dl>
339
 
 
340
 
<p>
341
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00287">287</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
342
 
</div>
343
 
</div><p>
344
 
<a class="anchor" name="6508553ec1d66bede49e7767526c3d03"></a><!-- doxytag: member="QwtPlotLayout::setSpacing" ref="6508553ec1d66bede49e7767526c3d03" args="(int)" -->
345
 
<div class="memitem">
346
 
<div class="memproto">
347
 
      <table class="memname">
348
 
        <tr>
349
 
          <td class="memname">void QwtPlotLayout::setSpacing           </td>
350
 
          <td>(</td>
351
 
          <td class="paramtype">int&nbsp;</td>
352
 
          <td class="paramname"> <em>spacing</em>          </td>
353
 
          <td>&nbsp;)&nbsp;</td>
354
 
          <td width="100%"></td>
355
 
        </tr>
356
 
      </table>
357
 
</div>
358
 
<div class="memdoc">
359
 
 
360
 
<p>
361
 
Change the spacing of the plot. The spacing is the distance between the plot components.<p>
362
 
<dl compact><dt><b>Parameters:</b></dt><dd>
363
 
  <table border="0" cellspacing="2" cellpadding="0">
364
 
    <tr><td valign="top"></td><td valign="top"><em>spacing</em>&nbsp;</td><td>new spacing </td></tr>
365
 
  </table>
366
 
</dl>
367
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#67fc75a6f4c4d368d629841df1c5e6a5">setMargin()</a>, <a class="el" href="class_qwt_plot_layout.html#1fad9d271b40d6b6e68918d92eb64d02">spacing()</a> </dd></dl>
368
 
 
369
 
<p>
370
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00299">299</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
371
 
</div>
372
 
</div><p>
373
 
<a class="anchor" name="1fad9d271b40d6b6e68918d92eb64d02"></a><!-- doxytag: member="QwtPlotLayout::spacing" ref="1fad9d271b40d6b6e68918d92eb64d02" args="() const" -->
374
 
<div class="memitem">
375
 
<div class="memproto">
376
 
      <table class="memname">
377
 
        <tr>
378
 
          <td class="memname">int QwtPlotLayout::spacing           </td>
379
 
          <td>(</td>
380
 
          <td class="paramname">          </td>
381
 
          <td>&nbsp;)&nbsp;</td>
382
 
          <td width="100%"> const</td>
383
 
        </tr>
384
 
      </table>
385
 
</div>
386
 
<div class="memdoc">
387
 
 
388
 
<p>
389
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>spacing </dd></dl>
390
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#cd383d112d14e13d0c9a4371ef4ce7de">margin()</a>, <a class="el" href="class_qwt_plot_layout.html#6508553ec1d66bede49e7767526c3d03">setSpacing()</a> </dd></dl>
391
 
 
392
 
<p>
393
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00308">308</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
394
 
</div>
395
 
</div><p>
396
 
<a class="anchor" name="11c9695a68f95135841cb23212589f18"></a><!-- doxytag: member="QwtPlotLayout::setLegendPosition" ref="11c9695a68f95135841cb23212589f18" args="(QwtPlot::LegendPosition pos, double ratio)" -->
397
 
<div class="memitem">
398
 
<div class="memproto">
399
 
      <table class="memname">
400
 
        <tr>
401
 
          <td class="memname">void QwtPlotLayout::setLegendPosition           </td>
402
 
          <td>(</td>
403
 
          <td class="paramtype"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&nbsp;</td>
404
 
          <td class="paramname"> <em>pos</em>, </td>
405
 
        </tr>
406
 
        <tr>
407
 
          <td class="paramkey"></td>
408
 
          <td></td>
409
 
          <td class="paramtype">double&nbsp;</td>
410
 
          <td class="paramname"> <em>ratio</em></td><td>&nbsp;</td>
411
 
        </tr>
412
 
        <tr>
413
 
          <td></td>
414
 
          <td>)</td>
415
 
          <td></td><td></td><td width="100%"></td>
416
 
        </tr>
417
 
      </table>
418
 
</div>
419
 
<div class="memdoc">
420
 
 
421
 
<p>
422
 
Specify the position of the legend. 
423
 
<p>
424
 
<dl compact><dt><b>Parameters:</b></dt><dd>
425
 
  <table border="0" cellspacing="2" cellpadding="0">
426
 
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>The legend's position. </td></tr>
427
 
    <tr><td valign="top"></td><td valign="top"><em>ratio</em>&nbsp;</td><td>Ratio between legend and the bounding rect of title, canvas and axes. The legend will be shrinked if it would need more space than the given ratio. The ratio is limited to ]0.0 .. 1.0]. In case of &lt;= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5.</td></tr>
428
 
  </table>
429
 
</dl>
430
 
<dl class="see" compact><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl>
431
 
 
432
 
<p>
433
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00326">326</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
434
 
<p>
435
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00182">QwtPlotLayout()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00363">setLegendPosition()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00387">setLegendRatio()</a>.
436
 
</div>
437
 
</div><p>
438
 
<a class="anchor" name="001f1eca91803d0eaa9548efc50879eb"></a><!-- doxytag: member="QwtPlotLayout::setLegendPosition" ref="001f1eca91803d0eaa9548efc50879eb" args="(QwtPlot::LegendPosition pos)" -->
439
 
<div class="memitem">
440
 
<div class="memproto">
441
 
      <table class="memname">
442
 
        <tr>
443
 
          <td class="memname">void QwtPlotLayout::setLegendPosition           </td>
444
 
          <td>(</td>
445
 
          <td class="paramtype"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&nbsp;</td>
446
 
          <td class="paramname"> <em>pos</em>          </td>
447
 
          <td>&nbsp;)&nbsp;</td>
448
 
          <td width="100%"></td>
449
 
        </tr>
450
 
      </table>
451
 
</div>
452
 
<div class="memdoc">
453
 
 
454
 
<p>
455
 
Specify the position of the legend. 
456
 
<p>
457
 
<dl compact><dt><b>Parameters:</b></dt><dd>
458
 
  <table border="0" cellspacing="2" cellpadding="0">
459
 
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>The legend's position. Valid values are <code>QwtPlot::LeftLegend</code>, <code>QwtPlot::RightLegend</code>, <code>QwtPlot::TopLegend</code>, <code>QwtPlot::BottomLegend</code>.</td></tr>
460
 
  </table>
461
 
</dl>
462
 
<dl class="see" compact><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl>
463
 
 
464
 
<p>
465
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00363">363</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
466
 
<p>
467
 
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00326">setLegendPosition()</a>.
468
 
</div>
469
 
</div><p>
470
 
<a class="anchor" name="49106b180459ae7ee4b7f486cbb196e8"></a><!-- doxytag: member="QwtPlotLayout::legendPosition" ref="49106b180459ae7ee4b7f486cbb196e8" args="() const" -->
471
 
<div class="memitem">
472
 
<div class="memproto">
473
 
      <table class="memname">
474
 
        <tr>
475
 
          <td class="memname"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> QwtPlotLayout::legendPosition           </td>
476
 
          <td>(</td>
477
 
          <td class="paramname">          </td>
478
 
          <td>&nbsp;)&nbsp;</td>
479
 
          <td width="100%"> const</td>
480
 
        </tr>
481
 
      </table>
482
 
</div>
483
 
<div class="memdoc">
484
 
 
485
 
<p>
486
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Position of the legend </dd></dl>
487
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#11c9695a68f95135841cb23212589f18">setLegendPosition()</a>, QwtPlot::setLegendPosition(), QwtPlot::legendPosition() </dd></dl>
488
 
 
489
 
<p>
490
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00373">373</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
491
 
<p>
492
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00387">setLegendRatio()</a>.
493
 
</div>
494
 
</div><p>
495
 
<a class="anchor" name="abe9f952046139667e055c661bee4dbb"></a><!-- doxytag: member="QwtPlotLayout::setLegendRatio" ref="abe9f952046139667e055c661bee4dbb" args="(double ratio)" -->
496
 
<div class="memitem">
497
 
<div class="memproto">
498
 
      <table class="memname">
499
 
        <tr>
500
 
          <td class="memname">void QwtPlotLayout::setLegendRatio           </td>
501
 
          <td>(</td>
502
 
          <td class="paramtype">double&nbsp;</td>
503
 
          <td class="paramname"> <em>ratio</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
 
Specify the relative size of the legend in the plot <dl compact><dt><b>Parameters:</b></dt><dd>
513
 
  <table border="0" cellspacing="2" cellpadding="0">
514
 
    <tr><td valign="top"></td><td valign="top"><em>ratio</em>&nbsp;</td><td>Ratio between legend and the bounding rect of title, canvas and axes. The legend will be shrinked if it would need more space than the given ratio. The ratio is limited to ]0.0 .. 1.0]. In case of &lt;= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5. </td></tr>
515
 
  </table>
516
 
</dl>
517
 
 
518
 
<p>
519
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00387">387</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
520
 
<p>
521
 
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00373">legendPosition()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00326">setLegendPosition()</a>.
522
 
</div>
523
 
</div><p>
524
 
<a class="anchor" name="88440049820ccdd146e3b77bbf321e00"></a><!-- doxytag: member="QwtPlotLayout::legendRatio" ref="88440049820ccdd146e3b77bbf321e00" args="() const" -->
525
 
<div class="memitem">
526
 
<div class="memproto">
527
 
      <table class="memname">
528
 
        <tr>
529
 
          <td class="memname">double QwtPlotLayout::legendRatio           </td>
530
 
          <td>(</td>
531
 
          <td class="paramname">          </td>
532
 
          <td>&nbsp;)&nbsp;</td>
533
 
          <td width="100%"> const</td>
534
 
        </tr>
535
 
      </table>
536
 
</div>
537
 
<div class="memdoc">
538
 
 
539
 
<p>
540
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The relative size of the legend in the plot. </dd></dl>
541
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#11c9695a68f95135841cb23212589f18">setLegendPosition()</a> </dd></dl>
542
 
 
543
 
<p>
544
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00396">396</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
545
 
</div>
546
 
</div><p>
547
 
<a class="anchor" name="5993bbcac2aaa0af640236bbc044bfce"></a><!-- doxytag: member="QwtPlotLayout::minimumSizeHint" ref="5993bbcac2aaa0af640236bbc044bfce" args="(const QwtPlot *) const" -->
548
 
<div class="memitem">
549
 
<div class="memproto">
550
 
      <table class="memname">
551
 
        <tr>
552
 
          <td class="memname">QSize QwtPlotLayout::minimumSizeHint           </td>
553
 
          <td>(</td>
554
 
          <td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td>
555
 
          <td class="paramname"> <em>plot</em>          </td>
556
 
          <td>&nbsp;)&nbsp;</td>
557
 
          <td width="100%"> const<code> [virtual]</code></td>
558
 
        </tr>
559
 
      </table>
560
 
</div>
561
 
<div class="memdoc">
562
 
 
563
 
<p>
564
 
Return a minimum size hint. 
565
 
<p>
566
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#1f013570f561aba1af14b5c98da2132b">QwtPlot::minimumSizeHint()</a> </dd></dl>
567
 
 
568
 
<p>
569
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00463">463</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
570
 
<p>
571
 
References <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">QwtPlot::axisEnabled()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">QwtPlot::axisWidget()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00275">QwtPlot::canvas()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00697">QwtScaleWidget::minimumSizeHint()</a>.
572
 
</div>
573
 
</div><p>
574
 
<a class="anchor" name="4ccba7e8e8a857cd1e16d2a68f9bcbcb"></a><!-- doxytag: member="QwtPlotLayout::activate" ref="4ccba7e8e8a857cd1e16d2a68f9bcbcb" args="(const QwtPlot *, const QRect &amp;rect, int options=0)" -->
575
 
<div class="memitem">
576
 
<div class="memproto">
577
 
      <table class="memname">
578
 
        <tr>
579
 
          <td class="memname">void QwtPlotLayout::activate           </td>
580
 
          <td>(</td>
581
 
          <td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td>
582
 
          <td class="paramname"> <em>plot</em>, </td>
583
 
        </tr>
584
 
        <tr>
585
 
          <td class="paramkey"></td>
586
 
          <td></td>
587
 
          <td class="paramtype">const QRect &amp;&nbsp;</td>
588
 
          <td class="paramname"> <em>plotRect</em>, </td>
589
 
        </tr>
590
 
        <tr>
591
 
          <td class="paramkey"></td>
592
 
          <td></td>
593
 
          <td class="paramtype">int&nbsp;</td>
594
 
          <td class="paramname"> <em>options</em> = <code>0</code></td><td>&nbsp;</td>
595
 
        </tr>
596
 
        <tr>
597
 
          <td></td>
598
 
          <td>)</td>
599
 
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
600
 
        </tr>
601
 
      </table>
602
 
</div>
603
 
<div class="memdoc">
604
 
 
605
 
<p>
606
 
Recalculate the geometry of all components. 
607
 
<p>
608
 
<dl compact><dt><b>Parameters:</b></dt><dd>
609
 
  <table border="0" cellspacing="2" cellpadding="0">
610
 
    <tr><td valign="top"></td><td valign="top"><em>plot</em>&nbsp;</td><td>Plot to be layout </td></tr>
611
 
    <tr><td valign="top"></td><td valign="top"><em>plotRect</em>&nbsp;</td><td>Rect where to place the components </td></tr>
612
 
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>Options</td></tr>
613
 
  </table>
614
 
</dl>
615
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate()</a>, <a class="el" href="class_qwt_plot_layout.html#93989bd7dbf8c420bd1dc0e493504f53">titleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#03b69bb4413ff7b20ed4f8cbfc003e89">legendRect()</a>, <a class="el" href="class_qwt_plot_layout.html#350bb42101aa3a1a76ebd3eac70b9c42">scaleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#4a9dbf29dd65a72296f9870f8cc7f157">canvasRect()</a> </dd></dl>
616
 
 
617
 
<p>
618
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">1022</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
619
 
<p>
620
 
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00708">alignLegend()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00849">alignScales()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00743">expandLineBreaks()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00451">invalidate()</a>, <a class="el" href="qwt__legend_8cpp-source.html#l00617">QwtLegend::isEmpty()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00647">layoutLegend()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00257">QwtPlot::legend()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00427">scaleRect()</a>.
621
 
</div>
622
 
</div><p>
623
 
<a class="anchor" name="44ce72879951571ffe4daa95be0ec242"></a><!-- doxytag: member="QwtPlotLayout::invalidate" ref="44ce72879951571ffe4daa95be0ec242" args="()" -->
624
 
<div class="memitem">
625
 
<div class="memproto">
626
 
      <table class="memname">
627
 
        <tr>
628
 
          <td class="memname">void QwtPlotLayout::invalidate           </td>
629
 
          <td>(</td>
630
 
          <td class="paramname">          </td>
631
 
          <td>&nbsp;)&nbsp;</td>
632
 
          <td width="100%"><code> [virtual]</code></td>
633
 
        </tr>
634
 
      </table>
635
 
</div>
636
 
<div class="memdoc">
637
 
 
638
 
<p>
639
 
Invalidate the geometry of all components. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a> </dd></dl>
640
 
 
641
 
<p>
642
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00451">451</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
643
 
<p>
644
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00182">QwtPlotLayout()</a>.
645
 
</div>
646
 
</div><p>
647
 
<a class="anchor" name="93989bd7dbf8c420bd1dc0e493504f53"></a><!-- doxytag: member="QwtPlotLayout::titleRect" ref="93989bd7dbf8c420bd1dc0e493504f53" args="() const" -->
648
 
<div class="memitem">
649
 
<div class="memproto">
650
 
      <table class="memname">
651
 
        <tr>
652
 
          <td class="memname">const QRect &amp; QwtPlotLayout::titleRect           </td>
653
 
          <td>(</td>
654
 
          <td class="paramname">          </td>
655
 
          <td>&nbsp;)&nbsp;</td>
656
 
          <td width="100%"> const</td>
657
 
        </tr>
658
 
      </table>
659
 
</div>
660
 
<div class="memdoc">
661
 
 
662
 
<p>
663
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the title </dd></dl>
664
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
665
 
 
666
 
<p>
667
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00406">406</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
668
 
</div>
669
 
</div><p>
670
 
<a class="anchor" name="03b69bb4413ff7b20ed4f8cbfc003e89"></a><!-- doxytag: member="QwtPlotLayout::legendRect" ref="03b69bb4413ff7b20ed4f8cbfc003e89" args="() const" -->
671
 
<div class="memitem">
672
 
<div class="memproto">
673
 
      <table class="memname">
674
 
        <tr>
675
 
          <td class="memname">const QRect &amp; QwtPlotLayout::legendRect           </td>
676
 
          <td>(</td>
677
 
          <td class="paramname">          </td>
678
 
          <td>&nbsp;)&nbsp;</td>
679
 
          <td width="100%"> const</td>
680
 
        </tr>
681
 
      </table>
682
 
</div>
683
 
<div class="memdoc">
684
 
 
685
 
<p>
686
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the legend </dd></dl>
687
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
688
 
 
689
 
<p>
690
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00416">416</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
691
 
<p>
692
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00647">layoutLegend()</a>.
693
 
</div>
694
 
</div><p>
695
 
<a class="anchor" name="350bb42101aa3a1a76ebd3eac70b9c42"></a><!-- doxytag: member="QwtPlotLayout::scaleRect" ref="350bb42101aa3a1a76ebd3eac70b9c42" args="(int axis) const" -->
696
 
<div class="memitem">
697
 
<div class="memproto">
698
 
      <table class="memname">
699
 
        <tr>
700
 
          <td class="memname">const QRect &amp; QwtPlotLayout::scaleRect           </td>
701
 
          <td>(</td>
702
 
          <td class="paramtype">int&nbsp;</td>
703
 
          <td class="paramname"> <em>axis</em>          </td>
704
 
          <td>&nbsp;)&nbsp;</td>
705
 
          <td width="100%"> const</td>
706
 
        </tr>
707
 
      </table>
708
 
</div>
709
 
<div class="memdoc">
710
 
 
711
 
<p>
712
 
<dl compact><dt><b>Parameters:</b></dt><dd>
713
 
  <table border="0" cellspacing="2" cellpadding="0">
714
 
    <tr><td valign="top"></td><td valign="top"><em>axis</em>&nbsp;</td><td>Axis index </td></tr>
715
 
  </table>
716
 
</dl>
717
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the scale </dd></dl>
718
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
719
 
 
720
 
<p>
721
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00427">427</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
722
 
<p>
723
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00849">alignScales()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">QwtPlot::print()</a>.
724
 
</div>
725
 
</div><p>
726
 
<a class="anchor" name="4a9dbf29dd65a72296f9870f8cc7f157"></a><!-- doxytag: member="QwtPlotLayout::canvasRect" ref="4a9dbf29dd65a72296f9870f8cc7f157" args="() const" -->
727
 
<div class="memitem">
728
 
<div class="memproto">
729
 
      <table class="memname">
730
 
        <tr>
731
 
          <td class="memname">const QRect &amp; QwtPlotLayout::canvasRect           </td>
732
 
          <td>(</td>
733
 
          <td class="paramname">          </td>
734
 
          <td>&nbsp;)&nbsp;</td>
735
 
          <td width="100%"> const</td>
736
 
        </tr>
737
 
      </table>
738
 
</div>
739
 
<div class="memdoc">
740
 
 
741
 
<p>
742
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the canvas </dd></dl>
743
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
744
 
 
745
 
<p>
746
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00442">442</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
747
 
<p>
748
 
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">QwtPlot::print()</a>.
749
 
</div>
750
 
</div><p>
751
 
<a class="anchor" name="a4071432ec71dd859864a4974725712f"></a><!-- doxytag: member="QwtPlotLayout::layoutLegend" ref="a4071432ec71dd859864a4974725712f" args="(int options, const QRect &amp;) const" -->
752
 
<div class="memitem">
753
 
<div class="memproto">
754
 
      <table class="memname">
755
 
        <tr>
756
 
          <td class="memname">QRect QwtPlotLayout::layoutLegend           </td>
757
 
          <td>(</td>
758
 
          <td class="paramtype">int&nbsp;</td>
759
 
          <td class="paramname"> <em>options</em>, </td>
760
 
        </tr>
761
 
        <tr>
762
 
          <td class="paramkey"></td>
763
 
          <td></td>
764
 
          <td class="paramtype">const QRect &amp;&nbsp;</td>
765
 
          <td class="paramname"> <em>rect</em></td><td>&nbsp;</td>
766
 
        </tr>
767
 
        <tr>
768
 
          <td></td>
769
 
          <td>)</td>
770
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
771
 
        </tr>
772
 
      </table>
773
 
</div>
774
 
<div class="memdoc">
775
 
 
776
 
<p>
777
 
Find the geometry for the legend <dl compact><dt><b>Parameters:</b></dt><dd>
778
 
  <table border="0" cellspacing="2" cellpadding="0">
779
 
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>Options how to layout the legend </td></tr>
780
 
    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>Rectangle where to place the legend </td></tr>
781
 
  </table>
782
 
</dl>
783
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the legend </dd></dl>
784
 
 
785
 
<p>
786
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00647">647</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
787
 
<p>
788
 
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00416">legendRect()</a>.
789
 
<p>
790
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
791
 
</div>
792
 
</div><p>
793
 
<a class="anchor" name="311a327277c530c43c636c7c8ca6a710"></a><!-- doxytag: member="QwtPlotLayout::alignLegend" ref="311a327277c530c43c636c7c8ca6a710" args="(const QRect &amp;canvasRect, const QRect &amp;legendRect) const" -->
794
 
<div class="memitem">
795
 
<div class="memproto">
796
 
      <table class="memname">
797
 
        <tr>
798
 
          <td class="memname">QRect QwtPlotLayout::alignLegend           </td>
799
 
          <td>(</td>
800
 
          <td class="paramtype">const QRect &amp;&nbsp;</td>
801
 
          <td class="paramname"> <em>canvasRect</em>, </td>
802
 
        </tr>
803
 
        <tr>
804
 
          <td class="paramkey"></td>
805
 
          <td></td>
806
 
          <td class="paramtype">const QRect &amp;&nbsp;</td>
807
 
          <td class="paramname"> <em>legendRect</em></td><td>&nbsp;</td>
808
 
        </tr>
809
 
        <tr>
810
 
          <td></td>
811
 
          <td>)</td>
812
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
813
 
        </tr>
814
 
      </table>
815
 
</div>
816
 
<div class="memdoc">
817
 
 
818
 
<p>
819
 
Align the legend to the canvas <dl compact><dt><b>Parameters:</b></dt><dd>
820
 
  <table border="0" cellspacing="2" cellpadding="0">
821
 
    <tr><td valign="top"></td><td valign="top"><em>canvasRect</em>&nbsp;</td><td>Geometry of the canvas </td></tr>
822
 
    <tr><td valign="top"></td><td valign="top"><em>legendRect</em>&nbsp;</td><td>Maximum geometry for the legend </td></tr>
823
 
  </table>
824
 
</dl>
825
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the aligned legend </dd></dl>
826
 
 
827
 
<p>
828
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00708">708</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
829
 
<p>
830
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
831
 
</div>
832
 
</div><p>
833
 
<a class="anchor" name="42d2dc0e6f4811e250ad6b34cf992602"></a><!-- doxytag: member="QwtPlotLayout::expandLineBreaks" ref="42d2dc0e6f4811e250ad6b34cf992602" args="(int options, const QRect &amp;rect, int &amp;dimTitle, int dimAxes[QwtPlot::axisCnt]) const" -->
834
 
<div class="memitem">
835
 
<div class="memproto">
836
 
      <table class="memname">
837
 
        <tr>
838
 
          <td class="memname">void QwtPlotLayout::expandLineBreaks           </td>
839
 
          <td>(</td>
840
 
          <td class="paramtype">int&nbsp;</td>
841
 
          <td class="paramname"> <em>options</em>, </td>
842
 
        </tr>
843
 
        <tr>
844
 
          <td class="paramkey"></td>
845
 
          <td></td>
846
 
          <td class="paramtype">const QRect &amp;&nbsp;</td>
847
 
          <td class="paramname"> <em>rect</em>, </td>
848
 
        </tr>
849
 
        <tr>
850
 
          <td class="paramkey"></td>
851
 
          <td></td>
852
 
          <td class="paramtype">int &amp;&nbsp;</td>
853
 
          <td class="paramname"> <em>dimTitle</em>, </td>
854
 
        </tr>
855
 
        <tr>
856
 
          <td class="paramkey"></td>
857
 
          <td></td>
858
 
          <td class="paramtype">int&nbsp;</td>
859
 
          <td class="paramname"> <em>dimAxis</em>[QwtPlot::axisCnt]</td><td>&nbsp;</td>
860
 
        </tr>
861
 
        <tr>
862
 
          <td></td>
863
 
          <td>)</td>
864
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
865
 
        </tr>
866
 
      </table>
867
 
</div>
868
 
<div class="memdoc">
869
 
 
870
 
<p>
871
 
Expand all line breaks in text labels, and calculate the height of their widgets in orientation of the text.<p>
872
 
<dl compact><dt><b>Parameters:</b></dt><dd>
873
 
  <table border="0" cellspacing="2" cellpadding="0">
874
 
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>Options how to layout the legend </td></tr>
875
 
    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>Bounding rect for title, axes and canvas. </td></tr>
876
 
    <tr><td valign="top"></td><td valign="top"><em>dimTitle</em>&nbsp;</td><td>Expanded height of the title widget </td></tr>
877
 
    <tr><td valign="top"></td><td valign="top"><em>dimAxis</em>&nbsp;</td><td>Expanded heights of the axis in axis orientation. </td></tr>
878
 
  </table>
879
 
</dl>
880
 
 
881
 
<p>
882
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00743">743</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
883
 
<p>
884
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
885
 
</div>
886
 
</div><p>
887
 
<a class="anchor" name="78e0ad31b623188290ff73dfc913f594"></a><!-- doxytag: member="QwtPlotLayout::alignScales" ref="78e0ad31b623188290ff73dfc913f594" args="(int options, QRect &amp;canvasRect, QRect scaleRect[QwtPlot::axisCnt]) const" -->
888
 
<div class="memitem">
889
 
<div class="memproto">
890
 
      <table class="memname">
891
 
        <tr>
892
 
          <td class="memname">void QwtPlotLayout::alignScales           </td>
893
 
          <td>(</td>
894
 
          <td class="paramtype">int&nbsp;</td>
895
 
          <td class="paramname"> <em>options</em>, </td>
896
 
        </tr>
897
 
        <tr>
898
 
          <td class="paramkey"></td>
899
 
          <td></td>
900
 
          <td class="paramtype">QRect &amp;&nbsp;</td>
901
 
          <td class="paramname"> <em>canvasRect</em>, </td>
902
 
        </tr>
903
 
        <tr>
904
 
          <td class="paramkey"></td>
905
 
          <td></td>
906
 
          <td class="paramtype">QRect&nbsp;</td>
907
 
          <td class="paramname"> <em>scaleRect</em>[QwtPlot::axisCnt]</td><td>&nbsp;</td>
908
 
        </tr>
909
 
        <tr>
910
 
          <td></td>
911
 
          <td>)</td>
912
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
913
 
        </tr>
914
 
      </table>
915
 
</div>
916
 
<div class="memdoc">
917
 
 
918
 
<p>
919
 
Align the ticks of the axis to the canvas borders using the empty corners. 
920
 
<p>
921
 
Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00849">849</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.
922
 
<p>
923
 
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00427">scaleRect()</a>.
924
 
<p>
925
 
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
926
 
</div>
927
 
</div><p>
928
 
<hr size="1"><address style="align: right;"><small>Generated on Sat May 24 18:48:43 2008 for Qwt User's Guide by&nbsp;
929
 
<a href="http://www.doxygen.org/index.html">
930
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
931
 
</body>
932
 
</html>