File: QwtPickerMachine.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 (96 lines) | stat: -rw-r--r-- 2,382 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.TH "QwtPickerMachine" 3 "Mon Aug 1 2011" "Version 5.2.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtPickerMachine \- 
.PP
A state machine for \fBQwtPicker\fP selections.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_picker_machine.h>\fP
.PP
Inherited by \fBQwtPickerClickPointMachine\fP, \fBQwtPickerClickRectMachine\fP, \fBQwtPickerDragPointMachine\fP, \fBQwtPickerDragRectMachine\fP, and \fBQwtPickerPolygonMachine\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 *)=0"
.br
.ti -1c
.RI "virtual \fB~QwtPickerMachine\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBQwtPickerMachine\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
A state machine for \fBQwtPicker\fP selections. 

\fBQwtPickerMachine\fP accepts key and mouse events and translates them into selection commands.
.PP
\fBSee also:\fP
.RS 4
\fBQwtEventPattern::MousePatternCode\fP, \fBQwtEventPattern::KeyPatternCode\fP 
.RE
.PP

.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBQwtPickerMachine::Command\fP"
.PP
Commands - the output of the state machine. 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "QwtPickerMachine::~QwtPickerMachine ()\fC [virtual]\fP"
.PP
Destructor. 
.SS "QwtPickerMachine::QwtPickerMachine ()\fC [protected]\fP"
.PP
Constructor. 
.SH "Member Function Documentation"
.PP 
.SS "void QwtPickerMachine::reset ()"
.PP
Set the current state to 0. 
.SS "void QwtPickerMachine::setState (intstate)"
.PP
Change the current state. 
.SS "int QwtPickerMachine::state () const"
.PP
Return the current state. 
.SS "virtual CommandList QwtPickerMachine::transition (const \fBQwtEventPattern\fP &, const QEvent *)\fC [pure virtual]\fP"
.PP
Transition. 
.PP
Implemented in \fBQwtPickerClickPointMachine\fP, \fBQwtPickerDragPointMachine\fP, \fBQwtPickerClickRectMachine\fP, \fBQwtPickerDragRectMachine\fP, and \fBQwtPickerPolygonMachine\fP.

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