Documentation/Source/eric5.Helpviewer.Download.DownloadItem.html

changeset 978
11f8adbcac97
parent 945
8cd4d08fa9f6
child 1094
743900906d8e
equal deleted inserted replaced
977:7a523bd4b00d 978:11f8adbcac97
166 <td>Public method to set the download icon.</td> 166 <td>Public method to set the download icon.</td>
167 </tr> 167 </tr>
168 </table> 168 </table>
169 <a NAME="DownloadItem.__init__" ID="DownloadItem.__init__"></a> 169 <a NAME="DownloadItem.__init__" ID="DownloadItem.__init__"></a>
170 <h4>DownloadItem (Constructor)</h4> 170 <h4>DownloadItem (Constructor)</h4>
171 <b>DownloadItem</b>(<i>reply=None, requestFilename=False, webPage=None, download=False, parent=None</i>) 171 <b>DownloadItem</b>(<i>reply=None, requestFilename=False, webPage=None, download=False, parent=None, mainWindow=None</i>)
172 <p> 172 <p>
173 Constructor 173 Constructor
174 </p><dl> 174 </p><dl>
175 <dt><i>reply</i></dt> 175 <dt><i>reply=</i></dt>
176 <dd> 176 <dd>
177 reference to the network reply object (QNetworkReply) 177 reference to the network reply object (QNetworkReply)
178 </dd><dt><i>requestFilename</i></dt> 178 </dd><dt><i>requestFilename=</i></dt>
179 <dd> 179 <dd>
180 flag indicating to ask the user for a filename (boolean) 180 flag indicating to ask the user for a filename (boolean)
181 </dd><dt><i>webPage</i></dt> 181 </dd><dt><i>webPage=</i></dt>
182 <dd> 182 <dd>
183 reference to the web page object the download originated 183 reference to the web page object the download originated
184 from (QWebPage) 184 from (QWebPage)
185 </dd><dt><i>download</i></dt> 185 </dd><dt><i>download=</i></dt>
186 <dd> 186 <dd>
187 flag indicating a download operation (boolean) 187 flag indicating a download operation (boolean)
188 </dd><dt><i>parent</i></dt> 188 </dd><dt><i>parent=</i></dt>
189 <dd> 189 <dd>
190 reference to the parent widget (QWidget) 190 reference to the parent widget (QWidget)
191 </dd><dt><i>mainWindow=</i></dt>
192 <dd>
193 reference to the main window (HelpWindow)
191 </dd> 194 </dd>
192 </dl><a NAME="DownloadItem.__downloadProgress" ID="DownloadItem.__downloadProgress"></a> 195 </dl><a NAME="DownloadItem.__downloadProgress" ID="DownloadItem.__downloadProgress"></a>
193 <h4>DownloadItem.__downloadProgress</h4> 196 <h4>DownloadItem.__downloadProgress</h4>
194 <b>__downloadProgress</b>(<i>bytesReceived, bytesTotal</i>) 197 <b>__downloadProgress</b>(<i>bytesReceived, bytesTotal</i>)
195 <p> 198 <p>

eric ide

mercurial