Documentation/Source/eric6.WebBrowser.Feeds.FeedEditDialog.html

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 4918
71caf42a13d8
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.WebBrowser.Feeds.FeedEditDialog</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric6.WebBrowser.Feeds.FeedEditDialog</h1>
<p>
Module implementing a dialog to edit feed data.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#FeedEditDialog">FeedEditDialog</a></td>
<td>Class implementing a dialog to edit feed data.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="FeedEditDialog" ID="FeedEditDialog"></a>
<h2>FeedEditDialog</h2>
<p>
    Class implementing a dialog to edit feed data.
</p>
<h3>Derived from</h3>
QDialog, Ui_FeedEditDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#FeedEditDialog.__init__">FeedEditDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#FeedEditDialog.__setOkButton">__setOkButton</a></td>
<td>Private slot to enable or disable the OK button.</td>
</tr><tr>
<td><a href="#FeedEditDialog.getData">getData</a></td>
<td>Public method to get the entered feed data.</td>
</tr><tr>
<td><a href="#FeedEditDialog.on_titleEdit_textChanged">on_titleEdit_textChanged</a></td>
<td>Private slot to handle changes of the feed title.</td>
</tr><tr>
<td><a href="#FeedEditDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td>
<td>Private slot to handle changes of the feed URL.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="FeedEditDialog.__init__" ID="FeedEditDialog.__init__"></a>
<h4>FeedEditDialog (Constructor)</h4>
<b>FeedEditDialog</b>(<i>urlString, title, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>urlString</i></dt>
<dd>
feed URL (string)
</dd><dt><i>title</i></dt>
<dd>
feed title (string)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="FeedEditDialog.__setOkButton" ID="FeedEditDialog.__setOkButton"></a>
<h4>FeedEditDialog.__setOkButton</h4>
<b>__setOkButton</b>(<i></i>)
<p>
        Private slot to enable or disable the OK button.
</p><a NAME="FeedEditDialog.getData" ID="FeedEditDialog.getData"></a>
<h4>FeedEditDialog.getData</h4>
<b>getData</b>(<i></i>)
<p>
        Public method to get the entered feed data.
</p><dl>
<dt>Returns:</dt>
<dd>
tuple of two strings giving the feed URL and feed title
            (string, string)
</dd>
</dl><a NAME="FeedEditDialog.on_titleEdit_textChanged" ID="FeedEditDialog.on_titleEdit_textChanged"></a>
<h4>FeedEditDialog.on_titleEdit_textChanged</h4>
<b>on_titleEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot to handle changes of the feed title.
</p><dl>
<dt><i>txt</i></dt>
<dd>
new feed title (string)
</dd>
</dl><a NAME="FeedEditDialog.on_urlEdit_textChanged" ID="FeedEditDialog.on_urlEdit_textChanged"></a>
<h4>FeedEditDialog.on_urlEdit_textChanged</h4>
<b>on_urlEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot to handle changes of the feed URL.
</p><dl>
<dt><i>txt</i></dt>
<dd>
new feed URL (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial