diff -r d6062691d424 -r e0227a7c850e eric7/Documentation/Source/eric7.EricWidgets.EricPasswordMeter.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.EricWidgets.EricPasswordMeter.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,180 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.EricWidgets.EricPasswordMeter</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>eric7.EricWidgets.EricPasswordMeter</h1> + +<p> +Module implementing a custom widget indicating the strength of a password. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EricPasswordMeter">EricPasswordMeter</a></td> +<td>Class implementing a custom widget indicating the strength of a password.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EricPasswordMeter" ID="EricPasswordMeter"></a> +<h2>EricPasswordMeter</h2> + +<p> + Class implementing a custom widget indicating the strength of a password. +</p> +<h3>Derived from</h3> +QProgressBar +<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="#EricPasswordMeter.__init__">EricPasswordMeter</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EricPasswordMeter.checkPasswordStrength">checkPasswordStrength</a></td> +<td>Public slot to check the password strength and update the progress bar accordingly.</td> +</tr> +<tr> +<td><a href="#EricPasswordMeter.setMaximum">setMaximum</a></td> +<td>Public method to set the maximum value.</td> +</tr> +<tr> +<td><a href="#EricPasswordMeter.setMinimum">setMinimum</a></td> +<td>Public method to set the minimal value.</td> +</tr> +<tr> +<td><a href="#EricPasswordMeter.setValue">setValue</a></td> +<td>Public method to set the value.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EricPasswordMeter.__init__" ID="EricPasswordMeter.__init__"></a> +<h4>EricPasswordMeter (Constructor)</h4> +<b>EricPasswordMeter</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl> +<a NAME="EricPasswordMeter.checkPasswordStrength" ID="EricPasswordMeter.checkPasswordStrength"></a> +<h4>EricPasswordMeter.checkPasswordStrength</h4> +<b>checkPasswordStrength</b>(<i>password</i>) + +<p> + Public slot to check the password strength and update the + progress bar accordingly. +</p> +<dl> + +<dt><i>password</i></dt> +<dd> +password to be checked (string) +</dd> +</dl> +<a NAME="EricPasswordMeter.setMaximum" ID="EricPasswordMeter.setMaximum"></a> +<h4>EricPasswordMeter.setMaximum</h4> +<b>setMaximum</b>(<i>value</i>) + +<p> + Public method to set the maximum value. +</p> +<p> + Overwritten to do nothing. +</p> +<dl> + +<dt><i>value</i></dt> +<dd> +maximum value (integer) +</dd> +</dl> +<a NAME="EricPasswordMeter.setMinimum" ID="EricPasswordMeter.setMinimum"></a> +<h4>EricPasswordMeter.setMinimum</h4> +<b>setMinimum</b>(<i>value</i>) + +<p> + Public method to set the minimal value. +</p> +<p> + Overwritten to do nothing. +</p> +<dl> + +<dt><i>value</i></dt> +<dd> +minimum value (integer) +</dd> +</dl> +<a NAME="EricPasswordMeter.setValue" ID="EricPasswordMeter.setValue"></a> +<h4>EricPasswordMeter.setValue</h4> +<b>setValue</b>(<i>value</i>) + +<p> + Public method to set the value. +</p> +<p> + Overwritten to do nothing. +</p> +<dl> + +<dt><i>value</i></dt> +<dd> +value (integer) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file