Documentation/Source/eric6.WebBrowser.QtHelp.QtHelpDocumentationDialog.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 5393
9db3fd0b1c72
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.QtHelp.QtHelpDocumentationDialog</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.QtHelp.QtHelpDocumentationDialog</h1>
<p>
Module implementing a dialog to manage the QtHelp documentation database.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#QtHelpDocumentationDialog">QtHelpDocumentationDialog</a></td>
<td>Class implementing a dialog to manage the QtHelp documentation database.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="QtHelpDocumentationDialog" ID="QtHelpDocumentationDialog"></a>
<h2>QtHelpDocumentationDialog</h2>
<p>
    Class implementing a dialog to manage the QtHelp documentation database.
</p>
<h3>Derived from</h3>
QDialog, Ui_QtHelpDocumentationDialog
<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="#QtHelpDocumentationDialog.__init__">QtHelpDocumentationDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.__registerDocumentations">__registerDocumentations</a></td>
<td>Private method to register a given list of documentations.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.getTabsToClose">getTabsToClose</a></td>
<td>Public method to get the list of tabs to close.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.hasChanges">hasChanges</a></td>
<td>Public slot to test the dialog for changes.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.on_addButton_clicked">on_addButton_clicked</a></td>
<td>Private slot to add QtHelp documents to the help database.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.on_addPluginButton_clicked">on_addPluginButton_clicked</a></td>
<td>Private slot to add QtHelp documents provided by plug-ins to the help database.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.on_documentsList_itemSelectionChanged">on_documentsList_itemSelectionChanged</a></td>
<td>Private slot handling a change of the documents selection.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.on_managePluginButton_clicked">on_managePluginButton_clicked</a></td>
<td>Private slot to manage the QtHelp documents provided by plug-ins.</td>
</tr><tr>
<td><a href="#QtHelpDocumentationDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
<td>Private slot to remove a document from the help database.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="QtHelpDocumentationDialog.__init__" ID="QtHelpDocumentationDialog.__init__"></a>
<h4>QtHelpDocumentationDialog (Constructor)</h4>
<b>QtHelpDocumentationDialog</b>(<i>engine, parent</i>)
<p>
        Constructor
</p><dl>
<dt><i>engine</i></dt>
<dd>
reference to the help engine (QHelpEngine)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="QtHelpDocumentationDialog.__registerDocumentations" ID="QtHelpDocumentationDialog.__registerDocumentations"></a>
<h4>QtHelpDocumentationDialog.__registerDocumentations</h4>
<b>__registerDocumentations</b>(<i>fileNames</i>)
<p>
        Private method to register a given list of documentations.
</p><dl>
<dt><i>fileNames</i> (list of str)</dt>
<dd>
list of documentation files to be registered
</dd>
</dl><a NAME="QtHelpDocumentationDialog.getTabsToClose" ID="QtHelpDocumentationDialog.getTabsToClose"></a>
<h4>QtHelpDocumentationDialog.getTabsToClose</h4>
<b>getTabsToClose</b>(<i></i>)
<p>
        Public method to get the list of tabs to close.
</p><dl>
<dt>Returns:</dt>
<dd>
list of tab ids to be closed (list of integers)
</dd>
</dl><a NAME="QtHelpDocumentationDialog.hasChanges" ID="QtHelpDocumentationDialog.hasChanges"></a>
<h4>QtHelpDocumentationDialog.hasChanges</h4>
<b>hasChanges</b>(<i></i>)
<p>
        Public slot to test the dialog for changes.
</p><dl>
<dt>Returns:</dt>
<dd>
flag indicating presence of changes
</dd>
</dl><a NAME="QtHelpDocumentationDialog.on_addButton_clicked" ID="QtHelpDocumentationDialog.on_addButton_clicked"></a>
<h4>QtHelpDocumentationDialog.on_addButton_clicked</h4>
<b>on_addButton_clicked</b>(<i></i>)
<p>
        Private slot to add QtHelp documents to the help database.
</p><a NAME="QtHelpDocumentationDialog.on_addPluginButton_clicked" ID="QtHelpDocumentationDialog.on_addPluginButton_clicked"></a>
<h4>QtHelpDocumentationDialog.on_addPluginButton_clicked</h4>
<b>on_addPluginButton_clicked</b>(<i></i>)
<p>
        Private slot to add QtHelp documents provided by plug-ins to
        the help database.
</p><a NAME="QtHelpDocumentationDialog.on_documentsList_itemSelectionChanged" ID="QtHelpDocumentationDialog.on_documentsList_itemSelectionChanged"></a>
<h4>QtHelpDocumentationDialog.on_documentsList_itemSelectionChanged</h4>
<b>on_documentsList_itemSelectionChanged</b>(<i></i>)
<p>
        Private slot handling a change of the documents selection.
</p><a NAME="QtHelpDocumentationDialog.on_managePluginButton_clicked" ID="QtHelpDocumentationDialog.on_managePluginButton_clicked"></a>
<h4>QtHelpDocumentationDialog.on_managePluginButton_clicked</h4>
<b>on_managePluginButton_clicked</b>(<i></i>)
<p>
        Private slot to manage the QtHelp documents provided by plug-ins.
</p><a NAME="QtHelpDocumentationDialog.on_removeButton_clicked" ID="QtHelpDocumentationDialog.on_removeButton_clicked"></a>
<h4>QtHelpDocumentationDialog.on_removeButton_clicked</h4>
<b>on_removeButton_clicked</b>(<i></i>)
<p>
        Private slot to remove a document from the help database.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial