File: QwtPickerDragRectMachine.3

package info (click to toggle)
qwt5 5.2.2-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 13,340 kB
  • sloc: cpp: 32,645; makefile: 23; sh: 4
file content (78 lines) | stat: -rw-r--r-- 1,968 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.TH "QwtPickerDragRectMachine" 3 "Mon Aug 1 2011" "Version 5.2.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtPickerDragRectMachine \- 
.PP
A state machine for rectangle selections.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_picker_machine.h>\fP
.PP
Inherits \fBQwtPickerMachine\fP.
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBCommand\fP { \fBBegin\fP, \fBAppend\fP, \fBMove\fP, \fBEnd\fP }"
.br
.ti -1c
.RI "typedef QList< \fBCommand\fP > \fBCommandList\fP"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "void \fBreset\fP ()"
.br
.ti -1c
.RI "void \fBsetState\fP (int)"
.br
.ti -1c
.RI "int \fBstate\fP () const "
.br
.ti -1c
.RI "virtual CommandList \fBtransition\fP (const \fBQwtEventPattern\fP &, const QEvent *)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A state machine for rectangle selections. 

Pressing QwtEventPattern::MouseSelect1 selects the first point, releasing it the second point. Pressing QwtEventPattern::KeySelect1 also selects the first point, a second press selects the second point and terminates the selection.
.PP
\fBSee also:\fP
.RS 4
\fBQwtEventPattern::MousePatternCode\fP, \fBQwtEventPattern::KeyPatternCode\fP 
.RE
.PP

.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBQwtPickerMachine::Command\fP\fC [inherited]\fP"
.PP
Commands - the output of the state machine. 
.SH "Member Function Documentation"
.PP 
.SS "void QwtPickerMachine::reset ()\fC [inherited]\fP"
.PP
Set the current state to 0. 
.SS "void QwtPickerMachine::setState (intstate)\fC [inherited]\fP"
.PP
Change the current state. 
.SS "int QwtPickerMachine::state () const\fC [inherited]\fP"
.PP
Return the current state. 
.SS "QwtPickerMachine::CommandList QwtPickerDragRectMachine::transition (const \fBQwtEventPattern\fP &eventPattern, const QEvent *e)\fC [virtual]\fP"
.PP
Transition. 
.PP
Implements \fBQwtPickerMachine\fP.

.SH "Author"
.PP 
Generated automatically by Doxygen for Qwt User's Guide from the source code.