123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437 |
- <!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.8.20"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Qwt User's Guide: QwtPlotPanner 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's Guide
-  <span id="projectnumber">6.1.6</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.20 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('class_qwt_plot_panner.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-methods">Public Member Functions</a> |
- <a href="#pro-slots">Protected Slots</a> |
- <a href="#pro-methods">Protected Member Functions</a> |
- <a href="class_qwt_plot_panner-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">QwtPlotPanner Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> provides panning of a plot canvas.
- <a href="class_qwt_plot_panner.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="qwt__plot__panner_8h_source.html">qwt_plot_panner.h</a>></code></p>
- <div class="dynheader">
- Inheritance diagram for QwtPlotPanner:</div>
- <div class="dyncontent">
- <div class="center"><img src="class_qwt_plot_panner__inherit__graph.png" border="0" usemap="#a_qwt_plot_panner_inherit__map" alt="Inheritance graph"/></div>
- <map name="_qwt_plot_panner_inherit__map" id="a_qwt_plot_panner_inherit__map">
- <area shape="rect" title="QwtPlotPanner provides panning of a plot canvas." alt="" coords="5,155,116,181"/>
- <area shape="rect" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget." alt="" coords="17,80,104,107"/>
- <area shape="rect" title=" " alt="" coords="24,5,97,32"/>
- </map>
- <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
- <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:a94d661c312edbf7ef094dd32dff57d44"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a94d661c312edbf7ef094dd32dff57d44">QwtPlotPanner</a> (QWidget *)</td></tr>
- <tr class="memdesc:a94d661c312edbf7ef094dd32dff57d44"><td class="mdescLeft"> </td><td class="mdescRight">A panner for the canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. <a href="class_qwt_plot_panner.html#a94d661c312edbf7ef094dd32dff57d44">More...</a><br /></td></tr>
- <tr class="separator:a94d661c312edbf7ef094dd32dff57d44"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa72bb8323d5a8eb46900f978bf1e3623"><td class="memItemLeft" align="right" valign="top"><a id="aa72bb8323d5a8eb46900f978bf1e3623"></a>
- virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aa72bb8323d5a8eb46900f978bf1e3623">~QwtPlotPanner</a> ()</td></tr>
- <tr class="memdesc:aa72bb8323d5a8eb46900f978bf1e3623"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
- <tr class="separator:aa72bb8323d5a8eb46900f978bf1e3623"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a372898a83f51e2b85aadb92f893d6235"><td class="memItemLeft" align="right" valign="top"><a id="a372898a83f51e2b85aadb92f893d6235"></a>
- QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a372898a83f51e2b85aadb92f893d6235">canvas</a> ()</td></tr>
- <tr class="memdesc:a372898a83f51e2b85aadb92f893d6235"><td class="mdescLeft"> </td><td class="mdescRight">Return observed plot canvas. <br /></td></tr>
- <tr class="separator:a372898a83f51e2b85aadb92f893d6235"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aed831ea120a8777569b5cbbd922728f4"><td class="memItemLeft" align="right" valign="top"><a id="aed831ea120a8777569b5cbbd922728f4"></a>
- const QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aed831ea120a8777569b5cbbd922728f4">canvas</a> () const</td></tr>
- <tr class="memdesc:aed831ea120a8777569b5cbbd922728f4"><td class="mdescLeft"> </td><td class="mdescRight">Return Observed plot canvas. <br /></td></tr>
- <tr class="separator:aed831ea120a8777569b5cbbd922728f4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae52375921bfacc3e17d3db45858b1485"><td class="memItemLeft" align="right" valign="top"><a id="ae52375921bfacc3e17d3db45858b1485"></a>
- <a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#ae52375921bfacc3e17d3db45858b1485">plot</a> ()</td></tr>
- <tr class="memdesc:ae52375921bfacc3e17d3db45858b1485"><td class="mdescLeft"> </td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
- <tr class="separator:ae52375921bfacc3e17d3db45858b1485"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5ecdd6a27002d13b4967eadabaa17674"><td class="memItemLeft" align="right" valign="top"><a id="a5ecdd6a27002d13b4967eadabaa17674"></a>
- const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a5ecdd6a27002d13b4967eadabaa17674">plot</a> () const</td></tr>
- <tr class="memdesc:a5ecdd6a27002d13b4967eadabaa17674"><td class="mdescLeft"> </td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
- <tr class="separator:a5ecdd6a27002d13b4967eadabaa17674"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:acbd5d67684c5a20ea0115e66f69540e4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4">setAxisEnabled</a> (int axis, bool on)</td></tr>
- <tr class="memdesc:acbd5d67684c5a20ea0115e66f69540e4"><td class="mdescLeft"> </td><td class="mdescRight">En/Disable an axis. <a href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4">More...</a><br /></td></tr>
- <tr class="separator:acbd5d67684c5a20ea0115e66f69540e4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a896c81c1d1989b26645ece85464e3977"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a896c81c1d1989b26645ece85464e3977">isAxisEnabled</a> (int axis) const</td></tr>
- <tr class="separator:a896c81c1d1989b26645ece85464e3977"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="inherit_header pub_methods_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_panner')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
- <tr class="memitem:af5482be26d69a64c3880653265240736 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#af5482be26d69a64c3880653265240736">QwtPanner</a> (QWidget *parent)</td></tr>
- <tr class="separator:af5482be26d69a64c3880653265240736 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a19c9b9a08da05649f6d2ef5bf6fb391c"></a>
- virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19c9b9a08da05649f6d2ef5bf6fb391c">~QwtPanner</a> ()</td></tr>
- <tr class="memdesc:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
- <tr class="separator:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">setEnabled</a> (bool)</td></tr>
- <tr class="memdesc:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">En/disable the panner. <a href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">More...</a><br /></td></tr>
- <tr class="separator:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a19439f534fc9fa254693948eb4f4bb5f inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19439f534fc9fa254693948eb4f4bb5f">isEnabled</a> () const</td></tr>
- <tr class="separator:a19439f534fc9fa254693948eb4f4bb5f inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6f138454b2c1d7e814ae1975d6a7b8be inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a6f138454b2c1d7e814ae1975d6a7b8be">setMouseButton</a> (Qt::MouseButton, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
- <tr class="separator:a6f138454b2c1d7e814ae1975d6a7b8be inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a8a74f8e2f4d424f85fa5a9da11c075d2"></a>
- void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a8a74f8e2f4d424f85fa5a9da11c075d2">getMouseButton</a> (Qt::MouseButton &button, Qt::KeyboardModifiers &) const</td></tr>
- <tr class="memdesc:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">Get mouse button and modifiers used for panning. <br /></td></tr>
- <tr class="separator:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:acbb1b9e30214354708e1d75db6b78289 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#acbb1b9e30214354708e1d75db6b78289">setAbortKey</a> (int key, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
- <tr class="separator:acbb1b9e30214354708e1d75db6b78289 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="abdfca52ea5a6a11a533dcbbbddbb3bf6"></a>
- void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#abdfca52ea5a6a11a533dcbbbddbb3bf6">getAbortKey</a> (int &key, Qt::KeyboardModifiers &) const</td></tr>
- <tr class="memdesc:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">Get the abort key and modifiers. <br /></td></tr>
- <tr class="separator:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac8b0625fe155fff0132df85727f54a3e inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ac8b0625fe155fff0132df85727f54a3e">setCursor</a> (const QCursor &)</td></tr>
- <tr class="separator:ac8b0625fe155fff0132df85727f54a3e inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1ebb1cc406fa3d30df0e7dd7a541667d inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">const QCursor </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a1ebb1cc406fa3d30df0e7dd7a541667d">cursor</a> () const</td></tr>
- <tr class="separator:a1ebb1cc406fa3d30df0e7dd7a541667d inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aaa71a8b6f7f46ae8f5a8084094d7bd9a inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aaa71a8b6f7f46ae8f5a8084094d7bd9a">setOrientations</a> (Qt::Orientations)</td></tr>
- <tr class="separator:aaa71a8b6f7f46ae8f5a8084094d7bd9a inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a0df413d3d5a6bc4f002e87f3b269214e"></a>
- Qt::Orientations </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a0df413d3d5a6bc4f002e87f3b269214e">orientations</a> () const</td></tr>
- <tr class="memdesc:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">Return the orientation, where paning is enabled. <br /></td></tr>
- <tr class="separator:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa69c32aae501021f01cb7c833172986c inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa69c32aae501021f01cb7c833172986c">isOrientationEnabled</a> (Qt::Orientation) const</td></tr>
- <tr class="separator:aa69c32aae501021f01cb7c833172986c inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a06b8eea86d4dcbe361c4af41a263f2cb inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb">eventFilter</a> (QObject *, QEvent *)</td></tr>
- <tr class="memdesc:a06b8eea86d4dcbe361c4af41a263f2cb inherit pub_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">Event filter. <a href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb">More...</a><br /></td></tr>
- <tr class="separator:a06b8eea86d4dcbe361c4af41a263f2cb inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-slots"></a>
- Protected Slots</h2></td></tr>
- <tr class="memitem:aab045140de3e38d316593388da9231bd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas</a> (int dx, int dy)</td></tr>
- <tr class="separator:aab045140de3e38d316593388da9231bd"><td class="memSeparator" colspan="2"> </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:aed84a9594d3b1539a4378b3026a8d431"><td class="memItemLeft" align="right" valign="top">virtual QBitmap </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aed84a9594d3b1539a4378b3026a8d431">contentsMask</a> () const</td></tr>
- <tr class="separator:aed84a9594d3b1539a4378b3026a8d431"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abb38281cf067c76703b5f557f14bfcf5"><td class="memItemLeft" align="right" valign="top">virtual QPixmap </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#abb38281cf067c76703b5f557f14bfcf5">grab</a> () const</td></tr>
- <tr class="separator:abb38281cf067c76703b5f557f14bfcf5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="inherit_header pro_methods_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_panner')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
- <tr class="memitem:ae002958978dcc751f9edda24e5858dd9 inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ae002958978dcc751f9edda24e5858dd9">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
- <tr class="separator:ae002958978dcc751f9edda24e5858dd9 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2da1e24b1456b223eaa826d8e0a3a81 inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ab2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
- <tr class="separator:ab2da1e24b1456b223eaa826d8e0a3a81 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6545bc6e25018253c59fc27a48eb948f inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent</a> (QMouseEvent *)</td></tr>
- <tr class="separator:a6545bc6e25018253c59fc27a48eb948f inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7ed4e89f6c52b841e20ad497af4b4ebc inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a7ed4e89f6c52b841e20ad497af4b4ebc">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
- <tr class="separator:a7ed4e89f6c52b841e20ad497af4b4ebc inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8bd447df4a30299bbc8e6b6d3e2e2f9f inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent</a> (QKeyEvent *)</td></tr>
- <tr class="separator:a8bd447df4a30299bbc8e6b6d3e2e2f9f inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:acd76ea518bd9267a45115d2c6ce19353 inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#acd76ea518bd9267a45115d2c6ce19353">paintEvent</a> (QPaintEvent *)</td></tr>
- <tr class="memdesc:acd76ea518bd9267a45115d2c6ce19353 inherit pro_methods_class_qwt_panner"><td class="mdescLeft"> </td><td class="mdescRight">Paint event. <a href="class_qwt_panner.html#acd76ea518bd9267a45115d2c6ce19353">More...</a><br /></td></tr>
- <tr class="separator:acd76ea518bd9267a45115d2c6ce19353 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
- Additional Inherited Members</h2></td></tr>
- <tr class="inherit_header signals_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('signals_class_qwt_panner')"><img src="closed.png" alt="-"/> Signals inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
- <tr class="memitem:ae9ce78e6f9ae73317af29b2dc5df7372 inherit signals_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ae9ce78e6f9ae73317af29b2dc5df7372">panned</a> (int dx, int dy)</td></tr>
- <tr class="separator:ae9ce78e6f9ae73317af29b2dc5df7372 inherit signals_class_qwt_panner"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa45ae2f4d6d20a83783898dd86d0b595 inherit signals_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa45ae2f4d6d20a83783898dd86d0b595">moved</a> (int dx, int dy)</td></tr>
- <tr class="separator:aa45ae2f4d6d20a83783898dd86d0b595 inherit signals_class_qwt_panner"><td class="memSeparator" colspan="2"> </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_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> provides panning of a plot canvas. </p>
- <p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> is a panner for a plot canvas, that adjusts the scales of the axes after dropping the canvas on its new position.</p>
- <p>Together with <a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a> and <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> powerful ways of navigating on a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> widget can be implemented easily.</p>
- <dl class="section note"><dt>Note</dt><dd>The axes are not updated, while dragging the canvas </dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a>, <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> </dd></dl>
- </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a94d661c312edbf7ef094dd32dff57d44"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a94d661c312edbf7ef094dd32dff57d44">◆ </a></span>QwtPlotPanner()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QwtPlotPanner::QwtPlotPanner </td>
- <td>(</td>
- <td class="paramtype">QWidget * </td>
- <td class="paramname"><em>canvas</em></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>A panner for the canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
- <p>The panner is enabled for all axes</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">canvas</td><td>Plot canvas to pan, also the parent object</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4" title="En/Disable an axis.">setAxisEnabled()</a> </dd></dl>
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="aed84a9594d3b1539a4378b3026a8d431"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aed84a9594d3b1539a4378b3026a8d431">◆ </a></span>contentsMask()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QBitmap QwtPlotPanner::contentsMask </td>
- <td>(</td>
- <td class="paramname"></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 a mask from the border path of the canvas</p>
- <dl class="section return"><dt>Returns</dt><dd>Mask as bitmap </dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#af21afcc5f858ab70afb589b32c856ca1">QwtPlotCanvas::borderPath()</a> </dd></dl>
- <p>Reimplemented from <a class="el" href="class_qwt_panner.html#aac1d7537025f41d2d0dfc261c56dac8e">QwtPanner</a>.</p>
- </div>
- </div>
- <a id="abb38281cf067c76703b5f557f14bfcf5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abb38281cf067c76703b5f557f14bfcf5">◆ </a></span>grab()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QPixmap QwtPlotPanner::grab </td>
- <td>(</td>
- <td class="paramname"></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">
- <dl class="section return"><dt>Returns</dt><dd>Pixmap with the content of the canvas </dd></dl>
- <p>Reimplemented from <a class="el" href="class_qwt_panner.html#ac5ac83293f33b7b71ae9f49217d53fec">QwtPanner</a>.</p>
- </div>
- </div>
- <a id="a896c81c1d1989b26645ece85464e3977"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a896c81c1d1989b26645ece85464e3977">◆ </a></span>isAxisEnabled()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPlotPanner::isAxisEnabled </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axis</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Test if an axis is enabled</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axis</td><td>Axis, see <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>True, if the axis is enabled</dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4" title="En/Disable an axis.">setAxisEnabled()</a>, <a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas()</a> </dd></dl>
- </div>
- </div>
- <a id="aab045140de3e38d316593388da9231bd"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aab045140de3e38d316593388da9231bd">◆ </a></span>moveCanvas</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotPanner::moveCanvas </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>dx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>dy</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</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 class="mlabel">slot</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Adjust the enabled axes according to dx/dy</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">dx</td><td>Pixel offset in x direction </td></tr>
- <tr><td class="paramname">dy</td><td>Pixel offset in y direction</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#ae9ce78e6f9ae73317af29b2dc5df7372">QwtPanner::panned()</a> </dd></dl>
- </div>
- </div>
- <a id="acbd5d67684c5a20ea0115e66f69540e4"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acbd5d67684c5a20ea0115e66f69540e4">◆ </a></span>setAxisEnabled()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotPanner::setAxisEnabled </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axis</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>on</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>En/Disable an axis. </p>
- <p>Axes that are enabled will be synchronized to the result of panning. All other axes will remain unchanged.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axis</td><td>Axis, see <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> </td></tr>
- <tr><td class="paramname">on</td><td>On/Off</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#a896c81c1d1989b26645ece85464e3977">isAxisEnabled()</a>, <a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas()</a> </dd></dl>
- </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_panner.html">QwtPlotPanner</a></li>
- <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
- </ul>
- </div>
- </body>
- </html>
|