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'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">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main 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 Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
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>.
25
Organizes the geometry for the different <a class="el" href="class_qwt_plot.html">QwtPlot</a> components.
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">
31
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
32
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#646296ab0befcaf043ba14b6eb83114d">Options</a> { <br>
33
<b>AlignScales</b> = 1,
35
<b>IgnoreScrollbars</b> = 2,
37
<b>IgnoreFrames</b> = 4,
39
<b>IgnoreMargin</b> = 8,
41
<b>IgnoreLegend</b> = 16,
43
<b>PrintMargin</b> = 1,
45
<b>PrintTitle</b> = 2,
47
<b>PrintLegend</b> = 4,
49
<b>PrintGrid</b> = 8,
51
<b>PrintBackground</b> = 16,
53
<b>PrintFrameWithScales</b> = 32,
55
<b>PrintAll</b> = ~PrintFrameWithScales
59
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#c89596fb2a3d3a92901f124821045a47">QwtPlotLayout</a> ()</td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#39653485c638535bc11f50d2e5ef936d">~QwtPlotLayout</a> ()</td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#67fc75a6f4c4d368d629841df1c5e6a5">setMargin</a> (int)</td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#cd383d112d14e13d0c9a4371ef4ce7de">margin</a> () const</td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#1cf0064eb5a13e05c6db530c9269728d">canvasMargin</a> (int axis) const</td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#147fcf4c59b34779b5a7dc7361a3b6c3">setAlignCanvasToScales</a> (bool)</td></tr>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#4b172aaca3931bcbb56ec600008e1653">alignCanvasToScales</a> () const</td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#6508553ec1d66bede49e7767526c3d03">setSpacing</a> (int)</td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#1fad9d271b40d6b6e68918d92eb64d02">spacing</a> () const</td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#49106b180459ae7ee4b7f486cbb196e8">legendPosition</a> () const</td></tr>
86
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#abe9f952046139667e055c661bee4dbb">setLegendRatio</a> (double ratio)</td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#88440049820ccdd146e3b77bbf321e00">legendRatio</a> () const</td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </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>
92
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </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 &rect, int options=0)</td></tr>
94
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate</a> ()</td></tr>
96
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#93989bd7dbf8c420bd1dc0e493504f53">titleRect</a> () const</td></tr>
98
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#03b69bb4413ff7b20ed4f8cbfc003e89">legendRect</a> () const</td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#350bb42101aa3a1a76ebd3eac70b9c42">scaleRect</a> (int axis) const</td></tr>
102
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QRect & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#4a9dbf29dd65a72296f9870f8cc7f157">canvasRect</a> () const</td></tr>
104
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
105
<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a4071432ec71dd859864a4974725712f">layoutLegend</a> (int options, const QRect &) const</td></tr>
107
<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#311a327277c530c43c636c7c8ca6a710">alignLegend</a> (const QRect &canvasRect, const QRect &legendRect) const</td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#42d2dc0e6f4811e250ad6b34cf992602">expandLineBreaks</a> (int options, const QRect &rect, int &dimTitle, int dimAxes[QwtPlot::axisCnt]) const</td></tr>
111
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#78e0ad31b623188290ff73dfc913f594">alignScales</a> (int options, QRect &canvasRect, QRect scaleRect[QwtPlot::axisCnt]) const</td></tr>
114
<hr><h2>Constructor & 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">
120
<td class="memname">QwtPlotLayout::QwtPlotLayout </td>
122
<td class="paramname"> </td>
123
<td> ) </td>
124
<td width="100%"><code> [explicit]</code></td>
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>.
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>.
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">
145
<td class="memname">QwtPlotLayout::~QwtPlotLayout </td>
147
<td class="paramname"> </td>
148
<td> ) </td>
149
<td width="100%"><code> [virtual]</code></td>
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>.
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">
169
<td class="memname">void QwtPlotLayout::setMargin </td>
171
<td class="paramtype">int </td>
172
<td class="paramname"> <em>margin</em> </td>
173
<td> ) </td>
174
<td width="100%"></td>
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> </td><td>new margin </td></tr>
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>
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>.
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">
198
<td class="memname">int QwtPlotLayout::margin </td>
200
<td class="paramname"> </td>
201
<td> ) </td>
202
<td width="100%"> const</td>
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>
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>.
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">
221
<td class="memname">void QwtPlotLayout::setCanvasMargin </td>
223
<td class="paramtype">int </td>
224
<td class="paramname"> <em>margin</em>, </td>
227
<td class="paramkey"></td>
229
<td class="paramtype">int </td>
230
<td class="paramname"> <em>axis</em> = <code>-1</code></td><td> </td>
235
<td></td><td></td><td width="100%"></td>
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> </td><td>New margin </td></tr>
246
<tr><td valign="top"></td><td valign="top"><em>axis</em> </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>
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>
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>.
255
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00182">QwtPlotLayout()</a>.
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">
263
<td class="memname">int QwtPlotLayout::canvasMargin </td>
265
<td class="paramtype">int </td>
266
<td class="paramname"> <em>axis</em> </td>
267
<td> ) </td>
268
<td width="100%"> const</td>
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>
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>.
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>.
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">
289
<td class="memname">void QwtPlotLayout::setAlignCanvasToScales </td>
291
<td class="paramtype">bool </td>
292
<td class="paramname"> <em>alignCanvasToScales</em> </td>
293
<td> ) </td>
294
<td width="100%"></td>
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>
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> </td><td>New align-canvas-to-axis-scales setting</td></tr>
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>
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>.
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">
322
<td class="memname">bool QwtPlotLayout::alignCanvasToScales </td>
324
<td class="paramname"> </td>
325
<td> ) </td>
326
<td width="100%"> const</td>
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>
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>
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>.
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">
349
<td class="memname">void QwtPlotLayout::setSpacing </td>
351
<td class="paramtype">int </td>
352
<td class="paramname"> <em>spacing</em> </td>
353
<td> ) </td>
354
<td width="100%"></td>
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> </td><td>new spacing </td></tr>
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>
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>.
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">
378
<td class="memname">int QwtPlotLayout::spacing </td>
380
<td class="paramname"> </td>
381
<td> ) </td>
382
<td width="100%"> const</td>
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>
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>.
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">
401
<td class="memname">void QwtPlotLayout::setLegendPosition </td>
403
<td class="paramtype"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td>
404
<td class="paramname"> <em>pos</em>, </td>
407
<td class="paramkey"></td>
409
<td class="paramtype">double </td>
410
<td class="paramname"> <em>ratio</em></td><td> </td>
415
<td></td><td></td><td width="100%"></td>
422
Specify the position of the legend.
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> </td><td>The legend's position. </td></tr>
427
<tr><td valign="top"></td><td valign="top"><em>ratio</em> </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 <= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5.</td></tr>
430
<dl class="see" compact><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl>
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>.
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>.
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">
443
<td class="memname">void QwtPlotLayout::setLegendPosition </td>
445
<td class="paramtype"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td>
446
<td class="paramname"> <em>pos</em> </td>
447
<td> ) </td>
448
<td width="100%"></td>
455
Specify the position of the legend.
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> </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>
462
<dl class="see" compact><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl>
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>.
467
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00326">setLegendPosition()</a>.
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">
475
<td class="memname"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> QwtPlotLayout::legendPosition </td>
477
<td class="paramname"> </td>
478
<td> ) </td>
479
<td width="100%"> const</td>
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>
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>.
492
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00387">setLegendRatio()</a>.
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">
500
<td class="memname">void QwtPlotLayout::setLegendRatio </td>
502
<td class="paramtype">double </td>
503
<td class="paramname"> <em>ratio</em> </td>
504
<td> ) </td>
505
<td width="100%"></td>
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> </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 <= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5. </td></tr>
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>.
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>.
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">
529
<td class="memname">double QwtPlotLayout::legendRatio </td>
531
<td class="paramname"> </td>
532
<td> ) </td>
533
<td width="100%"> const</td>
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>
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>.
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">
552
<td class="memname">QSize QwtPlotLayout::minimumSizeHint </td>
554
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td>
555
<td class="paramname"> <em>plot</em> </td>
556
<td> ) </td>
557
<td width="100%"> const<code> [virtual]</code></td>
564
Return a minimum size hint.
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>
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>.
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>.
574
<a class="anchor" name="4ccba7e8e8a857cd1e16d2a68f9bcbcb"></a><!-- doxytag: member="QwtPlotLayout::activate" ref="4ccba7e8e8a857cd1e16d2a68f9bcbcb" args="(const QwtPlot *, const QRect &rect, int options=0)" -->
575
<div class="memitem">
576
<div class="memproto">
577
<table class="memname">
579
<td class="memname">void QwtPlotLayout::activate </td>
581
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td>
582
<td class="paramname"> <em>plot</em>, </td>
585
<td class="paramkey"></td>
587
<td class="paramtype">const QRect & </td>
588
<td class="paramname"> <em>plotRect</em>, </td>
591
<td class="paramkey"></td>
593
<td class="paramtype">int </td>
594
<td class="paramname"> <em>options</em> = <code>0</code></td><td> </td>
599
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
606
Recalculate the geometry of all components.
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> </td><td>Plot to be layout </td></tr>
611
<tr><td valign="top"></td><td valign="top"><em>plotRect</em> </td><td>Rect where to place the components </td></tr>
612
<tr><td valign="top"></td><td valign="top"><em>options</em> </td><td>Options</td></tr>
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>
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>.
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>.
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">
628
<td class="memname">void QwtPlotLayout::invalidate </td>
630
<td class="paramname"> </td>
631
<td> ) </td>
632
<td width="100%"><code> [virtual]</code></td>
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>
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>.
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>.
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">
652
<td class="memname">const QRect & QwtPlotLayout::titleRect </td>
654
<td class="paramname"> </td>
655
<td> ) </td>
656
<td width="100%"> const</td>
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>
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>.
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">
675
<td class="memname">const QRect & QwtPlotLayout::legendRect </td>
677
<td class="paramname"> </td>
678
<td> ) </td>
679
<td width="100%"> const</td>
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>
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>.
692
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00647">layoutLegend()</a>.
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">
700
<td class="memname">const QRect & QwtPlotLayout::scaleRect </td>
702
<td class="paramtype">int </td>
703
<td class="paramname"> <em>axis</em> </td>
704
<td> ) </td>
705
<td width="100%"> const</td>
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> </td><td>Axis index </td></tr>
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>
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>.
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>.
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">
731
<td class="memname">const QRect & QwtPlotLayout::canvasRect </td>
733
<td class="paramname"> </td>
734
<td> ) </td>
735
<td width="100%"> const</td>
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>
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>.
748
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">QwtPlot::print()</a>.
751
<a class="anchor" name="a4071432ec71dd859864a4974725712f"></a><!-- doxytag: member="QwtPlotLayout::layoutLegend" ref="a4071432ec71dd859864a4974725712f" args="(int options, const QRect &) const" -->
752
<div class="memitem">
753
<div class="memproto">
754
<table class="memname">
756
<td class="memname">QRect QwtPlotLayout::layoutLegend </td>
758
<td class="paramtype">int </td>
759
<td class="paramname"> <em>options</em>, </td>
762
<td class="paramkey"></td>
764
<td class="paramtype">const QRect & </td>
765
<td class="paramname"> <em>rect</em></td><td> </td>
770
<td></td><td></td><td width="100%"> const<code> [protected]</code></td>
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> </td><td>Options how to layout the legend </td></tr>
780
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Rectangle where to place the legend </td></tr>
783
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the legend </dd></dl>
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>.
788
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00416">legendRect()</a>.
790
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
793
<a class="anchor" name="311a327277c530c43c636c7c8ca6a710"></a><!-- doxytag: member="QwtPlotLayout::alignLegend" ref="311a327277c530c43c636c7c8ca6a710" args="(const QRect &canvasRect, const QRect &legendRect) const" -->
794
<div class="memitem">
795
<div class="memproto">
796
<table class="memname">
798
<td class="memname">QRect QwtPlotLayout::alignLegend </td>
800
<td class="paramtype">const QRect & </td>
801
<td class="paramname"> <em>canvasRect</em>, </td>
804
<td class="paramkey"></td>
806
<td class="paramtype">const QRect & </td>
807
<td class="paramname"> <em>legendRect</em></td><td> </td>
812
<td></td><td></td><td width="100%"> const<code> [protected]</code></td>
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> </td><td>Geometry of the canvas </td></tr>
822
<tr><td valign="top"></td><td valign="top"><em>legendRect</em> </td><td>Maximum geometry for the legend </td></tr>
825
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Geometry for the aligned legend </dd></dl>
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>.
830
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
833
<a class="anchor" name="42d2dc0e6f4811e250ad6b34cf992602"></a><!-- doxytag: member="QwtPlotLayout::expandLineBreaks" ref="42d2dc0e6f4811e250ad6b34cf992602" args="(int options, const QRect &rect, int &dimTitle, int dimAxes[QwtPlot::axisCnt]) const" -->
834
<div class="memitem">
835
<div class="memproto">
836
<table class="memname">
838
<td class="memname">void QwtPlotLayout::expandLineBreaks </td>
840
<td class="paramtype">int </td>
841
<td class="paramname"> <em>options</em>, </td>
844
<td class="paramkey"></td>
846
<td class="paramtype">const QRect & </td>
847
<td class="paramname"> <em>rect</em>, </td>
850
<td class="paramkey"></td>
852
<td class="paramtype">int & </td>
853
<td class="paramname"> <em>dimTitle</em>, </td>
856
<td class="paramkey"></td>
858
<td class="paramtype">int </td>
859
<td class="paramname"> <em>dimAxis</em>[QwtPlot::axisCnt]</td><td> </td>
864
<td></td><td></td><td width="100%"> const<code> [protected]</code></td>
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> </td><td>Options how to layout the legend </td></tr>
875
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rect for title, axes and canvas. </td></tr>
876
<tr><td valign="top"></td><td valign="top"><em>dimTitle</em> </td><td>Expanded height of the title widget </td></tr>
877
<tr><td valign="top"></td><td valign="top"><em>dimAxis</em> </td><td>Expanded heights of the axis in axis orientation. </td></tr>
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>.
884
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
887
<a class="anchor" name="78e0ad31b623188290ff73dfc913f594"></a><!-- doxytag: member="QwtPlotLayout::alignScales" ref="78e0ad31b623188290ff73dfc913f594" args="(int options, QRect &canvasRect, QRect scaleRect[QwtPlot::axisCnt]) const" -->
888
<div class="memitem">
889
<div class="memproto">
890
<table class="memname">
892
<td class="memname">void QwtPlotLayout::alignScales </td>
894
<td class="paramtype">int </td>
895
<td class="paramname"> <em>options</em>, </td>
898
<td class="paramkey"></td>
900
<td class="paramtype">QRect & </td>
901
<td class="paramname"> <em>canvasRect</em>, </td>
904
<td class="paramkey"></td>
906
<td class="paramtype">QRect </td>
907
<td class="paramname"> <em>scaleRect</em>[QwtPlot::axisCnt]</td><td> </td>
912
<td></td><td></td><td width="100%"> const<code> [protected]</code></td>
919
Align the ticks of the axis to the canvas borders using the empty corners.
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>.
923
References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00427">scaleRect()</a>.
925
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">activate()</a>.
928
<hr size="1"><address style="align: right;"><small>Generated on Sat May 24 18:48:43 2008 for Qwt User's Guide by
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>