Documentation/Source/eric6.Helpviewer.HelpSearchWidget.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 5252
321c2003745d
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.Helpviewer.HelpSearchWidget</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.Helpviewer.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>linkActivated(QUrl)</dt>
<dd>
emitted when a search result entry is activated
</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, mainWindow, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>engine</i></dt>
<dd>
reference to the help search engine (QHelpSearchEngine)
</dd><dt><i>mainWindow</i></dt>
<dd>
reference to the main window object (QMainWindow)
</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>

eric ide

mercurial