Documentation/Source/eric6.WebBrowser.QtHelp.QtHelpDocumentationDialog.html

Sat, 31 Dec 2016 17:52:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Dec 2016 17:52:23 +0100
changeset 5393
9db3fd0b1c72
parent 5227
5bffd1a6741f
permissions
-rw-r--r--

Added functionality to the web browsers to manage the plug-in provided documentation sets.

<!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