Documentation/Source/eric6.WebBrowser.Download.DownloadItem.html

changeset 5928
a3809f75ca07
parent 5532
3a7c5deab9b7
child 6085
7e48a0d98cce
--- a/Documentation/Source/eric6.WebBrowser.Download.DownloadItem.html	Mon Oct 23 19:42:32 2017 +0200
+++ b/Documentation/Source/eric6.WebBrowser.Download.DownloadItem.html	Tue Oct 24 19:09:09 2017 +0200
@@ -72,6 +72,9 @@
 <td><a href="#DownloadItem.__init__">DownloadItem</a></td>
 <td>Constructor</td>
 </tr><tr>
+<td><a href="#DownloadItem.__adjustSize">__adjustSize</a></td>
+<td>Private method to adjust the size of the download item.</td>
+</tr><tr>
 <td><a href="#DownloadItem.__downloadProgress">__downloadProgress</a></td>
 <td>Private method to show the download progress.</td>
 </tr><tr>
@@ -90,6 +93,9 @@
 <td><a href="#DownloadItem.__saveFileName">__saveFileName</a></td>
 <td>Private method to calculate a name for the file to download.</td>
 </tr><tr>
+<td><a href="#DownloadItem.__setDateTime">__setDateTime</a></td>
+<td>Private method to set the download date and time.</td>
+</tr><tr>
 <td><a href="#DownloadItem.__setFileName">__setFileName</a></td>
 <td>Private method to set the file name to save the download into.</td>
 </tr><tr>
@@ -175,7 +181,12 @@
 <dd>
 reference to the parent widget (QWidget)
 </dd>
-</dl><a NAME="DownloadItem.__downloadProgress" ID="DownloadItem.__downloadProgress"></a>
+</dl><a NAME="DownloadItem.__adjustSize" ID="DownloadItem.__adjustSize"></a>
+<h4>DownloadItem.__adjustSize</h4>
+<b>__adjustSize</b>(<i></i>)
+<p>
+        Private method to adjust the size of the download item.
+</p><a NAME="DownloadItem.__downloadProgress" ID="DownloadItem.__downloadProgress"></a>
 <h4>DownloadItem.__downloadProgress</h4>
 <b>__downloadProgress</b>(<i>bytesReceived, bytesTotal</i>)
 <p>
@@ -223,6 +234,16 @@
 <dd>
 proposed filename and original filename (string, string)
 </dd>
+</dl><a NAME="DownloadItem.__setDateTime" ID="DownloadItem.__setDateTime"></a>
+<h4>DownloadItem.__setDateTime</h4>
+<b>__setDateTime</b>(<i>dateTime=None</i>)
+<p>
+        Private method to set the download date and time.
+</p><dl>
+<dt><i>dateTime</i> (QDateTime)</dt>
+<dd>
+date and time to be set
+</dd>
 </dl><a NAME="DownloadItem.__setFileName" ID="DownloadItem.__setFileName"></a>
 <h4>DownloadItem.__setFileName</h4>
 <b>__setFileName</b>(<i>fileName</i>)
@@ -341,8 +362,14 @@
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-tuple of URL, save location, flag and the
-            URL of the related web page (QUrl, string, boolean,QUrl)
+tuple of URL, save location, flag, the
+            URL of the related web page and the date and time
+            of the download
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (QUrl, str, bool, QUrl, QDateTime)
 </dd>
 </dl><a NAME="DownloadItem.getInfoData" ID="DownloadItem.getInfoData"></a>
 <h4>DownloadItem.getInfoData</h4>
@@ -400,10 +427,11 @@
 <p>
         Public method to set the relevant download data.
 </p><dl>
-<dt><i>data</i></dt>
+<dt><i>data</i> (QUrl, str, bool, QUrl, QDateTime)</dt>
 <dd>
-tuple of URL, save location, flag and the
-            URL of the related web page (QUrl, string, boolean, QUrl)
+tuple of URL, save location, flag, the
+            URL of the related web page and the date and time
+            of the download
 </dd>
 </dl><a NAME="DownloadItem.setIcon" ID="DownloadItem.setIcon"></a>
 <h4>DownloadItem.setIcon</h4>

eric ide

mercurial