eric6/Documentation/Source/eric6.Helpviewer.Download.DownloadUtilities.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.Download.DownloadUtilities</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.Download.DownloadUtilities</h1>
23 <p>
24 Module implementing some utility functions for the Download package.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Functions</h3>
35 <table>
36 <tr>
37 <td><a href="#dataString">dataString</a></td>
38 <td>Module function to generate a formatted size string.</td>
39 </tr><tr>
40 <td><a href="#timeString">timeString</a></td>
41 <td>Module function to format the given time.</td>
42 </tr>
43 </table>
44 <hr /><hr />
45 <a NAME="dataString" ID="dataString"></a>
46 <h2>dataString</h2>
47 <b>dataString</b>(<i>size</i>)
48 <p>
49 Module function to generate a formatted size string.
50 </p><dl>
51 <dt><i>size</i></dt>
52 <dd>
53 size to be formatted (integer)
54 </dd>
55 </dl><dl>
56 <dt>Returns:</dt>
57 <dd>
58 formatted data string (string)
59 </dd>
60 </dl>
61 <div align="right"><a href="#top">Up</a></div>
62 <hr /><hr />
63 <a NAME="timeString" ID="timeString"></a>
64 <h2>timeString</h2>
65 <b>timeString</b>(<i>timeRemaining</i>)
66 <p>
67 Module function to format the given time.
68 </p><dl>
69 <dt><i>timeRemaining</i></dt>
70 <dd>
71 time to be formatted (float)
72 </dd>
73 </dl><dl>
74 <dt>Returns:</dt>
75 <dd>
76 time string (string)
77 </dd>
78 </dl>
79 <div align="right"><a href="#top">Up</a></div>
80 <hr />
81 </body></html>

eric ide

mercurial