File: classWt_1_1Ext_1_1ProgressDialog.html

package info (click to toggle)
witty 3.2.1-2%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,436 kB
  • sloc: cpp: 117,095; ansic: 77,999; xml: 7,564; sh: 1,037; perl: 208; makefile: 144; java: 86; sql: 14
file content (344 lines) | stat: -rw-r--r-- 24,728 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::Ext::ProgressDialog Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="namespaceWt_1_1Ext.html">Ext</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html">ProgressDialog</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::Ext::ProgressDialog Class Reference<div class="ingroups"><a class="el" href="group__ext.html">Ext widgets (Wt::Ext)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::Ext::ProgressDialog" --><!-- doxytag: inherits="Wt::Ext::MessageBox" -->
<p>A standard dialog to inform the user of progress during a time consuming task.  
 <a href="classWt_1_1Ext_1_1ProgressDialog.html#details">More...</a></p>

<p><code>#include &lt;Wt/Ext/ProgressDialog&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::Ext::ProgressDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1Ext_1_1ProgressDialog__inherit__graph.png" border="0" usemap="#Wt_1_1Ext_1_1ProgressDialog_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1Ext_1_1ProgressDialog_inherit__map" id="Wt_1_1Ext_1_1ProgressDialog_inherit__map">
<area shape="rect" href="classWt_1_1Ext_1_1MessageBox.html" title="A standard dialog for confirmation or to get simple user input." alt="" coords="12,603,161,629"/><area shape="rect" href="classWt_1_1Ext_1_1Dialog.html" title="A dialog emulates a modal window that blocks the user&#45;interface." alt="" coords="32,528,141,555"/><area shape="rect" href="classWt_1_1Ext_1_1Panel.html" title="A container with a title and standard GUI elements." alt="" coords="33,453,140,480"/><area shape="rect" href="classWt_1_1Ext_1_1Container.html" title="A container class which manages its contents using layout managers." alt="" coords="23,379,151,405"/><area shape="rect" href="classWt_1_1Ext_1_1Component.html" title="An abstract base class for widgets that can be visually disabled." alt="" coords="17,304,156,331"/><area shape="rect" href="classWt_1_1Ext_1_1Widget.html" title="An abstract base class for all Ext widgets." alt="" coords="29,229,144,256"/><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="23,155,151,181"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="37,80,136,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="39,5,135,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1Ext_1_1ProgressDialog-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a8dcabafaf4235c88cd7eee441448c615">ProgressDialog</a> (bool i18n=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new progress dialog.  <a href="#a8dcabafaf4235c88cd7eee441448c615"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#aa56cda8b6be0140160ef7f3f0a333358">ProgressDialog</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text, const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;cancelButtonText, int minimum, int maximum, bool i18n=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new progress dialog.  <a href="#aa56cda8b6be0140160ef7f3f0a333358"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74d408dba39fce5fe2561218e5775f23"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::setMinimum" ref="a74d408dba39fce5fe2561218e5775f23" args="(int minimum)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a74d408dba39fce5fe2561218e5775f23">setMinimum</a> (int minimum)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e0e589ccd418b358840af358afab74e"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::minimum" ref="a3e0e589ccd418b358840af358afab74e" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a3e0e589ccd418b358840af358afab74e">minimum</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the minimum value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affbc5da9aaeff04433201c1fb0a9c942"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::setMaximum" ref="affbc5da9aaeff04433201c1fb0a9c942" args="(int maximum)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#affbc5da9aaeff04433201c1fb0a9c942">setMaximum</a> (int maximum)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8961b393b191d9a52d2e006a80ab3fce"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::maximum" ref="a8961b393b191d9a52d2e006a80ab3fce" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a8961b393b191d9a52d2e006a80ab3fce">maximum</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec47127780061076a85cb867c1669c9b"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::setRange" ref="aec47127780061076a85cb867c1669c9b" args="(int minimum, int maximum)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#aec47127780061076a85cb867c1669c9b">setRange</a> (int minimum, int maximum)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Define the range. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a5d1e7ade20a3a89b52477ce9846d89c5">cancel</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel the dialog.  <a href="#a5d1e7ade20a3a89b52477ce9846d89c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a2c9b02eb5d639ec5d4c1214ad47cc2d9">reset</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the dialog.  <a href="#a2c9b02eb5d639ec5d4c1214ad47cc2d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f57021b85bcc1dc7c1e9d820b8999d3"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::setCancelButtonText" ref="a9f57021b85bcc1dc7c1e9d820b8999d3" args="(const WString &amp;text)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a9f57021b85bcc1dc7c1e9d820b8999d3">setCancelButtonText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the text used for the cancel button. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a002c659c327ab7bab26aaa424daf4e2c"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::setValue" ref="a002c659c327ab7bab26aaa424daf4e2c" args="(int progress)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a002c659c327ab7bab26aaa424daf4e2c">setValue</a> (int progress)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current value (in the range from <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a3e0e589ccd418b358840af358afab74e" title="Return the minimum value.">minimum()</a> to <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a8961b393b191d9a52d2e006a80ab3fce" title="Return the maximum value.">maximum()</a>). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec354c2676e811e2c354ce22f02ef1c7"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::value" ref="aec354c2676e811e2c354ce22f02ef1c7" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#aec354c2676e811e2c354ce22f02ef1c7">value</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#ae728af17b42f24fef38014d2b6cefc97">wasCanceled</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return if the progress dialog was cancelled.  <a href="#ae728af17b42f24fef38014d2b6cefc97"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1Signal.html">Signal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#ac13c421f889ac475a025baed7739ea97">canceled</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the user cancels the dialog.  <a href="#ac13c421f889ac475a025baed7739ea97"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A standard dialog to inform the user of progress during a time consuming task. </p>
<p>A progress bar is shown to show progress from <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a3e0e589ccd418b358840af358afab74e" title="Return the minimum value.">minimum()</a> to <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a8961b393b191d9a52d2e006a80ab3fce" title="Return the maximum value.">maximum()</a>, with the current value within (this range) set using <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a002c659c327ab7bab26aaa424daf4e2c" title="Set the current value (in the range from minimum() to maximum()).">setValue()</a>. When the user cancels the dialog, the dialog is hidden and the <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#ac13c421f889ac475a025baed7739ea97" title="Signal emitted when the user cancels the dialog.">canceled()</a> signal is emitted.</p>
<p>The progress dialog may be used in two ways.</p>
<p>The easiest way is using a code snippet like this: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1Ext_1_1ProgressDialog.html" title="A standard dialog to inform the user of progress during a time consuming task.">Wt::Ext::ProgressDialog</a> progress(<span class="stringliteral">&quot;Converting contact details...&quot;</span>, <span class="stringliteral">&quot;Cancel&quot;</span>, 0, contacts_.size());
 progress.<a class="code" href="classWt_1_1Ext_1_1Dialog.html#ab6a5820f54f9663a592efd112097939a" title="Set the dialog window title.">setWindowTitle</a>(<span class="stringliteral">&quot;Import Contacts&quot;</span>);

 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i &lt; contacts_.size(); ++i) {
   progress.setValue(i);

   <a class="code" href="classWt_1_1WApplication.html#a38d922da0a0d83395519f3eaab85d0f6" title="Returns the current application instance.">Wt::WApplication::instance</a>()-&gt;processEvents();

   <span class="keywordflow">if</span> (!progress.wasCanceled()) {
     convertContactDetails(contacts_[i]);
   } <span class="keywordflow">else</span> {
     <a class="code" href="classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181" title="Shows the widget.">Wt::Ext::MessageBox::show</a>(<span class="stringliteral">&quot;Operation cancelled&quot;</span>,
               <span class="stringliteral">&quot;You may import your contact details any time later.&quot;</span>, <a class="code" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062af92b793210df9123b9be1ee11dd0d36d" title="An OK button.">Ok</a>);
     <span class="keywordflow">break</span>;
   }
 }
</pre></div><p>Using this approach, <a class="el" href="classWt_1_1WApplication.html#a48ceb7972ef7ec0e557adf441f660f2f" title="Processes UI events.">WApplication::processEvents()</a> is used to synchronize the server and client state. This approach has the drawback that browser interactivity is limited.</p>
<p>The more involved approach involves the use of <a class="el" href="classWt_1_1WTimer.html" title="A utility class which provides timer signals and single-shot timers.">WTimer</a> to update the progress in conjunction with a worker thread to do the actual work.</p>
<div class="image">
<img src="ExtProgressDialog-1.png" alt="ExtProgressDialog-1.png"/>
<div class="caption">
Example of a ProgressDialog</div></div>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8dcabafaf4235c88cd7eee441448c615"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::ProgressDialog" ref="a8dcabafaf4235c88cd7eee441448c615" args="(bool i18n=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Ext::ProgressDialog::ProgressDialog </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>i18n</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new progress dialog. </p>
<p>Creates a new dialog, with window title 'Progress...', no message, and a Cancel button. The progress range is defined from 0 to 100. </p>

</div>
</div>
<a class="anchor" id="aa56cda8b6be0140160ef7f3f0a333358"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::ProgressDialog" ref="aa56cda8b6be0140160ef7f3f0a333358" args="(const WString &amp;text, const WString &amp;cancelButtonText, int minimum, int maximum, bool i18n=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Ext::ProgressDialog::ProgressDialog </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>cancelButtonText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>minimum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maximum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>i18n</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new progress dialog. </p>
<p>Creates a new dialog, with window title 'Progress...', the given message, and a Cancel button. The progress range is defined from <em>minimum</em> to <em>maximum</em> </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5d1e7ade20a3a89b52477ce9846d89c5"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::cancel" ref="a5d1e7ade20a3a89b52477ce9846d89c5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::Ext::ProgressDialog::cancel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cancel the dialog. </p>
<p>Sets the state to cancelled, and hides the dialog. Calling this method does not emit the <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#ac13c421f889ac475a025baed7739ea97">canceled</a> signal. </p>

</div>
</div>
<a class="anchor" id="ac13c421f889ac475a025baed7739ea97"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::canceled" ref="ac13c421f889ac475a025baed7739ea97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Signal.html">Signal</a>&amp; Wt::Ext::ProgressDialog::canceled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when the user cancels the dialog. </p>
<p>When the user cancels the dialog, the dialog is hidden, and the state is set to being cancelled.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#ae728af17b42f24fef38014d2b6cefc97" title="Return if the progress dialog was cancelled.">wasCanceled()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2c9b02eb5d639ec5d4c1214ad47cc2d9"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::reset" ref="a2c9b02eb5d639ec5d4c1214ad47cc2d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::Ext::ProgressDialog::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reset the dialog. </p>
<p>The value is reset to the <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a3e0e589ccd418b358840af358afab74e" title="Return the minimum value.">minimum()</a>, and the cancelled state is cleared. </p>

</div>
</div>
<a class="anchor" id="ae728af17b42f24fef38014d2b6cefc97"></a><!-- doxytag: member="Wt::Ext::ProgressDialog::wasCanceled" ref="ae728af17b42f24fef38014d2b6cefc97" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Ext::ProgressDialog::wasCanceled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return if the progress dialog was cancelled. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#ac13c421f889ac475a025baed7739ea97" title="Signal emitted when the user cancels the dialog.">canceled</a>, <a class="el" href="classWt_1_1Ext_1_1ProgressDialog.html#a5d1e7ade20a3a89b52477ce9846d89c5" title="Cancel the dialog.">cancel()</a> </dd></dl>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Fri Mar 30 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>