Files
qwt/doc/html/class_qwt_plot_rescaler.html
2023-10-31 09:22:42 +01:00

1153 lines
62 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtPlotRescaler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Qwt User&#39;s Guide
&#160;<span id="projectnumber">6.2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_plot_rescaler.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_qwt_plot_rescaler-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">QwtPlotRescaler Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="class_qwt_plot_rescaler.html" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales.">QwtPlotRescaler</a> takes care of fixed aspect ratios for plot scales.
<a href="class_qwt_plot_rescaler.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="qwt__plot__rescaler_8h_source.html">qwt_plot_rescaler.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotRescaler:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_plot_rescaler__inherit__graph.svg" width="131" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a6a614b832876a7641cb5410ba81d9d6a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a> { <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aab8f9ce10c092bee12de74b05a46b6e9c">Fixed</a>
, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1">Expanding</a>
, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aa30a43b11d9df23f66110b65d1e249db1">Fitting</a>
}</td></tr>
<tr class="separator:a6a614b832876a7641cb5410ba81d9d6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c314e9513cef076a79381111aa67585"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a> { <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585a10adc202ca84a06179b905db6802668c">ExpandUp</a>
, <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585a856d9a1fe75ed6398a1b3c4b60f3fbfd">ExpandDown</a>
, <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585a3dfb8208dfb62200761e4221763db033">ExpandBoth</a>
}</td></tr>
<tr class="separator:a1c314e9513cef076a79381111aa67585"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa1ce3d8e9175773aef7aba6c6ea51f27"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aa1ce3d8e9175773aef7aba6c6ea51f27">QwtPlotRescaler</a> (QWidget *<a class="el" href="class_qwt_plot_rescaler.html#ad4aa9bf81032b822b848774ee21142ce">canvas</a>, QwtAxisId <a class="el" href="class_qwt_plot_rescaler.html#a001fcaffb3c05dacaa1b82d0847db9c9">referenceAxis</a>=<a class="el" href="namespace_qwt_axis.html#a3dadce451809a6f77e44d81abef8c8d8ab9f573fe3ce8eb0c41a5fa66f5ae2aaa">QwtAxis::XBottom</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>=<a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1">Expanding</a>)</td></tr>
<tr class="separator:aa1ce3d8e9175773aef7aba6c6ea51f27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae34a0dbae9074c211f36c765142d8ddd"><td class="memItemLeft" align="right" valign="top"><a id="ae34a0dbae9074c211f36c765142d8ddd"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae34a0dbae9074c211f36c765142d8ddd">~QwtPlotRescaler</a> ()</td></tr>
<tr class="memdesc:ae34a0dbae9074c211f36c765142d8ddd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ae34a0dbae9074c211f36c765142d8ddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1c886d127ec4943552170dc63edf29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a6f1c886d127ec4943552170dc63edf29">setEnabled</a> (bool)</td></tr>
<tr class="memdesc:a6f1c886d127ec4943552170dc63edf29"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/disable the rescaler. <a href="class_qwt_plot_rescaler.html#a6f1c886d127ec4943552170dc63edf29">More...</a><br /></td></tr>
<tr class="separator:a6f1c886d127ec4943552170dc63edf29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85a9b40054acaab051f3679db1547b81"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a85a9b40054acaab051f3679db1547b81">isEnabled</a> () const</td></tr>
<tr class="separator:a85a9b40054acaab051f3679db1547b81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6b7df41b5387d0aed532559546e40b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae6b7df41b5387d0aed532559546e40b6">setRescalePolicy</a> (<a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>)</td></tr>
<tr class="separator:ae6b7df41b5387d0aed532559546e40b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5a49fa34b071da28517efe6212d81ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ac5a49fa34b071da28517efe6212d81ea">rescalePolicy</a> () const</td></tr>
<tr class="separator:ac5a49fa34b071da28517efe6212d81ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2ecffbc14d951ab9f1809c14bc4e21b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aa2ecffbc14d951ab9f1809c14bc4e21b">setExpandingDirection</a> (<a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>)</td></tr>
<tr class="separator:aa2ecffbc14d951ab9f1809c14bc4e21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e245488207ca6996247236f5158fdfe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a1e245488207ca6996247236f5158fdfe">setExpandingDirection</a> (QwtAxisId, <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>)</td></tr>
<tr class="separator:a1e245488207ca6996247236f5158fdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b9504b21a4a0e58b7fece16fe1da434"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a2b9504b21a4a0e58b7fece16fe1da434">expandingDirection</a> (QwtAxisId) const</td></tr>
<tr class="separator:a2b9504b21a4a0e58b7fece16fe1da434"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6e974481a36e28d4be15ed6bc871561"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae6e974481a36e28d4be15ed6bc871561">setReferenceAxis</a> (QwtAxisId)</td></tr>
<tr class="separator:ae6e974481a36e28d4be15ed6bc871561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a001fcaffb3c05dacaa1b82d0847db9c9"><td class="memItemLeft" align="right" valign="top">QwtAxisId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a001fcaffb3c05dacaa1b82d0847db9c9">referenceAxis</a> () const</td></tr>
<tr class="separator:a001fcaffb3c05dacaa1b82d0847db9c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31f71937b4cff3e60f74db83beb6d2de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a31f71937b4cff3e60f74db83beb6d2de">setAspectRatio</a> (double ratio)</td></tr>
<tr class="separator:a31f71937b4cff3e60f74db83beb6d2de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94273b7f54bb6d2a6a65589ff383f4c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a94273b7f54bb6d2a6a65589ff383f4c8">setAspectRatio</a> (QwtAxisId, double ratio)</td></tr>
<tr class="separator:a94273b7f54bb6d2a6a65589ff383f4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a967c144b0f165e9501dac8b05df243bf"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a967c144b0f165e9501dac8b05df243bf">aspectRatio</a> (QwtAxisId) const</td></tr>
<tr class="separator:a967c144b0f165e9501dac8b05df243bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07036d67ae897ebe95be5495598e468c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a07036d67ae897ebe95be5495598e468c">setIntervalHint</a> (QwtAxisId, const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;)</td></tr>
<tr class="separator:a07036d67ae897ebe95be5495598e468c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e7afcdf8a843dc3fe44abe65b444065"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a0e7afcdf8a843dc3fe44abe65b444065">intervalHint</a> (QwtAxisId) const</td></tr>
<tr class="separator:a0e7afcdf8a843dc3fe44abe65b444065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4aa9bf81032b822b848774ee21142ce"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ad4aa9bf81032b822b848774ee21142ce">canvas</a> ()</td></tr>
<tr class="separator:ad4aa9bf81032b822b848774ee21142ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49e3d4084037f6786c5bb6a8d2c78047"><td class="memItemLeft" align="right" valign="top">const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a49e3d4084037f6786c5bb6a8d2c78047">canvas</a> () const</td></tr>
<tr class="separator:a49e3d4084037f6786c5bb6a8d2c78047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7a946dd53744e4640be383cd161a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aca7a946dd53744e4640be383cd161a7c">plot</a> ()</td></tr>
<tr class="separator:aca7a946dd53744e4640be383cd161a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae54220a61cab777a6cb60103091a0aa3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae54220a61cab777a6cb60103091a0aa3">plot</a> () const</td></tr>
<tr class="separator:ae54220a61cab777a6cb60103091a0aa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66bf6632ed98a2145d33ff46cea510fc"><td class="memItemLeft" align="right" valign="top"><a id="a66bf6632ed98a2145d33ff46cea510fc"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a66bf6632ed98a2145d33ff46cea510fc">eventFilter</a> (QObject *, QEvent *) override</td></tr>
<tr class="memdesc:a66bf6632ed98a2145d33ff46cea510fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event filter for the plot canvas. <br /></td></tr>
<tr class="separator:a66bf6632ed98a2145d33ff46cea510fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b1840575eb6812c23acd9be199e5df"><td class="memItemLeft" align="right" valign="top"><a id="af4b1840575eb6812c23acd9be199e5df"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#af4b1840575eb6812c23acd9be199e5df">rescale</a> () const</td></tr>
<tr class="memdesc:af4b1840575eb6812c23acd9be199e5df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the plot axes scales. <br /></td></tr>
<tr class="separator:af4b1840575eb6812c23acd9be199e5df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a5490a4a1b576b1118c095cc54810e2aa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a5490a4a1b576b1118c095cc54810e2aa">canvasResizeEvent</a> (QResizeEvent *)</td></tr>
<tr class="separator:a5490a4a1b576b1118c095cc54810e2aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a98f9c7a1102e486ce81a2833799155"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a1a98f9c7a1102e486ce81a2833799155">rescale</a> (const QSize &amp;oldSize, const QSize &amp;newSize) const</td></tr>
<tr class="separator:a1a98f9c7a1102e486ce81a2833799155"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a483023eca66dced4e806f1cd33ee5a35"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a483023eca66dced4e806f1cd33ee5a35">expandScale</a> (QwtAxisId, const QSize &amp;oldSize, const QSize &amp;newSize) const</td></tr>
<tr class="separator:a483023eca66dced4e806f1cd33ee5a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bc7b93437246ce733c23c808e0f8c57"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a7bc7b93437246ce733c23c808e0f8c57">syncScale</a> (QwtAxisId, const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;reference, const QSize &amp;size) const</td></tr>
<tr class="separator:a7bc7b93437246ce733c23c808e0f8c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a5e0cb38c63c986f59981a02cd9d5bb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a7a5e0cb38c63c986f59981a02cd9d5bb">updateScales</a> (<a class="el" href="class_qwt_interval.html">QwtInterval</a> intervals[QwtAxis::AxisPositions]) const</td></tr>
<tr class="separator:a7a5e0cb38c63c986f59981a02cd9d5bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7173f9e9e1d8a3c619f58c3993285a8a"><td class="memItemLeft" align="right" valign="top">Qt::Orientation&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a7173f9e9e1d8a3c619f58c3993285a8a">orientation</a> (QwtAxisId) const</td></tr>
<tr class="separator:a7173f9e9e1d8a3c619f58c3993285a8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a776307286ffe7600016c277e161090d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a776307286ffe7600016c277e161090d5">interval</a> (QwtAxisId) const</td></tr>
<tr class="separator:a776307286ffe7600016c277e161090d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dfd3bd03394c66ede8e37478d32784c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a3dfd3bd03394c66ede8e37478d32784c">expandInterval</a> (const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;, double width, <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>) const</td></tr>
<tr class="separator:a3dfd3bd03394c66ede8e37478d32784c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_qwt_plot_rescaler.html" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales.">QwtPlotRescaler</a> takes care of fixed aspect ratios for plot scales. </p>
<p><a class="el" href="class_qwt_plot_rescaler.html" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales.">QwtPlotRescaler</a> auto adjusts the axes of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> according to fixed aspect ratios. </p>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8h_source.html#l00029">29</a> of file <a class="el" href="qwt__plot__rescaler_8h_source.html">qwt_plot_rescaler.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a1c314e9513cef076a79381111aa67585"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c314e9513cef076a79381111aa67585">&#9670;&nbsp;</a></span>ExpandingDirection</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">QwtPlotRescaler::ExpandingDirection</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>When <a class="el" href="class_qwt_plot_rescaler.html#ac5a49fa34b071da28517efe6212d81ea">rescalePolicy()</a> is set to Expanding its direction depends on ExpandingDirection </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a1c314e9513cef076a79381111aa67585a10adc202ca84a06179b905db6802668c"></a>ExpandUp&#160;</td><td class="fielddoc"><p>The upper limit of the scale is adjusted. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1c314e9513cef076a79381111aa67585a856d9a1fe75ed6398a1b3c4b60f3fbfd"></a>ExpandDown&#160;</td><td class="fielddoc"><p>The lower limit of the scale is adjusted. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1c314e9513cef076a79381111aa67585a3dfb8208dfb62200761e4221763db033"></a>ExpandBoth&#160;</td><td class="fielddoc"><p>Both limits of the scale are adjusted. </p>
</td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8h_source.html#l00070">70</a> of file <a class="el" href="qwt__plot__rescaler_8h_source.html">qwt_plot_rescaler.h</a>.</p>
</div>
</div>
<a id="a6a614b832876a7641cb5410ba81d9d6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a614b832876a7641cb5410ba81d9d6a">&#9670;&nbsp;</a></span>RescalePolicy</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">QwtPlotRescaler::RescalePolicy</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The rescale policy defines how to rescale the reference axis and their depending axes.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>, <a class="el" href="class_qwt_plot_rescaler.html#a07036d67ae897ebe95be5495598e468c">setIntervalHint()</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6a614b832876a7641cb5410ba81d9d6aab8f9ce10c092bee12de74b05a46b6e9c"></a>Fixed&#160;</td><td class="fielddoc"><p>The interval of the reference axis remains unchanged, when the geometry of the canvas changes. All other axes will be adjusted according to their aspect ratio. </p>
</td></tr>
<tr><td class="fieldname"><a id="a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1"></a>Expanding&#160;</td><td class="fielddoc"><p>The interval of the reference axis will be shrunk/expanded, when the geometry of the canvas changes. All other axes will be adjusted according to their aspect ratio.</p>
<p>The interval, that is represented by one pixel is fixed. </p>
</td></tr>
<tr><td class="fieldname"><a id="a6a614b832876a7641cb5410ba81d9d6aa30a43b11d9df23f66110b65d1e249db1"></a>Fitting&#160;</td><td class="fielddoc"><p>The intervals of the axes are calculated, so that all axes include their interval hint. </p>
</td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8h_source.html#l00040">40</a> of file <a class="el" href="qwt__plot__rescaler_8h_source.html">qwt_plot_rescaler.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa1ce3d8e9175773aef7aba6c6ea51f27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1ce3d8e9175773aef7aba6c6ea51f27">&#9670;&nbsp;</a></span>QwtPlotRescaler()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QwtPlotRescaler::QwtPlotRescaler </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>canvas</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>referenceAxis</em> = <code><a class="el" href="namespace_qwt_axis.html#a3dadce451809a6f77e44d81abef8c8d8ab9f573fe3ce8eb0c41a5fa66f5ae2aaa">QwtAxis::XBottom</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>&#160;</td>
<td class="paramname"><em>policy</em> = <code><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1">Expanding</a></code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">canvas</td><td>Canvas </td></tr>
<tr><td class="paramname">referenceAxis</td><td>Reference axis, see RescalePolicy </td></tr>
<tr><td class="paramname">policy</td><td>Rescale policy</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ae6b7df41b5387d0aed532559546e40b6">setRescalePolicy()</a>, <a class="el" href="class_qwt_plot_rescaler.html#ae6e974481a36e28d4be15ed6bc871561">setReferenceAxis()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00071">71</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a967c144b0f165e9501dac8b05df243bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a967c144b0f165e9501dac8b05df243bf">&#9670;&nbsp;</a></span>aspectRatio()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double QwtPlotRescaler::aspectRatio </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Aspect ratio between an axis and the reference axis.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a31f71937b4cff3e60f74db83beb6d2de">setAspectRatio()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00243">243</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="ad4aa9bf81032b822b848774ee21142ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4aa9bf81032b822b848774ee21142ce">&#9670;&nbsp;</a></span>canvas() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QWidget * QwtPlotRescaler::canvas </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>plot canvas </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00282">282</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a49e3d4084037f6786c5bb6a8d2c78047"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49e3d4084037f6786c5bb6a8d2c78047">&#9670;&nbsp;</a></span>canvas() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const QWidget * QwtPlotRescaler::canvas </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>plot canvas </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00288">288</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a5490a4a1b576b1118c095cc54810e2aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5490a4a1b576b1118c095cc54810e2aa">&#9670;&nbsp;</a></span>canvasResizeEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::canvasResizeEvent </td>
<td>(</td>
<td class="paramtype">QResizeEvent *&#160;</td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Event handler for resize events of the plot canvas</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>Resize event </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#af4b1840575eb6812c23acd9be199e5df" title="Adjust the plot axes scales.">rescale()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00343">343</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a2b9504b21a4a0e58b7fece16fe1da434"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b9504b21a4a0e58b7fece16fe1da434">&#9670;&nbsp;</a></span>expandingDirection()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">QwtPlotRescaler::ExpandingDirection</a> QwtPlotRescaler::expandingDirection </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Direction in which an axis should be expanded</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#aa2ecffbc14d951ab9f1809c14bc4e21b">setExpandingDirection()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00197">197</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a3dfd3bd03394c66ede8e37478d32784c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dfd3bd03394c66ede8e37478d32784c">&#9670;&nbsp;</a></span>expandInterval()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::expandInterval </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
<td class="paramname"><em>interval</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td>
<td class="paramname"><em>direction</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Expand the interval</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">interval</td><td>Interval to be expanded </td></tr>
<tr><td class="paramname">width</td><td>Distance to be added to the interval </td></tr>
<tr><td class="paramname">direction</td><td>Direction of the expand operation</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Expanded interval </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00526">526</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a483023eca66dced4e806f1cd33ee5a35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a483023eca66dced4e806f1cd33ee5a35">&#9670;&nbsp;</a></span>expandScale()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::expandScale </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSize &amp;&#160;</td>
<td class="paramname"><em>oldSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSize &amp;&#160;</td>
<td class="paramname"><em>newSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate the new scale interval of a plot axis</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
<tr><td class="paramname">oldSize</td><td>Previous size of the canvas </td></tr>
<tr><td class="paramname">newSize</td><td>New size of the canvas</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Calculated new interval for the axis </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00405">405</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a776307286ffe7600016c277e161090d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a776307286ffe7600016c277e161090d5">&#9670;&nbsp;</a></span>interval()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::interval </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Normalized interval of an axis </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00509">509</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a0e7afcdf8a843dc3fe44abe65b444065"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e7afcdf8a843dc3fe44abe65b444065">&#9670;&nbsp;</a></span>intervalHint()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::intervalHint </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Interval hint </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a07036d67ae897ebe95be5495598e468c">setIntervalHint()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00273">273</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a85a9b40054acaab051f3679db1547b81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85a9b40054acaab051f3679db1547b81">&#9670;&nbsp;</a></span>isEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QwtPlotRescaler::isEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true when enabled, false otherwise </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a6f1c886d127ec4943552170dc63edf29" title="En/disable the rescaler.">setEnabled</a>, <a class="el" href="class_qwt_plot_rescaler.html#a66bf6632ed98a2145d33ff46cea510fc" title="Event filter for the plot canvas.">eventFilter()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00118">118</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a7173f9e9e1d8a3c619f58c3993285a8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7173f9e9e1d8a3c619f58c3993285a8a">&#9670;&nbsp;</a></span>orientation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Qt::Orientation QwtPlotRescaler::orientation </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Orientation of an axis </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00500">500</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="aca7a946dd53744e4640be383cd161a7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca7a946dd53744e4640be383cd161a7c">&#9670;&nbsp;</a></span>plot() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotRescaler::plot </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>plot widget </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00294">294</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="ae54220a61cab777a6cb60103091a0aa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae54220a61cab777a6cb60103091a0aa3">&#9670;&nbsp;</a></span>plot() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotRescaler::plot </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>plot widget </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00304">304</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a001fcaffb3c05dacaa1b82d0847db9c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a001fcaffb3c05dacaa1b82d0847db9c9">&#9670;&nbsp;</a></span>referenceAxis()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QwtAxisId QwtPlotRescaler::referenceAxis </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Reference axis ( see RescalePolicy ) </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ae6e974481a36e28d4be15ed6bc871561">setReferenceAxis()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00158">158</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a1a98f9c7a1102e486ce81a2833799155"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a98f9c7a1102e486ce81a2833799155">&#9670;&nbsp;</a></span>rescale()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::rescale </td>
<td>(</td>
<td class="paramtype">const QSize &amp;&#160;</td>
<td class="paramname"><em>oldSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSize &amp;&#160;</td>
<td class="paramname"><em>newSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adjust the plot axes scales</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">oldSize</td><td>Previous size of the canvas </td></tr>
<tr><td class="paramname">newSize</td><td>New size of the canvas </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00367">367</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="ac5a49fa34b071da28517efe6212d81ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5a49fa34b071da28517efe6212d81ea">&#9670;&nbsp;</a></span>rescalePolicy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">QwtPlotRescaler::RescalePolicy</a> QwtPlotRescaler::rescalePolicy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Rescale policy </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ae6b7df41b5387d0aed532559546e40b6">setRescalePolicy()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00138">138</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a31f71937b4cff3e60f74db83beb6d2de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31f71937b4cff3e60f74db83beb6d2de">&#9670;&nbsp;</a></span>setAspectRatio() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setAspectRatio </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>ratio</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the aspect ratio between the scale of the reference axis and the other scales. The default ratio is 1.0</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ratio</td><td>Aspect ratio </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a967c144b0f165e9501dac8b05df243bf">aspectRatio()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00212">212</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a94273b7f54bb6d2a6a65589ff383f4c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94273b7f54bb6d2a6a65589ff383f4c8">&#9670;&nbsp;</a></span>setAspectRatio() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setAspectRatio </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>ratio</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the aspect ratio between the scale of the reference axis and another scale. The default ratio is 1.0</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
<tr><td class="paramname">ratio</td><td>Aspect ratio </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a967c144b0f165e9501dac8b05df243bf">aspectRatio()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00226">226</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a6f1c886d127ec4943552170dc63edf29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f1c886d127ec4943552170dc63edf29">&#9670;&nbsp;</a></span>setEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setEnabled </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>En/disable the rescaler. </p>
<p>When enabled is true an event filter is installed for the canvas, otherwise the event filter is removed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">on</td><td>true or false </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a85a9b40054acaab051f3679db1547b81">isEnabled()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a66bf6632ed98a2145d33ff46cea510fc" title="Event filter for the plot canvas.">eventFilter()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00097">97</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="aa2ecffbc14d951ab9f1809c14bc4e21b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2ecffbc14d951ab9f1809c14bc4e21b">&#9670;&nbsp;</a></span>setExpandingDirection() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setExpandingDirection </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td>
<td class="paramname"><em>direction</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the direction in which all axis should be expanded</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">direction</td><td>Direction </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a2b9504b21a4a0e58b7fece16fe1da434">expandingDirection()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00169">169</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a1e245488207ca6996247236f5158fdfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e245488207ca6996247236f5158fdfe">&#9670;&nbsp;</a></span>setExpandingDirection() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setExpandingDirection </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td>
<td class="paramname"><em>direction</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the direction in which an axis should be expanded</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
<tr><td class="paramname">direction</td><td>Direction </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a2b9504b21a4a0e58b7fece16fe1da434">expandingDirection()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00183">183</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a07036d67ae897ebe95be5495598e468c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07036d67ae897ebe95be5495598e468c">&#9670;&nbsp;</a></span>setIntervalHint()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setIntervalHint </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
<td class="paramname"><em>interval</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an interval hint for an axis</p>
<p>In Fitting mode, the hint is used as minimal interval that always needs to be displayed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
<tr><td class="paramname">interval</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a0e7afcdf8a843dc3fe44abe65b444065">intervalHint()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00261">261</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="ae6e974481a36e28d4be15ed6bc871561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6e974481a36e28d4be15ed6bc871561">&#9670;&nbsp;</a></span>setReferenceAxis()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setReferenceAxis </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the reference axis ( see RescalePolicy )</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a001fcaffb3c05dacaa1b82d0847db9c9">referenceAxis()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00149">149</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="ae6b7df41b5387d0aed532559546e40b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6b7df41b5387d0aed532559546e40b6">&#9670;&nbsp;</a></span>setRescalePolicy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::setRescalePolicy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>&#160;</td>
<td class="paramname"><em>policy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change the rescale policy</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">policy</td><td>Rescale policy </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ac5a49fa34b071da28517efe6212d81ea">rescalePolicy()</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00129">129</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a7bc7b93437246ce733c23c808e0f8c57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bc7b93437246ce733c23c808e0f8c57">&#9670;&nbsp;</a></span>syncScale()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::syncScale </td>
<td>(</td>
<td class="paramtype">QwtAxisId&#160;</td>
<td class="paramname"><em>axisId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
<td class="paramname"><em>reference</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSize &amp;&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Synchronize an axis scale according to the scale of the reference axis</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
<tr><td class="paramname">reference</td><td>Interval of the reference axis </td></tr>
<tr><td class="paramname">size</td><td>Size of the canvas</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New interval for axis </dd></dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00469">469</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
<a id="a7a5e0cb38c63c986f59981a02cd9d5bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a5e0cb38c63c986f59981a02cd9d5bb">&#9670;&nbsp;</a></span>updateScales()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRescaler::updateScales </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td>
<td class="paramname"><em>intervals</em>[QwtAxis::AxisPositions]</td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Update the axes scales</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">intervals</td><td>Scale intervals </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="qwt__plot__rescaler_8cpp_source.html#l00588">588</a> of file <a class="el" href="qwt__plot__rescaler_8cpp_source.html">qwt_plot_rescaler.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_qwt_plot_rescaler.html">QwtPlotRescaler</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>