~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.1/doc/html/qwt__picker__machine_8h-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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&apos;s Guide: qwt_picker_machine.h Source File</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.5.0 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li><a href="classes.html"><span>Classes</span></a></li>
 
12
    <li id="current"><a href="files.html"><span>Files</span></a></li>
 
13
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
 
14
  </ul></div>
 
15
<div class="tabs">
 
16
  <ul>
 
17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
 
18
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
 
19
  </ul></div>
 
20
<h1>qwt_picker_machine.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************</span>
 
21
<a name="l00002"></a>00002 <span class="comment"> * Qwt Widget Library</span>
 
22
<a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 1997   Josef Wilgen</span>
 
23
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span>
 
24
<a name="l00005"></a>00005 <span class="comment"> * </span>
 
25
<a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
 
26
<a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span>
 
27
<a name="l00008"></a>00008 <span class="comment"> *****************************************************************************/</span>
 
28
<a name="l00009"></a>00009 
 
29
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef QWT_PICKER_MACHINE</span>
 
30
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define QWT_PICKER_MACHINE 1</span>
 
31
<a name="l00012"></a>00012 <span class="preprocessor"></span>
 
32
<a name="l00013"></a>00013 <span class="preprocessor">#include "qwt_global.h"</span>
 
33
<a name="l00014"></a>00014 <span class="preprocessor">#if QT_VERSION &lt; 0x040000</span>
 
34
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#include &lt;qvaluelist.h&gt;</span>
 
35
<a name="l00016"></a>00016 <span class="preprocessor">#else</span>
 
36
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#include &lt;qlist.h&gt;</span>
 
37
<a name="l00018"></a>00018 <span class="preprocessor">#endif</span>
 
38
<a name="l00019"></a>00019 <span class="preprocessor"></span>
 
39
<a name="l00020"></a>00020 <span class="keyword">class </span>QEvent;
 
40
<a name="l00021"></a>00021 <span class="keyword">class </span><a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a>;
 
41
<a name="l00022"></a>00022 
 
42
<a name="l00032"></a><a class="code" href="class_qwt_picker_machine.html">00032</a> <span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>
 
43
<a name="l00033"></a>00033 {
 
44
<a name="l00034"></a>00034 <span class="keyword">public</span>:
 
45
<a name="l00036"></a><a class="code" href="class_qwt_picker_machine.html#3a8d3d4c107ce5f8351e4cbdd38c43f7">00036</a>     <span class="keyword">enum</span> <a class="code" href="class_qwt_picker_machine.html#3a8d3d4c107ce5f8351e4cbdd38c43f7">Command</a>
 
46
<a name="l00037"></a>00037     {
 
47
<a name="l00038"></a>00038         Begin,
 
48
<a name="l00039"></a>00039         Append,
 
49
<a name="l00040"></a>00040         Move,
 
50
<a name="l00041"></a>00041         End
 
51
<a name="l00042"></a>00042     };
 
52
<a name="l00043"></a>00043 
 
53
<a name="l00044"></a>00044 <span class="preprocessor">#if QT_VERSION &lt; 0x040000</span>
 
54
<a name="l00045"></a>00045 <span class="preprocessor"></span>    <span class="keyword">typedef</span> QValueList&lt;Command&gt; CommandList;
 
55
<a name="l00046"></a>00046 <span class="preprocessor">#else</span>
 
56
<a name="l00047"></a><a class="code" href="class_qwt_picker_machine.html#c173f6053e54747d7154bbc015763a22">00047</a> <span class="preprocessor"></span>    <span class="keyword">typedef</span> QList&lt;Command&gt; CommandList;
 
57
<a name="l00048"></a>00048 <span class="preprocessor">#endif</span>
 
58
<a name="l00049"></a>00049 <span class="preprocessor"></span>
 
59
<a name="l00050"></a>00050     <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>();
 
60
<a name="l00051"></a>00051 
 
61
<a name="l00053"></a>00053     <span class="keyword">virtual</span> CommandList transition(
 
62
<a name="l00054"></a>00054         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *) = 0;
 
63
<a name="l00055"></a>00055     <span class="keywordtype">void</span> reset(); 
 
64
<a name="l00056"></a>00056 
 
65
<a name="l00057"></a>00057     <span class="keywordtype">int</span> state() <span class="keyword">const</span>;
 
66
<a name="l00058"></a>00058     <span class="keywordtype">void</span> setState(<span class="keywordtype">int</span>);
 
67
<a name="l00059"></a>00059 
 
68
<a name="l00060"></a>00060 <span class="keyword">protected</span>:
 
69
<a name="l00061"></a>00061     <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>();
 
70
<a name="l00062"></a>00062 
 
71
<a name="l00063"></a>00063 <span class="keyword">private</span>:
 
72
<a name="l00064"></a>00064     <span class="keywordtype">int</span> d_state;
 
73
<a name="l00065"></a>00065 };
 
74
<a name="l00066"></a>00066 
 
75
<a name="l00075"></a><a class="code" href="class_qwt_picker_click_point_machine.html">00075</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerClickPointMachine: <span class="keyword">public</span> <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>
 
76
<a name="l00076"></a>00076 {
 
77
<a name="l00077"></a>00077 <span class="keyword">public</span>:
 
78
<a name="l00078"></a>00078     <span class="keyword">virtual</span> CommandList <a class="code" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">transition</a>(
 
79
<a name="l00079"></a>00079         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
 
80
<a name="l00080"></a>00080 };
 
81
<a name="l00081"></a>00081 
 
82
<a name="l00089"></a><a class="code" href="class_qwt_picker_drag_point_machine.html">00089</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerDragPointMachine: <span class="keyword">public</span> <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>
 
83
<a name="l00090"></a>00090 {
 
84
<a name="l00091"></a>00091 <span class="keyword">public</span>:
 
85
<a name="l00092"></a>00092     <span class="keyword">virtual</span> CommandList <a class="code" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">transition</a>(
 
86
<a name="l00093"></a>00093         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
 
87
<a name="l00094"></a>00094 };
 
88
<a name="l00095"></a>00095 
 
89
<a name="l00109"></a><a class="code" href="class_qwt_picker_click_rect_machine.html">00109</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerClickRectMachine: <span class="keyword">public</span> <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>
 
90
<a name="l00110"></a>00110 {
 
91
<a name="l00111"></a>00111 <span class="keyword">public</span>:
 
92
<a name="l00112"></a>00112     <span class="keyword">virtual</span> CommandList <a class="code" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">transition</a>(
 
93
<a name="l00113"></a>00113         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
 
94
<a name="l00114"></a>00114 };
 
95
<a name="l00115"></a>00115 
 
96
<a name="l00128"></a><a class="code" href="class_qwt_picker_drag_rect_machine.html">00128</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerDragRectMachine: <span class="keyword">public</span> <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>
 
97
<a name="l00129"></a>00129 {
 
98
<a name="l00130"></a>00130 <span class="keyword">public</span>:
 
99
<a name="l00131"></a>00131     <span class="keyword">virtual</span> CommandList <a class="code" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">transition</a>(
 
100
<a name="l00132"></a>00132         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
 
101
<a name="l00133"></a>00133 };
 
102
<a name="l00134"></a>00134 
 
103
<a name="l00146"></a><a class="code" href="class_qwt_picker_polygon_machine.html">00146</a> <span class="keyword">class </span>QWT_EXPORT QwtPickerPolygonMachine: <span class="keyword">public</span> <a class="code" href="class_qwt_picker_machine.html">QwtPickerMachine</a>
 
104
<a name="l00147"></a>00147 {
 
105
<a name="l00148"></a>00148 <span class="keyword">public</span>:
 
106
<a name="l00149"></a>00149     <span class="keyword">virtual</span> CommandList <a class="code" href="class_qwt_picker_machine.html#471bbb0faec23939aadb94e5e5f9ef73">transition</a>(
 
107
<a name="l00150"></a>00150         <span class="keyword">const</span> <a class="code" href="class_qwt_event_pattern.html">QwtEventPattern</a> &amp;, <span class="keyword">const</span> QEvent *);
 
108
<a name="l00151"></a>00151 };
 
109
<a name="l00152"></a>00152 
 
110
<a name="l00153"></a>00153 <span class="preprocessor">#endif</span>
 
111
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 24 18:47:39 2008 for Qwt User's Guide by&nbsp;
 
112
<a href="http://www.doxygen.org/index.html">
 
113
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
 
114
</body>
 
115
</html>