<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: vtkQtChartMouseZoomBox Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkQtChartMouseZoomBox Class Reference</h1><!-- doxytag: class="vtkQtChartMouseZoomBox" --><!-- doxytag: inherits="vtkQtChartMouseFunction" --><code>#include <<a class="el" href="a04538.html">vtkQtChartMouseZoom.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkQtChartMouseZoomBox:</div> <div class="dynsection"> <p><center><img src="a13654.png" border="0" usemap="#a13655" alt="Inheritance graph"></center> <map name="a13655"> <area shape="rect" href="a01360.html" title="The vtkQtChartMouseFunction class is the base class for all chart mouse functions..." alt="" coords="8,5,189,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkQtChartMouseZoomBox:</div> <div class="dynsection"> <p><center><img src="a13656.png" border="0" usemap="#a13657" alt="Collaboration graph"></center> <map name="a13657"> <area shape="rect" href="a01360.html" title="The vtkQtChartMouseFunction class is the base class for all chart mouse functions..." alt="" coords="8,5,189,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a13658.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="a01365.html" title="The vtkQtChartMouseZoomBox class zooms the contents to a rectangle.">vtkQtChartMouseZoomBox</a> class zooms the contents to a rectangle. <p> <p>Definition at line <a class="el" href="a04538.html#l00130">130</a> of file <a class="el" href="a04538.html">vtkQtChartMouseZoom.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#bd50ca6eba011d6c7b47146e5460dcab">vtkQtChartMouseZoomBox</a> (QObject *parent=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new mouse zoom box object. <a href="#bd50ca6eba011d6c7b47146e5460dcab"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#0d3c91a0ab898f705864eedf7077dd6e">~vtkQtChartMouseZoomBox</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader">vtkQtChartMouseFunction Methods</div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#82e861351e4d5df1b3c61a8a67d251eb">setMouseOwner</a> (bool owns)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether or not the function owns the mouse. <a href="#82e861351e4d5df1b3c61a8a67d251eb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#6e7e9c7853482254184d878543fa9107">mousePressEvent</a> (QMouseEvent *e, <a class="el" href="a01335.html">vtkQtChartArea</a> *chart)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called to handle the mouse press event. <a href="#6e7e9c7853482254184d878543fa9107"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#cca2175ee10a2534902ea2c791dfc636">mouseMoveEvent</a> (QMouseEvent *e, <a class="el" href="a01335.html">vtkQtChartArea</a> *chart)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called to handle the mouse move event. <a href="#cca2175ee10a2534902ea2c791dfc636"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#24802102ee0d352fd9ed8e1d545e482f">mouseReleaseEvent</a> (QMouseEvent *e, <a class="el" href="a01335.html">vtkQtChartArea</a> *chart)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called to handle the mouse release event. <a href="#24802102ee0d352fd9ed8e1d545e482f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01365.html#a9d5977ae4003e1db483e8b737b80276">mouseDoubleClickEvent</a> (QMouseEvent *e, <a class="el" href="a01335.html">vtkQtChartArea</a> *chart)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called to handle the double click event. <a href="#a9d5977ae4003e1db483e8b737b80276"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="bd50ca6eba011d6c7b47146e5460dcab"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::vtkQtChartMouseZoomBox" ref="bd50ca6eba011d6c7b47146e5460dcab" args="(QObject *parent=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtChartMouseZoomBox::vtkQtChartMouseZoomBox </td> <td>(</td> <td class="paramtype">QObject * </td> <td class="paramname"> <em>parent</em> = <code>0</code> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Creates a new mouse zoom box object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent object. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="0d3c91a0ab898f705864eedf7077dd6e"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::~vtkQtChartMouseZoomBox" ref="0d3c91a0ab898f705864eedf7077dd6e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual vtkQtChartMouseZoomBox::~vtkQtChartMouseZoomBox </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="82e861351e4d5df1b3c61a8a67d251eb"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::setMouseOwner" ref="82e861351e4d5df1b3c61a8a67d251eb" args="(bool owns)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtChartMouseZoomBox::setMouseOwner </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>owns</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets whether or not the function owns the mouse. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>owns</em> </td><td>True if the function owns the mouse. </td></tr> </table> </dl> <dl class="see" compact><dt><b>See also:</b></dt><dd></dd></dl> <p>Reimplemented from <a class="el" href="a01360.html#f6469059ae60e448a3fa07b059147d49">vtkQtChartMouseFunction</a>.</p> </div> </div><p> <a class="anchor" name="6e7e9c7853482254184d878543fa9107"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::mousePressEvent" ref="6e7e9c7853482254184d878543fa9107" args="(QMouseEvent *e, vtkQtChartArea *chart)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkQtChartMouseZoomBox::mousePressEvent </td> <td>(</td> <td class="paramtype">QMouseEvent * </td> <td class="paramname"> <em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01335.html">vtkQtChartArea</a> * </td> <td class="paramname"> <em>chart</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called to handle the mouse press event. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>Event specific information. </td></tr> <tr><td valign="top"></td><td valign="top"><em>chart</em> </td><td>The chart area. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the event was used. </dd></dl> <p>Implements <a class="el" href="a01360.html#f12c6b838ff00bd3941b84b44c15f485">vtkQtChartMouseFunction</a>.</p> </div> </div><p> <a class="anchor" name="cca2175ee10a2534902ea2c791dfc636"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::mouseMoveEvent" ref="cca2175ee10a2534902ea2c791dfc636" args="(QMouseEvent *e, vtkQtChartArea *chart)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkQtChartMouseZoomBox::mouseMoveEvent </td> <td>(</td> <td class="paramtype">QMouseEvent * </td> <td class="paramname"> <em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01335.html">vtkQtChartArea</a> * </td> <td class="paramname"> <em>chart</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called to handle the mouse move event. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>Event specific information. </td></tr> <tr><td valign="top"></td><td valign="top"><em>chart</em> </td><td>The chart area. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the event was used. </dd></dl> <p>Implements <a class="el" href="a01360.html#2d89446ddc65ea17c30fcb126adc105f">vtkQtChartMouseFunction</a>.</p> </div> </div><p> <a class="anchor" name="24802102ee0d352fd9ed8e1d545e482f"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::mouseReleaseEvent" ref="24802102ee0d352fd9ed8e1d545e482f" args="(QMouseEvent *e, vtkQtChartArea *chart)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkQtChartMouseZoomBox::mouseReleaseEvent </td> <td>(</td> <td class="paramtype">QMouseEvent * </td> <td class="paramname"> <em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01335.html">vtkQtChartArea</a> * </td> <td class="paramname"> <em>chart</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called to handle the mouse release event. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>Event specific information. </td></tr> <tr><td valign="top"></td><td valign="top"><em>chart</em> </td><td>The chart area. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the event was used. </dd></dl> <p>Implements <a class="el" href="a01360.html#e672c79ea7598d2021b832618689d6ce">vtkQtChartMouseFunction</a>.</p> </div> </div><p> <a class="anchor" name="a9d5977ae4003e1db483e8b737b80276"></a><!-- doxytag: member="vtkQtChartMouseZoomBox::mouseDoubleClickEvent" ref="a9d5977ae4003e1db483e8b737b80276" args="(QMouseEvent *e, vtkQtChartArea *chart)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkQtChartMouseZoomBox::mouseDoubleClickEvent </td> <td>(</td> <td class="paramtype">QMouseEvent * </td> <td class="paramname"> <em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01335.html">vtkQtChartArea</a> * </td> <td class="paramname"> <em>chart</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called to handle the double click event. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>Event specific information. </td></tr> <tr><td valign="top"></td><td valign="top"><em>chart</em> </td><td>The chart area. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the event was used. </dd></dl> <p>Implements <a class="el" href="a01360.html#2c855ff6f65ede525fb77c36f69d44cd">vtkQtChartMouseFunction</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/GUISupport/Qt/Chart/<a class="el" href="a04538.html">vtkQtChartMouseZoom.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:28:23 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>