<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Qwt User's Guide: QwtPickerClickRectMachine Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <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 class="current"><a href="annotated.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="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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>QwtPickerClickRectMachine Class Reference</h1><!-- doxytag: class="QwtPickerClickRectMachine" --><!-- doxytag: inherits="QwtPickerMachine" -->A state machine for rectangle selections. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="qwt__picker__machine_8h-source.html">qwt_picker_machine.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for QwtPickerClickRectMachine:</div> <div class="dynsection"> <p><center><img src="class_qwt_picker_click_rect_machine__inherit__graph.png" border="0" usemap="#_qwt_picker_click_rect_machine__inherit__map" alt="Inheritance graph"></center> <map name="_qwt_picker_click_rect_machine__inherit__map"> <area shape="rect" href="class_qwt_picker_machine.html" title="A state machine for QwtPicker selections." alt="" coords="35,8,168,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="class_qwt_picker_click_rect_machine-members.html">List of all members.</a><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">virtual CommandList </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker_click_rect_machine.html#6c495290237b9545ca15ef166c89e9bf">transition</a> (const <a class="el" href="class_qwt_event_pattern.html">QwtEventPattern</a> &, const QEvent *)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A state machine for rectangle selections. <p> Pressing QwtEventPattern::MouseSelect1 starts the selection, releasing it selects the first point. Pressing it again selects the second point and terminates the selection. Pressing QwtEventPattern::KeySelect1 also starts the selection, a second press selects the first point. A third one selects the second point and terminates the selection.<p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_event_pattern.html#f48dc808ac5e125eeed41a4c0285d1ea" title="Symbolic mouse input codes.">QwtEventPattern::MousePatternCode</a>, <a class="el" href="class_qwt_event_pattern.html#8fb57ceb9982d5583a1bf568e37d3007" title="Symbolic keyboard input codes.">QwtEventPattern::KeyPatternCode</a> </dd></dl> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="6c495290237b9545ca15ef166c89e9bf"></a><!-- doxytag: member="QwtPickerClickRectMachine::transition" ref="6c495290237b9545ca15ef166c89e9bf" args="(const QwtEventPattern &, const QEvent *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QwtPickerMachine::CommandList QwtPickerClickRectMachine::transition </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_event_pattern.html">QwtEventPattern</a> & </td> <td class="paramname"> <em>eventPattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QEvent * </td> <td class="paramname"> <em>e</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> Transition. <p> <p>Implements <a class="el" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">QwtPickerMachine</a>.</p> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 22 16:41:22 2009 for Qwt User's Guide by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>