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

changeset 5928
a3809f75ca07
parent 3673
e26d7d0c1088
child 6091
7b989321d74c
--- a/Documentation/Source/eric6.Helpviewer.Download.DownloadItem.html	Mon Oct 23 19:42:32 2017 +0200
+++ b/Documentation/Source/eric6.Helpviewer.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>
@@ -99,6 +102,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.__updateInfoLabel">__updateInfoLabel</a></td>
 <td>Private method to update the info label.</td>
 </tr><tr>
@@ -203,7 +209,12 @@
 <dd>
 reference to the main window (HelpWindow)
 </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>
@@ -271,6 +282,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.__updateInfoLabel" ID="DownloadItem.__updateInfoLabel"></a>
 <h4>DownloadItem.__updateInfoLabel</h4>
 <b>__updateInfoLabel</b>(<i></i>)
@@ -379,8 +400,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>
@@ -458,10 +485,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