Documentation/Source/eric5.Helpviewer.WebPlugins.ClickToFlash.ClickToFlashWhitelistDialog.html

Wed, 22 Feb 2012 09:20:53 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 22 Feb 2012 09:20:53 +0100
changeset 1651
bc68f24d5658
child 2367
78f6c8193d37
permissions
-rw-r--r--

Added the ClickToFlash plug-in to (temporarily) block Flash and related content.

<?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.WebPlugins.ClickToFlash.ClickToFlashWhitelistDialog</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.WebPlugins.ClickToFlash.ClickToFlashWhitelistDialog</h1>
<p>
Module implementing a dialog to manage the ClickToFlash whitelist.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#ClickToFlashWhitelistDialog">ClickToFlashWhitelistDialog</a></td>
<td>Class implementing a dialog to manage the ClickToFlash whitelist</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="ClickToFlashWhitelistDialog" ID="ClickToFlashWhitelistDialog"></a>
<h2>ClickToFlashWhitelistDialog</h2>
<p>
    Class implementing a dialog to manage the ClickToFlash whitelist
</p>
<h3>Derived from</h3>
QDialog, Ui_ClickToFlashWhitelistDialog
<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="#ClickToFlashWhitelistDialog.__init__">ClickToFlashWhitelistDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#ClickToFlashWhitelistDialog.getWhitelist">getWhitelist</a></td>
<td>Public method to get the whitelisted hosts.</td>
</tr><tr>
<td><a href="#ClickToFlashWhitelistDialog.on_addButton_clicked">on_addButton_clicked</a></td>
<td>Private slot to add an entry to the whitelist.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="ClickToFlashWhitelistDialog.__init__" ID="ClickToFlashWhitelistDialog.__init__"></a>
<h4>ClickToFlashWhitelistDialog (Constructor)</h4>
<b>ClickToFlashWhitelistDialog</b>(<i>whitelist, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>whitelist</i></dt>
<dd>
list of whitelisted hosts (list of string)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="ClickToFlashWhitelistDialog.getWhitelist" ID="ClickToFlashWhitelistDialog.getWhitelist"></a>
<h4>ClickToFlashWhitelistDialog.getWhitelist</h4>
<b>getWhitelist</b>(<i></i>)
<p>
        Public method to get the whitelisted hosts.
</p><dl>
<dt>Returns:</dt>
<dd>
list of whitelisted hosts (list of string)
</dd>
</dl><a NAME="ClickToFlashWhitelistDialog.on_addButton_clicked" ID="ClickToFlashWhitelistDialog.on_addButton_clicked"></a>
<h4>ClickToFlashWhitelistDialog.on_addButton_clicked</h4>
<b>on_addButton_clicked</b>(<i></i>)
<p>
        Private slot to add an entry to the whitelist.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial