Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyAddScriptDialog.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 4918
71caf42a13d8
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.GreaseMonkey.GreaseMonkeyAddScriptDialog</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.GreaseMonkey.GreaseMonkeyAddScriptDialog</h1>
<p>
Module implementing a dialog for adding GreaseMonkey scripts..
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#GreaseMonkeyAddScriptDialog">GreaseMonkeyAddScriptDialog</a></td>
<td>Class implementing a dialog for adding GreaseMonkey scripts..</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="GreaseMonkeyAddScriptDialog" ID="GreaseMonkeyAddScriptDialog"></a>
<h2>GreaseMonkeyAddScriptDialog</h2>
<p>
    Class implementing a dialog for adding GreaseMonkey scripts..
</p>
<h3>Derived from</h3>
QDialog, Ui_GreaseMonkeyAddScriptDialog
<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="#GreaseMonkeyAddScriptDialog.__init__">GreaseMonkeyAddScriptDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#GreaseMonkeyAddScriptDialog.__accepted">__accepted</a></td>
<td>Private slot handling the accepted signal.</td>
</tr><tr>
<td><a href="#GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked">on_showScriptSourceButton_clicked</a></td>
<td>Private slot to show an editor window with the source code.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="GreaseMonkeyAddScriptDialog.__init__" ID="GreaseMonkeyAddScriptDialog.__init__"></a>
<h4>GreaseMonkeyAddScriptDialog (Constructor)</h4>
<b>GreaseMonkeyAddScriptDialog</b>(<i>manager, script, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>manager</i></dt>
<dd>
reference to the GreaseMonkey manager
            (GreaseMonkeyManager)
</dd><dt><i>script</i></dt>
<dd>
GreaseMonkey script to be added (GreaseMonkeyScript)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="GreaseMonkeyAddScriptDialog.__accepted" ID="GreaseMonkeyAddScriptDialog.__accepted"></a>
<h4>GreaseMonkeyAddScriptDialog.__accepted</h4>
<b>__accepted</b>(<i></i>)
<p>
        Private slot handling the accepted signal.
</p><a NAME="GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked" ID="GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked"></a>
<h4>GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked</h4>
<b>on_showScriptSourceButton_clicked</b>(<i></i>)
<p>
        Private slot to show an editor window with the source code.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial