Documentation/Source/eric6.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog.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 4309
cc9c62f55413
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.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog</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.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>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 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>

eric ide

mercurial