Documentation/Source/eric5.Helpviewer.DownloadDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 103
59137afca666
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.DownloadDialog</h1> 23 <h1>eric5.Helpviewer.DownloadDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#100;&#105;&#97;&#108;&#111;&#103;. 25 Module implementing the download dialog.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#DownloadDialog">DownloadDialog</a></td> 34 <td><a href="#DownloadDialog">DownloadDialog</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 35 <td>Class implementing the download dialog.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="DownloadDialog" ID="DownloadDialog"></a> 43 <a NAME="DownloadDialog" ID="DownloadDialog"></a>
44 <h2>DownloadDialog</h2> 44 <h2>DownloadDialog</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#100;&#105;&#97;&#108;&#111;&#103;. 46 Class implementing the download dialog.
47 </p><h4>Signals</h4> 47 </p><h4>Signals</h4>
48 <dl> 48 <dl>
49 <dt>done()</dt> 49 <dt>done()</dt>
50 <dd> 50 <dd>
51 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#106;&#117;&#115;&#116; &#98;&#101;&#102;&#111;&#114;&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#99;&#108;&#111;&#115;&#101;&#100; 51 emitted just before the dialog is closed
52 </dd> 52 </dd>
53 </dl> 53 </dl>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 QWidget, Ui_DownloadDialog 55 QWidget, Ui_DownloadDialog
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
59 </table> 59 </table>
60 <h3>Methods</h3> 60 <h3>Methods</h3>
61 <table> 61 <table>
62 <tr> 62 <tr>
63 <td><a href="#DownloadDialog.__init__">DownloadDialog</a></td> 63 <td><a href="#DownloadDialog.__init__">DownloadDialog</a></td>
64 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 64 <td>Constructor</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#DownloadDialog.__dataString">__dataString</a></td> 66 <td><a href="#DownloadDialog.__dataString">__dataString</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; &#100;&#97;&#116;&#97; &#115;&#116;&#114;&#105;&#110;&#103;.</td> 67 <td>Private method to generate a formatted data string.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#DownloadDialog.__downloadProgress">__downloadProgress</a></td> 69 <td><a href="#DownloadDialog.__downloadProgress">__downloadProgress</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#115;&#104;&#111;w &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#112;&#114;&#111;&#103;&#114;&#101;&#115;&#115;.</td> 70 <td>Private method show the download progress.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#DownloadDialog.__downloadedSuccessfully">__downloadedSuccessfully</a></td> 72 <td><a href="#DownloadDialog.__downloadedSuccessfully">__downloadedSuccessfully</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#115;&#116;&#97;&#116;&#117;&#115;.</td> 73 <td>Private method to determine the download status.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#DownloadDialog.__downloading">__downloading</a></td> 75 <td><a href="#DownloadDialog.__downloading">__downloading</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, &#105;&#102; &#97; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#105;&#115; &#105;&#110; &#112;&#114;&#111;&#103;&#114;&#101;&#115;&#115;.</td> 76 <td>Private method to determine, if a download is in progress.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#DownloadDialog.__finished">__finished</a></td> 78 <td><a href="#DownloadDialog.__finished">__finished</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100;.</td> 79 <td>Private slot to handle the download finished.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#DownloadDialog.__getFileName">__getFileName</a></td> 81 <td><a href="#DownloadDialog.__getFileName">__getFileName</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#116;&#111; &#115;&#97;v&#101; &#116;&#111; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#117;&#115;&#101;&#114;.</td> 82 <td>Private method to get the filename to save to from the user.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#DownloadDialog.__initialize">__initialize</a></td> 84 <td><a href="#DownloadDialog.__initialize">__initialize</a></td>
85 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; (&#114;&#101;)&#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 85 <td>Private method to (re)initialize the dialog.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#DownloadDialog.__metaDataChanged">__metaDataChanged</a></td> 87 <td><a href="#DownloadDialog.__metaDataChanged">__metaDataChanged</a></td>
88 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#116;&#97; &#100;&#97;&#116;&#97;.</td> 88 <td>Private slot to handle a change of the meta data.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#DownloadDialog.__networkError">__networkError</a></td> 90 <td><a href="#DownloadDialog.__networkError">__networkError</a></td>
91 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#101;&#114;&#114;&#111;&#114;.</td> 91 <td>Private slot to handle a network error.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#DownloadDialog.__open">__open</a></td> 93 <td><a href="#DownloadDialog.__open">__open</a></td>
94 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;&#101;&#100; &#102;&#105;&#108;&#101;.</td> 94 <td>Private slot to open the downloaded file.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#DownloadDialog.__readyRead">__readyRead</a></td> 96 <td><a href="#DownloadDialog.__readyRead">__readyRead</a></td>
97 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#97;&#100; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#108;&#101; &#100;&#97;&#116;&#97;.</td> 97 <td>Private slot to read the available data.</td>
98 </tr><tr> 98 </tr><tr>
99 <td><a href="#DownloadDialog.__saveFileName">__saveFileName</a></td> 99 <td><a href="#DownloadDialog.__saveFileName">__saveFileName</a></td>
100 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#97; &#110;&#97;&#109;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;.</td> 100 <td>Private method to calculate a name for the file to download.</td>
101 </tr><tr> 101 </tr><tr>
102 <td><a href="#DownloadDialog.__stop">__stop</a></td> 102 <td><a href="#DownloadDialog.__stop">__stop</a></td>
103 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;.</td> 103 <td>Private slot to stop the download.</td>
104 </tr><tr> 104 </tr><tr>
105 <td><a href="#DownloadDialog.__tryAgain">__tryAgain</a></td> 105 <td><a href="#DownloadDialog.__tryAgain">__tryAgain</a></td>
106 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#116;&#114;y &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;.</td> 106 <td>Private slot to retry the download.</td>
107 </tr><tr> 107 </tr><tr>
108 <td><a href="#DownloadDialog.__updateInfoLabel">__updateInfoLabel</a></td> 108 <td><a href="#DownloadDialog.__updateInfoLabel">__updateInfoLabel</a></td>
109 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#105;&#110;&#102;&#111; &#108;&#97;&#98;&#101;&#108;.</td> 109 <td>Private method to update the info label.</td>
110 </tr><tr> 110 </tr><tr>
111 <td><a href="#DownloadDialog.closeEvent">closeEvent</a></td> 111 <td><a href="#DownloadDialog.closeEvent">closeEvent</a></td>
112 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#99;&#108;&#111;&#115;&#101;&#100;.</td> 112 <td>Protected method called when the dialog is closed.</td>
113 </tr><tr> 113 </tr><tr>
114 <td><a href="#DownloadDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 114 <td><a href="#DownloadDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
115 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;.</td> 115 <td>Private slot called by a button of the button box clicked.</td>
116 </tr> 116 </tr>
117 </table> 117 </table>
118 <a NAME="DownloadDialog.__init__" ID="DownloadDialog.__init__"></a> 118 <a NAME="DownloadDialog.__init__" ID="DownloadDialog.__init__"></a>
119 <h4>DownloadDialog (Constructor)</h4> 119 <h4>DownloadDialog (Constructor)</h4>
120 <b>DownloadDialog</b>(<i>reply = None, requestFilename = False, webPage = None, download = False, parent = None</i>) 120 <b>DownloadDialog</b>(<i>reply = None, requestFilename = False, webPage = None, download = False, parent = None</i>)
121 <p> 121 <p>
122 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 122 Constructor
123 </p><dl> 123 </p><dl>
124 <dt><i>reply</i></dt> 124 <dt><i>reply</i></dt>
125 <dd> 125 <dd>
126 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;&#116;w&#111;&#114;&#107; &#114;&#101;&#112;&#108;y &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#82;&#101;&#112;&#108;y) 126 reference to the network reply object (QNetworkReply)
127 </dd><dt><i>requestFilename</i></dt> 127 </dd><dt><i>requestFilename</i></dt>
128 <dd> 128 <dd>
129 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#97;&#115;&#107; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#102;&#111;&#114; &#97; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 129 flag indicating to ask the user for a filename (boolean)
130 </dd><dt><i>webPage</i></dt> 130 </dd><dt><i>webPage</i></dt>
131 <dd> 131 <dd>
132 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; w&#101;&#98; &#112;&#97;&#103;&#101; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#111;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#101;&#100; 132 reference to the web page object the download originated
133 &#102;&#114;&#111;&#109; (&#81;&#87;&#101;&#98;&#80;&#97;&#103;&#101;) 133 from (QWebPage)
134 </dd><dt><i>download</i></dt> 134 </dd><dt><i>download</i></dt>
135 <dd> 135 <dd>
136 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 136 flag indicating a download operation (boolean)
137 </dd><dt><i>parent</i></dt> 137 </dd><dt><i>parent</i></dt>
138 <dd> 138 <dd>
139 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 139 reference to the parent widget (QWidget)
140 </dd> 140 </dd>
141 </dl><a NAME="DownloadDialog.__dataString" ID="DownloadDialog.__dataString"></a> 141 </dl><a NAME="DownloadDialog.__dataString" ID="DownloadDialog.__dataString"></a>
142 <h4>DownloadDialog.__dataString</h4> 142 <h4>DownloadDialog.__dataString</h4>
143 <b>__dataString</b>(<i>size</i>) 143 <b>__dataString</b>(<i>size</i>)
144 <p> 144 <p>
145 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; &#100;&#97;&#116;&#97; &#115;&#116;&#114;&#105;&#110;&#103;. 145 Private method to generate a formatted data string.
146 </p><dl> 146 </p><dl>
147 <dt><i>size</i></dt> 147 <dt><i>size</i></dt>
148 <dd> 148 <dd>
149 &#115;&#105;z&#101; &#116;&#111; &#98;&#101; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 149 size to be formatted (integer)
150 </dd> 150 </dd>
151 </dl><dl> 151 </dl><dl>
152 <dt>Returns:</dt> 152 <dt>Returns:</dt>
153 <dd> 153 <dd>
154 &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#101;&#100; &#100;&#97;&#116;&#97; &#115;&#116;&#114;&#105;&#110;&#103; (&#81;&#83;&#116;&#114;&#105;&#110;&#103;) 154 formatted data string (QString)
155 </dd> 155 </dd>
156 </dl><a NAME="DownloadDialog.__downloadProgress" ID="DownloadDialog.__downloadProgress"></a> 156 </dl><a NAME="DownloadDialog.__downloadProgress" ID="DownloadDialog.__downloadProgress"></a>
157 <h4>DownloadDialog.__downloadProgress</h4> 157 <h4>DownloadDialog.__downloadProgress</h4>
158 <b>__downloadProgress</b>(<i>received, total</i>) 158 <b>__downloadProgress</b>(<i>received, total</i>)
159 <p> 159 <p>
160 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#115;&#104;&#111;w &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#112;&#114;&#111;&#103;&#114;&#101;&#115;&#115;. 160 Private method show the download progress.
161 </p><dl> 161 </p><dl>
162 <dt><i>received</i></dt> 162 <dt><i>received</i></dt>
163 <dd> 163 <dd>
164 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#98;y&#116;&#101;&#115; &#114;&#101;&#99;&#101;&#105;v&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 164 number of bytes received (integer)
165 </dd><dt><i>total</i></dt> 165 </dd><dt><i>total</i></dt>
166 <dd> 166 <dd>
167 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#111;&#116;&#97;&#108; &#98;y&#116;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 167 number of total bytes (integer)
168 </dd> 168 </dd>
169 </dl><a NAME="DownloadDialog.__downloadedSuccessfully" ID="DownloadDialog.__downloadedSuccessfully"></a> 169 </dl><a NAME="DownloadDialog.__downloadedSuccessfully" ID="DownloadDialog.__downloadedSuccessfully"></a>
170 <h4>DownloadDialog.__downloadedSuccessfully</h4> 170 <h4>DownloadDialog.__downloadedSuccessfully</h4>
171 <b>__downloadedSuccessfully</b>(<i></i>) 171 <b>__downloadedSuccessfully</b>(<i></i>)
172 <p> 172 <p>
173 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#115;&#116;&#97;&#116;&#117;&#115;. 173 Private method to determine the download status.
174 </p><dl> 174 </p><dl>
175 <dt>Returns:</dt> 175 <dt>Returns:</dt>
176 <dd> 176 <dd>
177 &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 177 download status (boolean)
178 </dd> 178 </dd>
179 </dl><a NAME="DownloadDialog.__downloading" ID="DownloadDialog.__downloading"></a> 179 </dl><a NAME="DownloadDialog.__downloading" ID="DownloadDialog.__downloading"></a>
180 <h4>DownloadDialog.__downloading</h4> 180 <h4>DownloadDialog.__downloading</h4>
181 <b>__downloading</b>(<i></i>) 181 <b>__downloading</b>(<i></i>)
182 <p> 182 <p>
183 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, &#105;&#102; &#97; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#105;&#115; &#105;&#110; &#112;&#114;&#111;&#103;&#114;&#101;&#115;&#115;. 183 Private method to determine, if a download is in progress.
184 </p><dl> 184 </p><dl>
185 <dt>Returns:</dt> 185 <dt>Returns:</dt>
186 <dd> 186 <dd>
187 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#105;&#115; &#105;&#110; &#112;&#114;&#111;&#103;&#114;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 187 flag indicating a download is in progress (boolean)
188 </dd> 188 </dd>
189 </dl><a NAME="DownloadDialog.__finished" ID="DownloadDialog.__finished"></a> 189 </dl><a NAME="DownloadDialog.__finished" ID="DownloadDialog.__finished"></a>
190 <h4>DownloadDialog.__finished</h4> 190 <h4>DownloadDialog.__finished</h4>
191 <b>__finished</b>(<i></i>) 191 <b>__finished</b>(<i></i>)
192 <p> 192 <p>
193 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100;. 193 Private slot to handle the download finished.
194 </p><a NAME="DownloadDialog.__getFileName" ID="DownloadDialog.__getFileName"></a> 194 </p><a NAME="DownloadDialog.__getFileName" ID="DownloadDialog.__getFileName"></a>
195 <h4>DownloadDialog.__getFileName</h4> 195 <h4>DownloadDialog.__getFileName</h4>
196 <b>__getFileName</b>(<i></i>) 196 <b>__getFileName</b>(<i></i>)
197 <p> 197 <p>
198 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#116;&#111; &#115;&#97;v&#101; &#116;&#111; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#117;&#115;&#101;&#114;. 198 Private method to get the filename to save to from the user.
199 </p><a NAME="DownloadDialog.__initialize" ID="DownloadDialog.__initialize"></a> 199 </p><a NAME="DownloadDialog.__initialize" ID="DownloadDialog.__initialize"></a>
200 <h4>DownloadDialog.__initialize</h4> 200 <h4>DownloadDialog.__initialize</h4>
201 <b>__initialize</b>(<i></i>) 201 <b>__initialize</b>(<i></i>)
202 <p> 202 <p>
203 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; (&#114;&#101;)&#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;. 203 Private method to (re)initialize the dialog.
204 </p><a NAME="DownloadDialog.__metaDataChanged" ID="DownloadDialog.__metaDataChanged"></a> 204 </p><a NAME="DownloadDialog.__metaDataChanged" ID="DownloadDialog.__metaDataChanged"></a>
205 <h4>DownloadDialog.__metaDataChanged</h4> 205 <h4>DownloadDialog.__metaDataChanged</h4>
206 <b>__metaDataChanged</b>(<i></i>) 206 <b>__metaDataChanged</b>(<i></i>)
207 <p> 207 <p>
208 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#116;&#97; &#100;&#97;&#116;&#97;. 208 Private slot to handle a change of the meta data.
209 </p><a NAME="DownloadDialog.__networkError" ID="DownloadDialog.__networkError"></a> 209 </p><a NAME="DownloadDialog.__networkError" ID="DownloadDialog.__networkError"></a>
210 <h4>DownloadDialog.__networkError</h4> 210 <h4>DownloadDialog.__networkError</h4>
211 <b>__networkError</b>(<i></i>) 211 <b>__networkError</b>(<i></i>)
212 <p> 212 <p>
213 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#110;&#101;&#116;w&#111;&#114;&#107; &#101;&#114;&#114;&#111;&#114;. 213 Private slot to handle a network error.
214 </p><a NAME="DownloadDialog.__open" ID="DownloadDialog.__open"></a> 214 </p><a NAME="DownloadDialog.__open" ID="DownloadDialog.__open"></a>
215 <h4>DownloadDialog.__open</h4> 215 <h4>DownloadDialog.__open</h4>
216 <b>__open</b>(<i></i>) 216 <b>__open</b>(<i></i>)
217 <p> 217 <p>
218 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;&#101;&#100; &#102;&#105;&#108;&#101;. 218 Private slot to open the downloaded file.
219 </p><a NAME="DownloadDialog.__readyRead" ID="DownloadDialog.__readyRead"></a> 219 </p><a NAME="DownloadDialog.__readyRead" ID="DownloadDialog.__readyRead"></a>
220 <h4>DownloadDialog.__readyRead</h4> 220 <h4>DownloadDialog.__readyRead</h4>
221 <b>__readyRead</b>(<i></i>) 221 <b>__readyRead</b>(<i></i>)
222 <p> 222 <p>
223 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#97;&#100; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#108;&#101; &#100;&#97;&#116;&#97;. 223 Private slot to read the available data.
224 </p><a NAME="DownloadDialog.__saveFileName" ID="DownloadDialog.__saveFileName"></a> 224 </p><a NAME="DownloadDialog.__saveFileName" ID="DownloadDialog.__saveFileName"></a>
225 <h4>DownloadDialog.__saveFileName</h4> 225 <h4>DownloadDialog.__saveFileName</h4>
226 <b>__saveFileName</b>(<i>directory</i>) 226 <b>__saveFileName</b>(<i>directory</i>)
227 <p> 227 <p>
228 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#97; &#110;&#97;&#109;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;. 228 Private method to calculate a name for the file to download.
229 </p><dl> 229 </p><dl>
230 <dt><i>directory</i></dt> 230 <dt><i>directory</i></dt>
231 <dd> 231 <dd>
232 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#105;&#110;&#116;&#111; (&#115;&#116;&#114;&#105;&#110;&#103;) 232 name of the directory to store the file into (string)
233 </dd> 233 </dd>
234 </dl><dl> 234 </dl><dl>
235 <dt>Returns:</dt> 235 <dt>Returns:</dt>
236 <dd> 236 <dd>
237 &#112;&#114;&#111;&#112;&#111;&#115;&#101;&#100; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 237 proposed filename (string)
238 </dd> 238 </dd>
239 </dl><a NAME="DownloadDialog.__stop" ID="DownloadDialog.__stop"></a> 239 </dl><a NAME="DownloadDialog.__stop" ID="DownloadDialog.__stop"></a>
240 <h4>DownloadDialog.__stop</h4> 240 <h4>DownloadDialog.__stop</h4>
241 <b>__stop</b>(<i></i>) 241 <b>__stop</b>(<i></i>)
242 <p> 242 <p>
243 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;. 243 Private slot to stop the download.
244 </p><a NAME="DownloadDialog.__tryAgain" ID="DownloadDialog.__tryAgain"></a> 244 </p><a NAME="DownloadDialog.__tryAgain" ID="DownloadDialog.__tryAgain"></a>
245 <h4>DownloadDialog.__tryAgain</h4> 245 <h4>DownloadDialog.__tryAgain</h4>
246 <b>__tryAgain</b>(<i></i>) 246 <b>__tryAgain</b>(<i></i>)
247 <p> 247 <p>
248 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#116;&#114;y &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;. 248 Private slot to retry the download.
249 </p><a NAME="DownloadDialog.__updateInfoLabel" ID="DownloadDialog.__updateInfoLabel"></a> 249 </p><a NAME="DownloadDialog.__updateInfoLabel" ID="DownloadDialog.__updateInfoLabel"></a>
250 <h4>DownloadDialog.__updateInfoLabel</h4> 250 <h4>DownloadDialog.__updateInfoLabel</h4>
251 <b>__updateInfoLabel</b>(<i></i>) 251 <b>__updateInfoLabel</b>(<i></i>)
252 <p> 252 <p>
253 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#105;&#110;&#102;&#111; &#108;&#97;&#98;&#101;&#108;. 253 Private method to update the info label.
254 </p><a NAME="DownloadDialog.closeEvent" ID="DownloadDialog.closeEvent"></a> 254 </p><a NAME="DownloadDialog.closeEvent" ID="DownloadDialog.closeEvent"></a>
255 <h4>DownloadDialog.closeEvent</h4> 255 <h4>DownloadDialog.closeEvent</h4>
256 <b>closeEvent</b>(<i>evt</i>) 256 <b>closeEvent</b>(<i>evt</i>)
257 <p> 257 <p>
258 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#99;&#108;&#111;&#115;&#101;&#100;. 258 Protected method called when the dialog is closed.
259 </p><a NAME="DownloadDialog.on_buttonBox_clicked" ID="DownloadDialog.on_buttonBox_clicked"></a> 259 </p><a NAME="DownloadDialog.on_buttonBox_clicked" ID="DownloadDialog.on_buttonBox_clicked"></a>
260 <h4>DownloadDialog.on_buttonBox_clicked</h4> 260 <h4>DownloadDialog.on_buttonBox_clicked</h4>
261 <b>on_buttonBox_clicked</b>(<i>button</i>) 261 <b>on_buttonBox_clicked</b>(<i>button</i>)
262 <p> 262 <p>
263 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;. 263 Private slot called by a button of the button box clicked.
264 </p><dl> 264 </p><dl>
265 <dt><i>button</i></dt> 265 <dt><i>button</i></dt>
266 <dd> 266 <dd>
267 &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#104;&#97;&#116; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#66;&#117;&#116;&#116;&#111;&#110;) 267 button that was clicked (QAbstractButton)
268 </dd> 268 </dd>
269 </dl> 269 </dl>
270 <div align="right"><a href="#top">Up</a></div> 270 <div align="right"><a href="#top">Up</a></div>
271 <hr /> 271 <hr />
272 </body></html> 272 </body></html>

eric ide

mercurial