Thu, 03 Nov 2011 17:52:13 +0100
Added a dialog to show RSS feeds.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.Helpviewer.Feeds.FeedEditDialog</title> <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>eric5.Helpviewer.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>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>p0</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>