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

« back to all changes in this revision

Viewing changes to qwt-5.1.0/doc/html/class_qwt_counter.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: QwtCounter Class Reference</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 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&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
18
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21
 
  </ul></div>
22
 
<h1>QwtCounter Class Reference</h1><!-- doxytag: class="QwtCounter" --><!-- doxytag: inherits="QwtDoubleRange" -->Inheritance diagram for QwtCounter:<p><center><img src="class_qwt_counter__inherit__graph.png" border="0" usemap="#_qwt_counter__inherit__map" alt="Inheritance graph"></center>
23
 
<map name="_qwt_counter__inherit__map">
24
 
<area href="class_qwt_double_range.html" shape="rect" coords="7,8,132,32" alt="">
25
 
</map>
26
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtCounter:<p><center><img src="class_qwt_counter__coll__graph.png" border="0" usemap="#_qwt_counter__coll__map" alt="Collaboration graph"></center>
27
 
<map name="_qwt_counter__coll__map">
28
 
<area href="class_qwt_double_range.html" shape="rect" coords="7,8,132,32" alt="">
29
 
</map>
30
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_counter-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
 
The Counter Widget. 
32
 
<p>
33
 
A Counter consists of a label displaying a number and one ore more (up to three) push buttons on each side of the label which can be used to increment or decrement the counter's value.<p>
34
 
A Counter has a range from a minimum value to a maximum value and a step size. The range can be specified using QwtDblRange::setRange(). The counter's value is an integer multiple of the step size. The number of steps by which a button increments or decrements the value can be specified using <a class="el" href="class_qwt_counter.html#6aa68e7fc717fb0e2e48a978301c96eb">QwtCounter::setIncSteps()</a>. The number of buttons can be changed with <a class="el" href="class_qwt_counter.html#e9241fda2e375becdb484cc2cf7752f4">QwtCounter::setNumButtons()</a>.<p>
35
 
Holding the space bar down with focus on a button is the fastest method to step through the counter values. When the counter underflows/overflows, the focus is set to the smallest up/down button and counting is disabled. Counting is re-enabled on a button release event (mouse or space bar).<p>
36
 
Example: <div class="fragment"><pre class="fragment"><span class="preprocessor">#include "../include/qwt_counter.h&gt;</span>
37
 
 
38
 
<a class="code" href="class_qwt_counter.html">QwtCounter</a> *cnt;
39
 
 
40
 
cnt = <span class="keyword">new</span> <a class="code" href="class_qwt_counter.html#ee94cdbaf1f3d22e110fd3535dbca34a">QwtCounter</a>(parent, name);
41
 
 
42
 
cnt-&gt;<a class="code" href="class_qwt_double_range.html#43891011664b74b8e5454763a3f5ff21">setRange</a>(0.0, 100.0, 1.0);             <span class="comment">// From 0.0 to 100, step 1.0</span>
43
 
cnt-&gt;<a class="code" href="class_qwt_counter.html#e9241fda2e375becdb484cc2cf7752f4">setNumButtons</a>(2);                      <span class="comment">// Two buttons each side</span>
44
 
cnt-&gt;<a class="code" href="class_qwt_counter.html#6aa68e7fc717fb0e2e48a978301c96eb">setIncSteps</a>(QwtCounter::Button1, 1);   <span class="comment">// Button 1 increments 1 step</span>
45
 
cnt-&gt;<a class="code" href="class_qwt_counter.html#6aa68e7fc717fb0e2e48a978301c96eb">setIncSteps</a>(QwtCounter::Button2, 20);  <span class="comment">// Button 2 increments 20 steps</span>
46
 
 
47
 
connect(cnt, SIGNAL(<a class="code" href="class_qwt_counter.html#dd02928c348417fbfadd7095d058f331">valueChanged</a>(<span class="keywordtype">double</span>)), my_class, SLOT(newValue(<span class="keywordtype">double</span>)));
48
 
</pre></div> 
49
 
<p>
50
 
 
51
 
<p>
52
 
Definition at line <a class="el" href="qwt__counter_8h-source.html#l00060">60</a> of file <a class="el" href="qwt__counter_8h-source.html">qwt_counter.h</a>.<table border="0" cellpadding="0" cellspacing="0">
53
 
<tr><td></td></tr>
54
 
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
55
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">Button</a> { <br>
56
 
&nbsp;&nbsp;<b>Button1</b>, 
57
 
<br>
58
 
&nbsp;&nbsp;<b>Button2</b>, 
59
 
<br>
60
 
&nbsp;&nbsp;<b>Button3</b>, 
61
 
<br>
62
 
&nbsp;&nbsp;<b>ButtonCnt</b>
63
 
<br>
64
 
 }</td></tr>
65
 
 
66
 
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
67
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#694ed7277e137e44bccc5918b4c15ecc">buttonReleased</a> (double value)</td></tr>
68
 
 
69
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#dd02928c348417fbfadd7095d058f331">valueChanged</a> (double value)</td></tr>
70
 
 
71
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
72
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ee94cdbaf1f3d22e110fd3535dbca34a">QwtCounter</a> (QWidget *parent=NULL)</td></tr>
73
 
 
74
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#6469133eb210b470023a3dcc735aec4d">~QwtCounter</a> ()</td></tr>
75
 
 
76
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#7f525030491d61796ca33097c17ff816">editable</a> () const</td></tr>
77
 
 
78
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#2d2f4bf2813d2aa30c2fb9ec7a90163c">setEditable</a> (bool)</td></tr>
79
 
 
80
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#e9241fda2e375becdb484cc2cf7752f4">setNumButtons</a> (int n)</td></tr>
81
 
 
82
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#b7aa5fbf0041f6e1d99c1ceafbc8bb10">numButtons</a> () const</td></tr>
83
 
 
84
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#6aa68e7fc717fb0e2e48a978301c96eb">setIncSteps</a> (<a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a> btn, int nSteps)</td></tr>
85
 
 
86
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#8daf96c94051c8221904d05acc963178">incSteps</a> (<a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a> btn) const</td></tr>
87
 
 
88
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#429a2e986aa46c1231643df5d4c78970">setValue</a> (double)</td></tr>
89
 
 
90
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#acbb4750fdd028ef4ad0fba7e874afaf">sizeHint</a> () const</td></tr>
91
 
 
92
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#19824b7542778b23372fb77fac75beb8">polish</a> ()</td></tr>
93
 
 
94
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#b3eed7ad89bbbe417ae40f8b45d5a96b">step</a> () const</td></tr>
95
 
 
96
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#b885e97d0071877dfefb73feb0adc0cd">setStep</a> (double s)</td></tr>
97
 
 
98
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#20385d862dd11ac88efd3a64f80f0b27">minVal</a> () const</td></tr>
99
 
 
100
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#8c1b902c0805f3581568b4d700e79221">setMinValue</a> (double m)</td></tr>
101
 
 
102
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#757220571e23e96f00612b7d80baf43e">maxVal</a> () const</td></tr>
103
 
 
104
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#fd1de4657645bd41a8ccdaa21a7dc591">setMaxValue</a> (double m)</td></tr>
105
 
 
106
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#e56a556a72955b6d10419f2c41779383">setStepButton1</a> (int nSteps)</td></tr>
107
 
 
108
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#ffdd91a6698ff0c90e24e69ff410924f">stepButton1</a> () const</td></tr>
109
 
 
110
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#0d764a96706593d8c8b51338e92abfcc">setStepButton2</a> (int nSteps)</td></tr>
111
 
 
112
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#cec167b50ae44afe5ff8e9233e77a939">stepButton2</a> () const</td></tr>
113
 
 
114
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#8b55539578de083793b8310cb8909294">setStepButton3</a> (int nSteps)</td></tr>
115
 
 
116
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#259de8df2b8928139d1fc4738694eac8">stepButton3</a> () const</td></tr>
117
 
 
118
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#1881fcb0f81052bd7787523246d19515">value</a> () const</td></tr>
119
 
 
120
 
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
121
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#d855f1cec9068fd73cce5e2e29fb5771">event</a> (QEvent *)</td></tr>
122
 
 
123
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cdada1ba1d5873b9c8b3f75d63b4685a"></a><!-- doxytag: member="QwtCounter::wheelEvent" ref="cdada1ba1d5873b9c8b3f75d63b4685a" args="(QWheelEvent *)" -->
124
 
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#cdada1ba1d5873b9c8b3f75d63b4685a">wheelEvent</a> (QWheelEvent *)</td></tr>
125
 
 
126
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#afdc19bff96fcafc4b8ed8e3bf7bf07b">keyPressEvent</a> (QKeyEvent *)</td></tr>
127
 
 
128
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_counter.html#4fd4e750b1f5a852250e57778a3e4159">rangeChange</a> ()</td></tr>
129
 
 
130
 
</table>
131
 
<hr><h2>Member Enumeration Documentation</h2>
132
 
<a class="anchor" name="027cfd91946ca9a19a1d606411e0f374"></a><!-- doxytag: member="QwtCounter::Button" ref="027cfd91946ca9a19a1d606411e0f374" args="" -->
133
 
<div class="memitem">
134
 
<div class="memproto">
135
 
      <table class="memname">
136
 
        <tr>
137
 
          <td class="memname">enum <a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>          </td>
138
 
        </tr>
139
 
      </table>
140
 
</div>
141
 
<div class="memdoc">
142
 
 
143
 
<p>
144
 
Button index 
145
 
<p>
146
 
Definition at line <a class="el" href="qwt__counter_8h-source.html#l00079">79</a> of file <a class="el" href="qwt__counter_8h-source.html">qwt_counter.h</a>.
147
 
</div>
148
 
</div><p>
149
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
150
 
<a class="anchor" name="ee94cdbaf1f3d22e110fd3535dbca34a"></a><!-- doxytag: member="QwtCounter::QwtCounter" ref="ee94cdbaf1f3d22e110fd3535dbca34a" args="(QWidget *parent=NULL)" -->
151
 
<div class="memitem">
152
 
<div class="memproto">
153
 
      <table class="memname">
154
 
        <tr>
155
 
          <td class="memname">QwtCounter::QwtCounter           </td>
156
 
          <td>(</td>
157
 
          <td class="paramtype">QWidget *&nbsp;</td>
158
 
          <td class="paramname"> <em>parent</em> = <code>NULL</code>          </td>
159
 
          <td>&nbsp;)&nbsp;</td>
160
 
          <td width="100%"><code> [explicit]</code></td>
161
 
        </tr>
162
 
      </table>
163
 
</div>
164
 
<div class="memdoc">
165
 
 
166
 
<p>
167
 
The default number of buttons is set to 2. The default increments are: <ul>
168
 
<li>Button 1: 1 step </li>
169
 
<li>Button 2: 10 steps </li>
170
 
<li>Button 3: 100 steps</li>
171
 
</ul>
172
 
<dl compact><dt><b>Parameters:</b></dt><dd>
173
 
  <table border="0" cellspacing="2" cellpadding="0">
174
 
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td></td></tr>
175
 
  </table>
176
 
</dl>
177
 
 
178
 
<p>
179
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00050">50</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
180
 
</div>
181
 
</div><p>
182
 
<a class="anchor" name="6469133eb210b470023a3dcc735aec4d"></a><!-- doxytag: member="QwtCounter::~QwtCounter" ref="6469133eb210b470023a3dcc735aec4d" args="()" -->
183
 
<div class="memitem">
184
 
<div class="memproto">
185
 
      <table class="memname">
186
 
        <tr>
187
 
          <td class="memname">QwtCounter::~QwtCounter           </td>
188
 
          <td>(</td>
189
 
          <td class="paramname">          </td>
190
 
          <td>&nbsp;)&nbsp;</td>
191
 
          <td width="100%"><code> [virtual]</code></td>
192
 
        </tr>
193
 
      </table>
194
 
</div>
195
 
<div class="memdoc">
196
 
 
197
 
<p>
198
 
Destructor. 
199
 
<p>
200
 
 
201
 
<p>
202
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00143">143</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
203
 
</div>
204
 
</div><p>
205
 
<hr><h2>Member Function Documentation</h2>
206
 
<a class="anchor" name="7f525030491d61796ca33097c17ff816"></a><!-- doxytag: member="QwtCounter::editable" ref="7f525030491d61796ca33097c17ff816" args="() const" -->
207
 
<div class="memitem">
208
 
<div class="memproto">
209
 
      <table class="memname">
210
 
        <tr>
211
 
          <td class="memname">bool QwtCounter::editable           </td>
212
 
          <td>(</td>
213
 
          <td class="paramname">          </td>
214
 
          <td>&nbsp;)&nbsp;</td>
215
 
          <td width="100%"> const</td>
216
 
        </tr>
217
 
      </table>
218
 
</div>
219
 
<div class="memdoc">
220
 
 
221
 
<p>
222
 
returns whether the line edit is edatble. (default is yes) 
223
 
<p>
224
 
 
225
 
<p>
226
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00198">198</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
227
 
</div>
228
 
</div><p>
229
 
<a class="anchor" name="2d2f4bf2813d2aa30c2fb9ec7a90163c"></a><!-- doxytag: member="QwtCounter::setEditable" ref="2d2f4bf2813d2aa30c2fb9ec7a90163c" args="(bool)" -->
230
 
<div class="memitem">
231
 
<div class="memproto">
232
 
      <table class="memname">
233
 
        <tr>
234
 
          <td class="memname">void QwtCounter::setEditable           </td>
235
 
          <td>(</td>
236
 
          <td class="paramtype">bool&nbsp;</td>
237
 
          <td class="paramname"> <em>editable</em>          </td>
238
 
          <td>&nbsp;)&nbsp;</td>
239
 
          <td width="100%"></td>
240
 
        </tr>
241
 
      </table>
242
 
</div>
243
 
<div class="memdoc">
244
 
 
245
 
<p>
246
 
Allow/disallow the user to manually edit the value. 
247
 
<p>
248
 
<dl compact><dt><b>Parameters:</b></dt><dd>
249
 
  <table border="0" cellspacing="2" cellpadding="0">
250
 
    <tr><td valign="top"></td><td valign="top"><em>editable</em>&nbsp;</td><td>true enables editing </td></tr>
251
 
  </table>
252
 
</dl>
253
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_counter.html#7f525030491d61796ca33097c17ff816">editable()</a> </dd></dl>
254
 
 
255
 
<p>
256
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00185">185</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
257
 
</div>
258
 
</div><p>
259
 
<a class="anchor" name="e9241fda2e375becdb484cc2cf7752f4"></a><!-- doxytag: member="QwtCounter::setNumButtons" ref="e9241fda2e375becdb484cc2cf7752f4" args="(int n)" -->
260
 
<div class="memitem">
261
 
<div class="memproto">
262
 
      <table class="memname">
263
 
        <tr>
264
 
          <td class="memname">void QwtCounter::setNumButtons           </td>
265
 
          <td>(</td>
266
 
          <td class="paramtype">int&nbsp;</td>
267
 
          <td class="paramname"> <em>n</em>          </td>
268
 
          <td>&nbsp;)&nbsp;</td>
269
 
          <td width="100%"></td>
270
 
        </tr>
271
 
      </table>
272
 
</div>
273
 
<div class="memdoc">
274
 
 
275
 
<p>
276
 
Specify the number of buttons on each side of the label. 
277
 
<p>
278
 
<dl compact><dt><b>Parameters:</b></dt><dd>
279
 
  <table border="0" cellspacing="2" cellpadding="0">
280
 
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>Number of buttons </td></tr>
281
 
  </table>
282
 
</dl>
283
 
 
284
 
<p>
285
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00441">441</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
286
 
</div>
287
 
</div><p>
288
 
<a class="anchor" name="b7aa5fbf0041f6e1d99c1ceafbc8bb10"></a><!-- doxytag: member="QwtCounter::numButtons" ref="b7aa5fbf0041f6e1d99c1ceafbc8bb10" args="() const" -->
289
 
<div class="memitem">
290
 
<div class="memproto">
291
 
      <table class="memname">
292
 
        <tr>
293
 
          <td class="memname">int QwtCounter::numButtons           </td>
294
 
          <td>(</td>
295
 
          <td class="paramname">          </td>
296
 
          <td>&nbsp;)&nbsp;</td>
297
 
          <td width="100%"> const</td>
298
 
        </tr>
299
 
      </table>
300
 
</div>
301
 
<div class="memdoc">
302
 
 
303
 
<p>
304
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of buttons on each side of the widget. </dd></dl>
305
 
 
306
 
<p>
307
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00466">466</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
308
 
</div>
309
 
</div><p>
310
 
<a class="anchor" name="6aa68e7fc717fb0e2e48a978301c96eb"></a><!-- doxytag: member="QwtCounter::setIncSteps" ref="6aa68e7fc717fb0e2e48a978301c96eb" args="(QwtCounter::Button btn, int nSteps)" -->
311
 
<div class="memitem">
312
 
<div class="memproto">
313
 
      <table class="memname">
314
 
        <tr>
315
 
          <td class="memname">void QwtCounter::setIncSteps           </td>
316
 
          <td>(</td>
317
 
          <td class="paramtype"><a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>&nbsp;</td>
318
 
          <td class="paramname"> <em>btn</em>, </td>
319
 
        </tr>
320
 
        <tr>
321
 
          <td class="paramkey"></td>
322
 
          <td></td>
323
 
          <td class="paramtype">int&nbsp;</td>
324
 
          <td class="paramname"> <em>nSteps</em></td><td>&nbsp;</td>
325
 
        </tr>
326
 
        <tr>
327
 
          <td></td>
328
 
          <td>)</td>
329
 
          <td></td><td></td><td width="100%"></td>
330
 
        </tr>
331
 
      </table>
332
 
</div>
333
 
<div class="memdoc">
334
 
 
335
 
<p>
336
 
Specify the number of steps by which the value is incremented or decremented when a specified button is pushed.<p>
337
 
<dl compact><dt><b>Parameters:</b></dt><dd>
338
 
  <table border="0" cellspacing="2" cellpadding="0">
339
 
    <tr><td valign="top"></td><td valign="top"><em>btn</em>&nbsp;</td><td>One of <code>QwtCounter::Button1</code>, <code>QwtCounter::Button2</code>, <code>QwtCounter::Button3</code> </td></tr>
340
 
    <tr><td valign="top"></td><td valign="top"><em>nSteps</em>&nbsp;</td><td>Number of steps </td></tr>
341
 
  </table>
342
 
</dl>
343
 
 
344
 
<p>
345
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00355">355</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
346
 
<p>
347
 
Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00586">setStepButton1()</a>, <a class="el" href="qwt__counter_8cpp-source.html#l00598">setStepButton2()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00610">setStepButton3()</a>.
348
 
</div>
349
 
</div><p>
350
 
<a class="anchor" name="8daf96c94051c8221904d05acc963178"></a><!-- doxytag: member="QwtCounter::incSteps" ref="8daf96c94051c8221904d05acc963178" args="(QwtCounter::Button btn) const" -->
351
 
<div class="memitem">
352
 
<div class="memproto">
353
 
      <table class="memname">
354
 
        <tr>
355
 
          <td class="memname">int QwtCounter::incSteps           </td>
356
 
          <td>(</td>
357
 
          <td class="paramtype"><a class="el" href="class_qwt_counter.html#027cfd91946ca9a19a1d606411e0f374">QwtCounter::Button</a>&nbsp;</td>
358
 
          <td class="paramname"> <em>btn</em>          </td>
359
 
          <td>&nbsp;)&nbsp;</td>
360
 
          <td width="100%"> const</td>
361
 
        </tr>
362
 
      </table>
363
 
</div>
364
 
<div class="memdoc">
365
 
 
366
 
<p>
367
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the number of steps by which a specified button increments the value or 0 if the button is invalid. </dd></dl>
368
 
<dl compact><dt><b>Parameters:</b></dt><dd>
369
 
  <table border="0" cellspacing="2" cellpadding="0">
370
 
    <tr><td valign="top"></td><td valign="top"><em>btn</em>&nbsp;</td><td>One of <code>QwtCounter::Button1</code>, <code>QwtCounter::Button2</code>, <code>QwtCounter::Button3</code> </td></tr>
371
 
  </table>
372
 
</dl>
373
 
 
374
 
<p>
375
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00367">367</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
376
 
<p>
377
 
Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00592">stepButton1()</a>, <a class="el" href="qwt__counter_8cpp-source.html#l00604">stepButton2()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00616">stepButton3()</a>.
378
 
</div>
379
 
</div><p>
380
 
<a class="anchor" name="429a2e986aa46c1231643df5d4c78970"></a><!-- doxytag: member="QwtCounter::setValue" ref="429a2e986aa46c1231643df5d4c78970" args="(double)" -->
381
 
<div class="memitem">
382
 
<div class="memproto">
383
 
      <table class="memname">
384
 
        <tr>
385
 
          <td class="memname">void QwtCounter::setValue           </td>
386
 
          <td>(</td>
387
 
          <td class="paramtype">double&nbsp;</td>
388
 
          <td class="paramname"> <em>v</em>          </td>
389
 
          <td>&nbsp;)&nbsp;</td>
390
 
          <td width="100%"><code> [virtual]</code></td>
391
 
        </tr>
392
 
      </table>
393
 
</div>
394
 
<div class="memdoc">
395
 
 
396
 
<p>
397
 
Set a new value. 
398
 
<p>
399
 
<dl compact><dt><b>Parameters:</b></dt><dd>
400
 
  <table border="0" cellspacing="2" cellpadding="0">
401
 
    <tr><td valign="top"></td><td valign="top"><em>v</em>&nbsp;</td><td>new value Calls <a class="el" href="class_qwt_double_range.html#f6a3aa74c970a2bef29f0c1af99720e8">QwtDoubleRange::setValue</a> and does all visual updates. </td></tr>
402
 
  </table>
403
 
</dl>
404
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#f6a3aa74c970a2bef29f0c1af99720e8">QwtDoubleRange::setValue</a> </dd></dl>
405
 
 
406
 
<p>
407
 
Reimplemented from <a class="el" href="class_qwt_double_range.html#f6a3aa74c970a2bef29f0c1af99720e8">QwtDoubleRange</a>.
408
 
<p>
409
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00382">382</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
410
 
<p>
411
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00150">QwtDoubleRange::setValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00621">value()</a>.
412
 
<p>
413
 
Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00236">keyPressEvent()</a>.
414
 
</div>
415
 
</div><p>
416
 
<a class="anchor" name="acbb4750fdd028ef4ad0fba7e874afaf"></a><!-- doxytag: member="QwtCounter::sizeHint" ref="acbb4750fdd028ef4ad0fba7e874afaf" args="() const" -->
417
 
<div class="memitem">
418
 
<div class="memproto">
419
 
      <table class="memname">
420
 
        <tr>
421
 
          <td class="memname">QSize QwtCounter::sizeHint           </td>
422
 
          <td>(</td>
423
 
          <td class="paramname">          </td>
424
 
          <td>&nbsp;)&nbsp;</td>
425
 
          <td width="100%"> const<code> [virtual]</code></td>
426
 
        </tr>
427
 
      </table>
428
 
</div>
429
 
<div class="memdoc">
430
 
 
431
 
<p>
432
 
A size hint. 
433
 
<p>
434
 
 
435
 
<p>
436
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00513">513</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
437
 
<p>
438
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00329">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00342">QwtDoubleRange::minValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00550">step()</a>.
439
 
</div>
440
 
</div><p>
441
 
<a class="anchor" name="19824b7542778b23372fb77fac75beb8"></a><!-- doxytag: member="QwtCounter::polish" ref="19824b7542778b23372fb77fac75beb8" args="()" -->
442
 
<div class="memitem">
443
 
<div class="memproto">
444
 
      <table class="memname">
445
 
        <tr>
446
 
          <td class="memname">void QwtCounter::polish           </td>
447
 
          <td>(</td>
448
 
          <td class="paramname">          </td>
449
 
          <td>&nbsp;)&nbsp;</td>
450
 
          <td width="100%"><code> [virtual]</code></td>
451
 
        </tr>
452
 
      </table>
453
 
</div>
454
 
<div class="memdoc">
455
 
 
456
 
<p>
457
 
Sets the minimum width for the buttons 
458
 
<p>
459
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00151">151</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
460
 
<p>
461
 
Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00206">event()</a>.
462
 
</div>
463
 
</div><p>
464
 
<a class="anchor" name="b3eed7ad89bbbe417ae40f8b45d5a96b"></a><!-- doxytag: member="QwtCounter::step" ref="b3eed7ad89bbbe417ae40f8b45d5a96b" args="() const" -->
465
 
<div class="memitem">
466
 
<div class="memproto">
467
 
      <table class="memname">
468
 
        <tr>
469
 
          <td class="memname">double QwtCounter::step           </td>
470
 
          <td>(</td>
471
 
          <td class="paramname">          </td>
472
 
          <td>&nbsp;)&nbsp;</td>
473
 
          <td width="100%"> const</td>
474
 
        </tr>
475
 
      </table>
476
 
</div>
477
 
<div class="memdoc">
478
 
 
479
 
<p>
480
 
returns the step size 
481
 
<p>
482
 
 
483
 
<p>
484
 
Reimplemented from <a class="el" href="class_qwt_double_range.html#09c68ddcd4b1e9f7cc3cf6a753db9f7d">QwtDoubleRange</a>.
485
 
<p>
486
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00550">550</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
487
 
<p>
488
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00316">QwtDoubleRange::step()</a>.
489
 
<p>
490
 
Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00580">setMaxValue()</a>, <a class="el" href="qwt__counter_8cpp-source.html#l00568">setMinValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00513">sizeHint()</a>.
491
 
</div>
492
 
</div><p>
493
 
<a class="anchor" name="b885e97d0071877dfefb73feb0adc0cd"></a><!-- doxytag: member="QwtCounter::setStep" ref="b885e97d0071877dfefb73feb0adc0cd" args="(double s)" -->
494
 
<div class="memitem">
495
 
<div class="memproto">
496
 
      <table class="memname">
497
 
        <tr>
498
 
          <td class="memname">void QwtCounter::setStep           </td>
499
 
          <td>(</td>
500
 
          <td class="paramtype">double&nbsp;</td>
501
 
          <td class="paramname"> <em>s</em>          </td>
502
 
          <td>&nbsp;)&nbsp;</td>
503
 
          <td width="100%"></td>
504
 
        </tr>
505
 
      </table>
506
 
</div>
507
 
<div class="memdoc">
508
 
 
509
 
<p>
510
 
sets the step size 
511
 
<p>
512
 
 
513
 
<p>
514
 
Reimplemented from <a class="el" href="class_qwt_double_range.html#29ed5fc66439def424a8ad773eea285d">QwtDoubleRange</a>.
515
 
<p>
516
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00556">556</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
517
 
<p>
518
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00211">QwtDoubleRange::setStep()</a>.
519
 
</div>
520
 
</div><p>
521
 
<a class="anchor" name="20385d862dd11ac88efd3a64f80f0b27"></a><!-- doxytag: member="QwtCounter::minVal" ref="20385d862dd11ac88efd3a64f80f0b27" args="() const" -->
522
 
<div class="memitem">
523
 
<div class="memproto">
524
 
      <table class="memname">
525
 
        <tr>
526
 
          <td class="memname">double QwtCounter::minVal           </td>
527
 
          <td>(</td>
528
 
          <td class="paramname">          </td>
529
 
          <td>&nbsp;)&nbsp;</td>
530
 
          <td width="100%"> const</td>
531
 
        </tr>
532
 
      </table>
533
 
</div>
534
 
<div class="memdoc">
535
 
 
536
 
<p>
537
 
returns the minimum value of the range 
538
 
<p>
539
 
 
540
 
<p>
541
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00562">562</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
542
 
<p>
543
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00342">QwtDoubleRange::minValue()</a>.
544
 
</div>
545
 
</div><p>
546
 
<a class="anchor" name="8c1b902c0805f3581568b4d700e79221"></a><!-- doxytag: member="QwtCounter::setMinValue" ref="8c1b902c0805f3581568b4d700e79221" args="(double m)" -->
547
 
<div class="memitem">
548
 
<div class="memproto">
549
 
      <table class="memname">
550
 
        <tr>
551
 
          <td class="memname">void QwtCounter::setMinValue           </td>
552
 
          <td>(</td>
553
 
          <td class="paramtype">double&nbsp;</td>
554
 
          <td class="paramname"> <em>m</em>          </td>
555
 
          <td>&nbsp;)&nbsp;</td>
556
 
          <td width="100%"></td>
557
 
        </tr>
558
 
      </table>
559
 
</div>
560
 
<div class="memdoc">
561
 
 
562
 
<p>
563
 
sets the minimum value of the range 
564
 
<p>
565
 
 
566
 
<p>
567
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00568">568</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
568
 
<p>
569
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00329">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00172">QwtDoubleRange::setRange()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00550">step()</a>.
570
 
</div>
571
 
</div><p>
572
 
<a class="anchor" name="757220571e23e96f00612b7d80baf43e"></a><!-- doxytag: member="QwtCounter::maxVal" ref="757220571e23e96f00612b7d80baf43e" args="() const" -->
573
 
<div class="memitem">
574
 
<div class="memproto">
575
 
      <table class="memname">
576
 
        <tr>
577
 
          <td class="memname">double QwtCounter::maxVal           </td>
578
 
          <td>(</td>
579
 
          <td class="paramname">          </td>
580
 
          <td>&nbsp;)&nbsp;</td>
581
 
          <td width="100%"> const</td>
582
 
        </tr>
583
 
      </table>
584
 
</div>
585
 
<div class="memdoc">
586
 
 
587
 
<p>
588
 
returns the maximum value of the range 
589
 
<p>
590
 
 
591
 
<p>
592
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00574">574</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
593
 
<p>
594
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00329">QwtDoubleRange::maxValue()</a>.
595
 
</div>
596
 
</div><p>
597
 
<a class="anchor" name="fd1de4657645bd41a8ccdaa21a7dc591"></a><!-- doxytag: member="QwtCounter::setMaxValue" ref="fd1de4657645bd41a8ccdaa21a7dc591" args="(double m)" -->
598
 
<div class="memitem">
599
 
<div class="memproto">
600
 
      <table class="memname">
601
 
        <tr>
602
 
          <td class="memname">void QwtCounter::setMaxValue           </td>
603
 
          <td>(</td>
604
 
          <td class="paramtype">double&nbsp;</td>
605
 
          <td class="paramname"> <em>m</em>          </td>
606
 
          <td>&nbsp;)&nbsp;</td>
607
 
          <td width="100%"></td>
608
 
        </tr>
609
 
      </table>
610
 
</div>
611
 
<div class="memdoc">
612
 
 
613
 
<p>
614
 
sets the maximum value of the range 
615
 
<p>
616
 
 
617
 
<p>
618
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00580">580</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
619
 
<p>
620
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00342">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00172">QwtDoubleRange::setRange()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00550">step()</a>.
621
 
</div>
622
 
</div><p>
623
 
<a class="anchor" name="e56a556a72955b6d10419f2c41779383"></a><!-- doxytag: member="QwtCounter::setStepButton1" ref="e56a556a72955b6d10419f2c41779383" args="(int nSteps)" -->
624
 
<div class="memitem">
625
 
<div class="memproto">
626
 
      <table class="memname">
627
 
        <tr>
628
 
          <td class="memname">void QwtCounter::setStepButton1           </td>
629
 
          <td>(</td>
630
 
          <td class="paramtype">int&nbsp;</td>
631
 
          <td class="paramname"> <em>nSteps</em>          </td>
632
 
          <td>&nbsp;)&nbsp;</td>
633
 
          <td width="100%"></td>
634
 
        </tr>
635
 
      </table>
636
 
</div>
637
 
<div class="memdoc">
638
 
 
639
 
<p>
640
 
set the number of increment steps for button 1 
641
 
<p>
642
 
 
643
 
<p>
644
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00586">586</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
645
 
<p>
646
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00355">setIncSteps()</a>.
647
 
</div>
648
 
</div><p>
649
 
<a class="anchor" name="ffdd91a6698ff0c90e24e69ff410924f"></a><!-- doxytag: member="QwtCounter::stepButton1" ref="ffdd91a6698ff0c90e24e69ff410924f" args="() const" -->
650
 
<div class="memitem">
651
 
<div class="memproto">
652
 
      <table class="memname">
653
 
        <tr>
654
 
          <td class="memname">int QwtCounter::stepButton1           </td>
655
 
          <td>(</td>
656
 
          <td class="paramname">          </td>
657
 
          <td>&nbsp;)&nbsp;</td>
658
 
          <td width="100%"> const</td>
659
 
        </tr>
660
 
      </table>
661
 
</div>
662
 
<div class="memdoc">
663
 
 
664
 
<p>
665
 
returns the number of increment steps for button 1 
666
 
<p>
667
 
 
668
 
<p>
669
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00592">592</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
670
 
<p>
671
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00367">incSteps()</a>.
672
 
</div>
673
 
</div><p>
674
 
<a class="anchor" name="0d764a96706593d8c8b51338e92abfcc"></a><!-- doxytag: member="QwtCounter::setStepButton2" ref="0d764a96706593d8c8b51338e92abfcc" args="(int nSteps)" -->
675
 
<div class="memitem">
676
 
<div class="memproto">
677
 
      <table class="memname">
678
 
        <tr>
679
 
          <td class="memname">void QwtCounter::setStepButton2           </td>
680
 
          <td>(</td>
681
 
          <td class="paramtype">int&nbsp;</td>
682
 
          <td class="paramname"> <em>nSteps</em>          </td>
683
 
          <td>&nbsp;)&nbsp;</td>
684
 
          <td width="100%"></td>
685
 
        </tr>
686
 
      </table>
687
 
</div>
688
 
<div class="memdoc">
689
 
 
690
 
<p>
691
 
set the number of increment steps for button 2 
692
 
<p>
693
 
 
694
 
<p>
695
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00598">598</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
696
 
<p>
697
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00355">setIncSteps()</a>.
698
 
</div>
699
 
</div><p>
700
 
<a class="anchor" name="cec167b50ae44afe5ff8e9233e77a939"></a><!-- doxytag: member="QwtCounter::stepButton2" ref="cec167b50ae44afe5ff8e9233e77a939" args="() const" -->
701
 
<div class="memitem">
702
 
<div class="memproto">
703
 
      <table class="memname">
704
 
        <tr>
705
 
          <td class="memname">int QwtCounter::stepButton2           </td>
706
 
          <td>(</td>
707
 
          <td class="paramname">          </td>
708
 
          <td>&nbsp;)&nbsp;</td>
709
 
          <td width="100%"> const</td>
710
 
        </tr>
711
 
      </table>
712
 
</div>
713
 
<div class="memdoc">
714
 
 
715
 
<p>
716
 
returns the number of increment steps for button 2 
717
 
<p>
718
 
 
719
 
<p>
720
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00604">604</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
721
 
<p>
722
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00367">incSteps()</a>.
723
 
</div>
724
 
</div><p>
725
 
<a class="anchor" name="8b55539578de083793b8310cb8909294"></a><!-- doxytag: member="QwtCounter::setStepButton3" ref="8b55539578de083793b8310cb8909294" args="(int nSteps)" -->
726
 
<div class="memitem">
727
 
<div class="memproto">
728
 
      <table class="memname">
729
 
        <tr>
730
 
          <td class="memname">void QwtCounter::setStepButton3           </td>
731
 
          <td>(</td>
732
 
          <td class="paramtype">int&nbsp;</td>
733
 
          <td class="paramname"> <em>nSteps</em>          </td>
734
 
          <td>&nbsp;)&nbsp;</td>
735
 
          <td width="100%"></td>
736
 
        </tr>
737
 
      </table>
738
 
</div>
739
 
<div class="memdoc">
740
 
 
741
 
<p>
742
 
set the number of increment steps for button 3 
743
 
<p>
744
 
 
745
 
<p>
746
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00610">610</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
747
 
<p>
748
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00355">setIncSteps()</a>.
749
 
</div>
750
 
</div><p>
751
 
<a class="anchor" name="259de8df2b8928139d1fc4738694eac8"></a><!-- doxytag: member="QwtCounter::stepButton3" ref="259de8df2b8928139d1fc4738694eac8" args="() const" -->
752
 
<div class="memitem">
753
 
<div class="memproto">
754
 
      <table class="memname">
755
 
        <tr>
756
 
          <td class="memname">int QwtCounter::stepButton3           </td>
757
 
          <td>(</td>
758
 
          <td class="paramname">          </td>
759
 
          <td>&nbsp;)&nbsp;</td>
760
 
          <td width="100%"> const</td>
761
 
        </tr>
762
 
      </table>
763
 
</div>
764
 
<div class="memdoc">
765
 
 
766
 
<p>
767
 
returns the number of increment steps for button 3 
768
 
<p>
769
 
 
770
 
<p>
771
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00616">616</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
772
 
<p>
773
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00367">incSteps()</a>.
774
 
</div>
775
 
</div><p>
776
 
<a class="anchor" name="1881fcb0f81052bd7787523246d19515"></a><!-- doxytag: member="QwtCounter::value" ref="1881fcb0f81052bd7787523246d19515" args="() const" -->
777
 
<div class="memitem">
778
 
<div class="memproto">
779
 
      <table class="memname">
780
 
        <tr>
781
 
          <td class="memname">double QwtCounter::value           </td>
782
 
          <td>(</td>
783
 
          <td class="paramname">          </td>
784
 
          <td>&nbsp;)&nbsp;</td>
785
 
          <td width="100%"> const<code> [virtual]</code></td>
786
 
        </tr>
787
 
      </table>
788
 
</div>
789
 
<div class="memdoc">
790
 
 
791
 
<p>
792
 
Returns the current value. 
793
 
<p>
794
 
 
795
 
<p>
796
 
Reimplemented from <a class="el" href="class_qwt_double_range.html#48f21cecc0cbd10f18b234d5bbe55faf">QwtDoubleRange</a>.
797
 
<p>
798
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00621">621</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
799
 
<p>
800
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00363">QwtDoubleRange::value()</a>.
801
 
<p>
802
 
Referenced by <a class="el" href="qwt__counter_8cpp-source.html#l00382">setValue()</a>.
803
 
</div>
804
 
</div><p>
805
 
<a class="anchor" name="694ed7277e137e44bccc5918b4c15ecc"></a><!-- doxytag: member="QwtCounter::buttonReleased" ref="694ed7277e137e44bccc5918b4c15ecc" args="(double value)" -->
806
 
<div class="memitem">
807
 
<div class="memproto">
808
 
      <table class="memname">
809
 
        <tr>
810
 
          <td class="memname">void QwtCounter::buttonReleased           </td>
811
 
          <td>(</td>
812
 
          <td class="paramtype">double&nbsp;</td>
813
 
          <td class="paramname"> <em>value</em>          </td>
814
 
          <td>&nbsp;)&nbsp;</td>
815
 
          <td width="100%"><code> [signal]</code></td>
816
 
        </tr>
817
 
      </table>
818
 
</div>
819
 
<div class="memdoc">
820
 
 
821
 
<p>
822
 
This signal is emitted when a button has been released <dl compact><dt><b>Parameters:</b></dt><dd>
823
 
  <table border="0" cellspacing="2" cellpadding="0">
824
 
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value </td></tr>
825
 
  </table>
826
 
</dl>
827
 
 
828
 
</div>
829
 
</div><p>
830
 
<a class="anchor" name="dd02928c348417fbfadd7095d058f331"></a><!-- doxytag: member="QwtCounter::valueChanged" ref="dd02928c348417fbfadd7095d058f331" args="(double value)" -->
831
 
<div class="memitem">
832
 
<div class="memproto">
833
 
      <table class="memname">
834
 
        <tr>
835
 
          <td class="memname">void QwtCounter::valueChanged           </td>
836
 
          <td>(</td>
837
 
          <td class="paramtype">double&nbsp;</td>
838
 
          <td class="paramname"> <em>value</em>          </td>
839
 
          <td>&nbsp;)&nbsp;</td>
840
 
          <td width="100%"><code> [signal]</code></td>
841
 
        </tr>
842
 
      </table>
843
 
</div>
844
 
<div class="memdoc">
845
 
 
846
 
<p>
847
 
This signal is emitted when the counter's value has changed <dl compact><dt><b>Parameters:</b></dt><dd>
848
 
  <table border="0" cellspacing="2" cellpadding="0">
849
 
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value </td></tr>
850
 
  </table>
851
 
</dl>
852
 
 
853
 
</div>
854
 
</div><p>
855
 
<a class="anchor" name="d855f1cec9068fd73cce5e2e29fb5771"></a><!-- doxytag: member="QwtCounter::event" ref="d855f1cec9068fd73cce5e2e29fb5771" args="(QEvent *)" -->
856
 
<div class="memitem">
857
 
<div class="memproto">
858
 
      <table class="memname">
859
 
        <tr>
860
 
          <td class="memname">bool QwtCounter::event           </td>
861
 
          <td>(</td>
862
 
          <td class="paramtype">QEvent *&nbsp;</td>
863
 
          <td class="paramname"> <em>e</em>          </td>
864
 
          <td>&nbsp;)&nbsp;</td>
865
 
          <td width="100%"><code> [protected, virtual]</code></td>
866
 
        </tr>
867
 
      </table>
868
 
</div>
869
 
<div class="memdoc">
870
 
 
871
 
<p>
872
 
Handle PolishRequest events 
873
 
<p>
874
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00206">206</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
875
 
<p>
876
 
References <a class="el" href="qwt__counter_8cpp-source.html#l00151">polish()</a>.
877
 
</div>
878
 
</div><p>
879
 
<a class="anchor" name="afdc19bff96fcafc4b8ed8e3bf7bf07b"></a><!-- doxytag: member="QwtCounter::keyPressEvent" ref="afdc19bff96fcafc4b8ed8e3bf7bf07b" args="(QKeyEvent *)" -->
880
 
<div class="memitem">
881
 
<div class="memproto">
882
 
      <table class="memname">
883
 
        <tr>
884
 
          <td class="memname">void QwtCounter::keyPressEvent           </td>
885
 
          <td>(</td>
886
 
          <td class="paramtype">QKeyEvent *&nbsp;</td>
887
 
          <td class="paramname"> <em>e</em>          </td>
888
 
          <td>&nbsp;)&nbsp;</td>
889
 
          <td width="100%"><code> [protected, virtual]</code></td>
890
 
        </tr>
891
 
      </table>
892
 
</div>
893
 
<div class="memdoc">
894
 
 
895
 
<p>
896
 
Handles key events<p>
897
 
<ul>
898
 
<li>Ctrl + Qt::Key_Home Step to <a class="el" href="class_qwt_double_range.html#d4cdcc335facc9cdcc12411ad0274169">minValue()</a></li><li>Ctrl + Qt::Key_End Step to <a class="el" href="class_qwt_double_range.html#dc07a0603792664d8400e3ba3c3a8f3a">maxValue()</a></li><li>Qt::Key_Up Increment by incSteps(QwtCounter::Button1)</li><li>Qt::Key_Down Decrement by incSteps(QwtCounter::Button1)</li><li>Qt::Key_PageUp Increment by incSteps(QwtCounter::Button2)</li><li>Qt::Key_PageDown Decrement by incSteps(QwtCounter::Button2)</li><li>Shift + Qt::Key_PageUp Increment by incSteps(QwtCounter::Button3)</li><li>Shift + Qt::Key_PageDown Decrement by incSteps(QwtCounter::Button3) </li></ul>
899
 
 
900
 
<p>
901
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00236">236</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
902
 
<p>
903
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00262">QwtDoubleRange::incValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00329">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00342">QwtDoubleRange::minValue()</a>, and <a class="el" href="qwt__counter_8cpp-source.html#l00382">setValue()</a>.
904
 
</div>
905
 
</div><p>
906
 
<a class="anchor" name="4fd4e750b1f5a852250e57778a3e4159"></a><!-- doxytag: member="QwtCounter::rangeChange" ref="4fd4e750b1f5a852250e57778a3e4159" args="()" -->
907
 
<div class="memitem">
908
 
<div class="memproto">
909
 
      <table class="memname">
910
 
        <tr>
911
 
          <td class="memname">void QwtCounter::rangeChange           </td>
912
 
          <td>(</td>
913
 
          <td class="paramname">          </td>
914
 
          <td>&nbsp;)&nbsp;</td>
915
 
          <td width="100%"><code> [protected, virtual]</code></td>
916
 
        </tr>
917
 
      </table>
918
 
</div>
919
 
<div class="memdoc">
920
 
 
921
 
<p>
922
 
Notify change of range. 
923
 
<p>
924
 
This function updates the enabled property of all buttons contained in <a class="el" href="class_qwt_counter.html">QwtCounter</a>. 
925
 
<p>
926
 
Reimplemented from <a class="el" href="class_qwt_double_range.html#3583134a1ac32706aa4742088bb9d4dc">QwtDoubleRange</a>.
927
 
<p>
928
 
Definition at line <a class="el" href="qwt__counter_8cpp-source.html#l00507">507</a> of file <a class="el" href="qwt__counter_8cpp-source.html">qwt_counter.cpp</a>.
929
 
</div>
930
 
</div><p>
931
 
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:44:28 2008 for Qwt User's Guide by&nbsp;
932
 
<a href="http://www.doxygen.org/index.html">
933
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
934
 
</body>
935
 
</html>