1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtPickerClickRectMachine Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtPickerClickRectMachine Class Reference</h1><!-- doxytag: class="QwtPickerClickRectMachine" --><!-- doxytag: inherits="QwtPickerMachine" -->Inheritance diagram for QwtPickerClickRectMachine:<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>
23
<map name="_qwt_picker_click_rect_machine__inherit__map">
24
<area href="class_qwt_picker_machine.html" shape="rect" coords="35,8,168,32" alt="">
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtPickerClickRectMachine:<p><center><img src="class_qwt_picker_click_rect_machine__coll__graph.png" border="0" usemap="#_qwt_picker_click_rect_machine__coll__map" alt="Collaboration graph"></center>
27
<map name="_qwt_picker_click_rect_machine__coll__map">
28
<area href="class_qwt_picker_machine.html" shape="rect" coords="35,8,168,32" alt="">
30
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_picker_click_rect_machine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
A state machine for rectangle selections.
33
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>
34
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_event_pattern.html#f48dc808ac5e125eeed41a4c0285d1ea">QwtEventPattern::MousePatternCode</a>, <a class="el" href="class_qwt_event_pattern.html#8fb57ceb9982d5583a1bf568e37d3007">QwtEventPattern::KeyPatternCode</a> </dd></dl>
39
Definition at line <a class="el" href="qwt__picker__machine_8h-source.html#l00109">109</a> of file <a class="el" href="qwt__picker__machine_8h-source.html">qwt_picker_machine.h</a>.<table border="0" cellpadding="0" cellspacing="0">
41
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
42
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_picker_machine.html#c173f6053e54747d7154bbc015763a22">CommandList</a> </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>
45
<hr><h2>Member Function Documentation</h2>
46
<a class="anchor" name="6c495290237b9545ca15ef166c89e9bf"></a><!-- doxytag: member="QwtPickerClickRectMachine::transition" ref="6c495290237b9545ca15ef166c89e9bf" args="(const QwtEventPattern &, const QEvent *)" -->
48
<div class="memproto">
49
<table class="memname">
51
<td class="memname"><a class="el" href="class_qwt_picker_machine.html#c173f6053e54747d7154bbc015763a22">QwtPickerMachine::CommandList</a> QwtPickerClickRectMachine::transition </td>
53
<td class="paramtype">const <a class="el" href="class_qwt_event_pattern.html">QwtEventPattern</a> & </td>
54
<td class="paramname">, </td>
57
<td class="paramkey"></td>
59
<td class="paramtype">const QEvent * </td>
60
<td class="paramname"></td><td> </td>
65
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
76
Implements <a class="el" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">QwtPickerMachine</a>.
78
Definition at line <a class="el" href="qwt__picker__machine_8cpp-source.html#l00145">145</a> of file <a class="el" href="qwt__picker__machine_8cpp-source.html">qwt_picker_machine.cpp</a>.
80
References <a class="el" href="qwt__event__pattern_8cpp-source.html#l00248">QwtEventPattern::keyMatch()</a>, <a class="el" href="qwt__event__pattern_8cpp-source.html#l00193">QwtEventPattern::mouseMatch()</a>, <a class="el" href="qwt__picker__machine_8cpp-source.html#l00032">QwtPickerMachine::setState()</a>, and <a class="el" href="qwt__picker__machine_8cpp-source.html#l00026">QwtPickerMachine::state()</a>.
83
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:44:52 2008 for Qwt User's Guide by
84
<a href="http://www.doxygen.org/index.html">
85
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>