Sun, 12 Sep 2021 20:22:27 +0200
Documentation Generator: streamlined the code to use an external style sheet file.
<!DOCTYPE html> <html><head> <title>eric7.WebBrowser.QtHelp.HelpSearchWidget</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.QtHelp.HelpSearchWidget</h1> <p> Module implementing a window for showing the QtHelp index. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#HelpSearchWidget">HelpSearchWidget</a></td> <td>Class implementing a window for showing the QtHelp index.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="HelpSearchWidget" ID="HelpSearchWidget"></a> <h2>HelpSearchWidget</h2> <p> Class implementing a window for showing the QtHelp index. </p> <h3>Signals</h3> <dl> <dt>escapePressed()</dt> <dd> emitted when the ESC key was pressed </dd> <dt>newBackgroundTab(QUrl, str)</dt> <dd> emitted to open a search result entry in a new background tab </dd> <dt>newTab(QUrl, str)</dt> <dd> emitted to open a search result entry in a new tab </dd> <dt>newWindow(QUrl, str)</dt> <dd> emitted to open a search result entry in a new window </dd> <dt>openUrl(QUrl, str)</dt> <dd> emitted to open a search result entry in the current tab </dd> </dl> <h3>Derived from</h3> QWidget <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="#HelpSearchWidget.__init__">HelpSearchWidget</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#HelpSearchWidget.__linkActivated">__linkActivated</a></td> <td>Private slot handling the activation of an entry.</td> </tr> <tr> <td><a href="#HelpSearchWidget.__search">__search</a></td> <td>Private slot to perform a search of the database.</td> </tr> <tr> <td><a href="#HelpSearchWidget.__searchingFinished">__searchingFinished</a></td> <td>Private slot to handle the end of the search.</td> </tr> <tr> <td><a href="#HelpSearchWidget.__searchingStarted">__searchingStarted</a></td> <td>Private slot to handle the start of a search.</td> </tr> <tr> <td><a href="#HelpSearchWidget.contextMenuEvent">contextMenuEvent</a></td> <td>Protected method handling context menu events.</td> </tr> <tr> <td><a href="#HelpSearchWidget.keyPressEvent">keyPressEvent</a></td> <td>Protected method handling key press events.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="HelpSearchWidget.__init__" ID="HelpSearchWidget.__init__"></a> <h4>HelpSearchWidget (Constructor)</h4> <b>HelpSearchWidget</b>(<i>engine, parent=None</i>) <p> Constructor </p> <dl> <dt><i>engine</i></dt> <dd> reference to the help search engine (QHelpSearchEngine) </dd> <dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl> <a NAME="HelpSearchWidget.__linkActivated" ID="HelpSearchWidget.__linkActivated"></a> <h4>HelpSearchWidget.__linkActivated</h4> <b>__linkActivated</b>(<i>url</i>) <p> Private slot handling the activation of an entry. </p> <dl> <dt><i>url</i> (QUrl)</dt> <dd> URL of the activated entry </dd> </dl> <a NAME="HelpSearchWidget.__search" ID="HelpSearchWidget.__search"></a> <h4>HelpSearchWidget.__search</h4> <b>__search</b>(<i></i>) <p> Private slot to perform a search of the database. </p> <a NAME="HelpSearchWidget.__searchingFinished" ID="HelpSearchWidget.__searchingFinished"></a> <h4>HelpSearchWidget.__searchingFinished</h4> <b>__searchingFinished</b>(<i>hits</i>) <p> Private slot to handle the end of the search. </p> <dl> <dt><i>hits</i></dt> <dd> number of hits (integer) (unused) </dd> </dl> <a NAME="HelpSearchWidget.__searchingStarted" ID="HelpSearchWidget.__searchingStarted"></a> <h4>HelpSearchWidget.__searchingStarted</h4> <b>__searchingStarted</b>(<i></i>) <p> Private slot to handle the start of a search. </p> <a NAME="HelpSearchWidget.contextMenuEvent" ID="HelpSearchWidget.contextMenuEvent"></a> <h4>HelpSearchWidget.contextMenuEvent</h4> <b>contextMenuEvent</b>(<i>evt</i>) <p> Protected method handling context menu events. </p> <dl> <dt><i>evt</i></dt> <dd> reference to the context menu event (QContextMenuEvent) </dd> </dl> <a NAME="HelpSearchWidget.keyPressEvent" ID="HelpSearchWidget.keyPressEvent"></a> <h4>HelpSearchWidget.keyPressEvent</h4> <b>keyPressEvent</b>(<i>evt</i>) <p> Protected method handling key press events. </p> <dl> <dt><i>evt</i></dt> <dd> reference to the key press event (QKeyEvent) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>