diff -r 3fc8dfeb6ebe -r b99e7fd55fd3 src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,206 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog</h1> + +<p> +Module implementing the GreaseMonkey scripts configuration dialog. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog">GreaseMonkeyConfigurationDialog</a></td> +<td>Class implementing the GreaseMonkey scripts configuration dialog.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="GreaseMonkeyConfigurationDialog" ID="GreaseMonkeyConfigurationDialog"></a> +<h2>GreaseMonkeyConfigurationDialog</h2> + +<p> + Class implementing the GreaseMonkey scripts configuration dialog. +</p> +<h3>Derived from</h3> +QDialog, Ui_GreaseMonkeyConfigurationDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>ScriptDescriptionRole</td></tr><tr><td>ScriptRole</td></tr><tr><td>ScriptVersionRole</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.__init__">GreaseMonkeyConfigurationDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.__getScript">__getScript</a></td> +<td>Private method to get the script for the given item.</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.__itemChanged">__itemChanged</a></td> +<td>Private slot to handle changes of a script item.</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.__loadScripts">__loadScripts</a></td> +<td>Private method to load all the available scripts.</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.__removeItem">__removeItem</a></td> +<td>Private slot to remove a script item.</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated">on_downloadLabel_linkActivated</a></td> +<td>Private slot to open the greasyfork.org web site.</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked">on_openDirectoryButton_clicked</a></td> +<td>Private slot to open the GreaseMonkey scripts directory.</td> +</tr> +<tr> +<td><a href="#GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked">on_scriptsList_itemDoubleClicked</a></td> +<td>Private slot to show information about the selected script.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="GreaseMonkeyConfigurationDialog.__init__" ID="GreaseMonkeyConfigurationDialog.__init__"></a> +<h4>GreaseMonkeyConfigurationDialog (Constructor)</h4> +<b>GreaseMonkeyConfigurationDialog</b>(<i>manager, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>manager</i></dt> +<dd> +reference to the manager object (GreaseMonkeyManager) +</dd> +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl> +<a NAME="GreaseMonkeyConfigurationDialog.__getScript" ID="GreaseMonkeyConfigurationDialog.__getScript"></a> +<h4>GreaseMonkeyConfigurationDialog.__getScript</h4> +<b>__getScript</b>(<i>itm</i>) + +<p> + Private method to get the script for the given item. +</p> +<dl> + +<dt><i>itm</i></dt> +<dd> +item to get script for (QListWidgetItem) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +reference to the script object (GreaseMonkeyScript) +</dd> +</dl> +<a NAME="GreaseMonkeyConfigurationDialog.__itemChanged" ID="GreaseMonkeyConfigurationDialog.__itemChanged"></a> +<h4>GreaseMonkeyConfigurationDialog.__itemChanged</h4> +<b>__itemChanged</b>(<i>itm</i>) + +<p> + Private slot to handle changes of a script item. +</p> +<dl> + +<dt><i>itm</i></dt> +<dd> +changed item (QListWidgetItem) +</dd> +</dl> +<a NAME="GreaseMonkeyConfigurationDialog.__loadScripts" ID="GreaseMonkeyConfigurationDialog.__loadScripts"></a> +<h4>GreaseMonkeyConfigurationDialog.__loadScripts</h4> +<b>__loadScripts</b>(<i></i>) + +<p> + Private method to load all the available scripts. +</p> +<a NAME="GreaseMonkeyConfigurationDialog.__removeItem" ID="GreaseMonkeyConfigurationDialog.__removeItem"></a> +<h4>GreaseMonkeyConfigurationDialog.__removeItem</h4> +<b>__removeItem</b>(<i>itm</i>) + +<p> + Private slot to remove a script item. +</p> +<dl> + +<dt><i>itm</i></dt> +<dd> +item to be removed (QListWidgetItem) +</dd> +</dl> +<a NAME="GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated" ID="GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated"></a> +<h4>GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated</h4> +<b>on_downloadLabel_linkActivated</b>(<i>link</i>) + +<p> + Private slot to open the greasyfork.org web site. +</p> +<dl> + +<dt><i>link</i></dt> +<dd> +URL (string) +</dd> +</dl> +<a NAME="GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked" ID="GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked"></a> +<h4>GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked</h4> +<b>on_openDirectoryButton_clicked</b>(<i></i>) + +<p> + Private slot to open the GreaseMonkey scripts directory. +</p> +<a NAME="GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked" ID="GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked"></a> +<h4>GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked</h4> +<b>on_scriptsList_itemDoubleClicked</b>(<i>item</i>) + +<p> + Private slot to show information about the selected script. +</p> +<dl> + +<dt><i>item</i></dt> +<dd> +reference to the double clicked item (QListWidgetItem) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file