File: qwt__picker__machine_8h-source.html

package info (click to toggle)
libqwt 4.2.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,832 kB
  • ctags: 5,512
  • sloc: cpp: 22,973; ansic: 244; makefile: 64
file content (93 lines) | stat: -rw-r--r-- 6,614 bytes parent folder | download | duplicates (5)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Qwt User&apos;s Guide: qwt_picker_machine.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.8 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>qwt_picker_machine.h</h1><pre class="fragment"><div>00001 <span class="comment">/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************</span>
00002 <span class="comment"> * Qwt Widget Library</span>
00003 <span class="comment"> * Copyright (C) 1997   Josef Wilgen</span>
00004 <span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span>
00005 <span class="comment"> * </span>
00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
00007 <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span>
00008 <span class="comment"> *****************************************************************************/</span>
00009 
00010 <span class="preprocessor">#ifndef QWT_PICKER_MACHINE</span>
00011 <span class="preprocessor"></span><span class="preprocessor">#define QWT_PICKER_MACHINE 1</span>
00012 <span class="preprocessor"></span>
00013 <span class="preprocessor">#include &lt;qvaluelist.h&gt;</span>
00014 <span class="preprocessor">#include "qwt_array.h"</span>
00015 
00016 <span class="keyword">class </span>QEvent;
00017 <span class="keyword">class </span><a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a>;
00018 
<a name="l00028"></a><a class="code" href="class_qwt_picker_machine.html">00028</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerMachine
00029 {
00030 <span class="keyword">public</span>:
00031     <span class="keyword">enum</span> Command
00032     {
00033         Begin,
00034         Append,
00035         Move,
00036         End
00037     };
00038 
00039     <span class="keyword">virtual</span> ~QwtPickerMachine();
00040 
00042     <span class="keyword">virtual</span> QValueList&lt;Command&gt; transition(
00043         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *) = 0;
00044     <span class="keywordtype">void</span> reset(); 
00045 
00046 <span class="keyword">protected</span>:
00047     QwtPickerMachine();
00048 
00049     <span class="keywordtype">int</span> state() <span class="keyword">const</span>;
00050     <span class="keywordtype">void</span> setState(<span class="keywordtype">int</span>);
00051 
00052 <span class="keyword">private</span>:
00053     <span class="keywordtype">int</span> d_state;
00054 };
00055 
<a name="l00064"></a><a class="code" href="class_qwt_picker_click_point_machine.html">00064</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerClickPointMachine: <span class="keyword">public</span> QwtPickerMachine
00065 {
00066 <span class="keyword">public</span>:
00067     <span class="keyword">virtual</span> QValueList&lt;Command&gt; <a class="code" href="class_qwt_picker_machine.html#a1">transition</a>(
00068         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
00069 };
00070 
<a name="l00078"></a><a class="code" href="class_qwt_picker_drag_point_machine.html">00078</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerDragPointMachine: <span class="keyword">public</span> QwtPickerMachine
00079 {
00080 <span class="keyword">public</span>:
00081     <span class="keyword">virtual</span> QValueList&lt;Command&gt; <a class="code" href="class_qwt_picker_machine.html#a1">transition</a>(
00082         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
00083 };
00084 
<a name="l00098"></a><a class="code" href="class_qwt_picker_click_rect_machine.html">00098</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerClickRectMachine: <span class="keyword">public</span> QwtPickerMachine
00099 {
00100 <span class="keyword">public</span>:
00101     <span class="keyword">virtual</span> QValueList&lt;Command&gt; <a class="code" href="class_qwt_picker_machine.html#a1">transition</a>(
00102         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
00103 };
00104 
<a name="l00117"></a><a class="code" href="class_qwt_picker_drag_rect_machine.html">00117</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerDragRectMachine: <span class="keyword">public</span> QwtPickerMachine
00118 {
00119 <span class="keyword">public</span>:
00120     <span class="keyword">virtual</span> QValueList&lt;Command&gt; <a class="code" href="class_qwt_picker_machine.html#a1">transition</a>(
00121         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
00122 };
00123 
<a name="l00135"></a><a class="code" href="class_qwt_picker_polygon_machine.html">00135</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerPolygonMachine: <span class="keyword">public</span> QwtPickerMachine
00136 {
00137 <span class="keyword">public</span>:
00138     <span class="keyword">virtual</span> QValueList&lt;Command&gt; <a class="code" href="class_qwt_picker_machine.html#a1">transition</a>(
00139         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
00140 };
00141 
00142 <span class="preprocessor">#endif</span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Tue Nov 16 21:12:20 2004 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.3.8 </small></address>
</body>
</html>