--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog.html Sun Jul 22 15:32:52 2012 +0200 @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog</title> +<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>eric5.Helpviewer.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 userscript.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>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>Returns:</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 userscript.org web site. +</p><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> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file