|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.E5Gui.E5PasswordMeter</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.E5Gui.E5PasswordMeter</h1> |
|
23 <p> |
|
24 Module implementing a custom widget indicating the strength of a password. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#E5PasswordMeter">E5PasswordMeter</a></td> |
|
34 <td>Class implementing a custom widget indicating the strength of a password.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="E5PasswordMeter" ID="E5PasswordMeter"></a> |
|
43 <h2>E5PasswordMeter</h2> |
|
44 <p> |
|
45 Class implementing a custom widget indicating the strength of a password. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QProgressBar |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#E5PasswordMeter.__init__">E5PasswordMeter</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#E5PasswordMeter.checkPasswordStrength">checkPasswordStrength</a></td> |
|
64 <td>Public slot to check the password strength and update the progress bar accordingly.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#E5PasswordMeter.setMaximum">setMaximum</a></td> |
|
67 <td>Public method to set the maximum value.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#E5PasswordMeter.setMinimum">setMinimum</a></td> |
|
70 <td>Public method to set the minimal value.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#E5PasswordMeter.setValue">setValue</a></td> |
|
73 <td>Public method to set the value.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 <a NAME="E5PasswordMeter.__init__" ID="E5PasswordMeter.__init__"></a> |
|
81 <h4>E5PasswordMeter (Constructor)</h4> |
|
82 <b>E5PasswordMeter</b>(<i>parent=None</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>parent</i></dt> |
|
87 <dd> |
|
88 reference to the parent widget (QWidget) |
|
89 </dd> |
|
90 </dl><a NAME="E5PasswordMeter.checkPasswordStrength" ID="E5PasswordMeter.checkPasswordStrength"></a> |
|
91 <h4>E5PasswordMeter.checkPasswordStrength</h4> |
|
92 <b>checkPasswordStrength</b>(<i>password</i>) |
|
93 <p> |
|
94 Public slot to check the password strength and update the |
|
95 progress bar accordingly. |
|
96 </p><dl> |
|
97 <dt><i>password</i></dt> |
|
98 <dd> |
|
99 password to be checked (string) |
|
100 </dd> |
|
101 </dl><a NAME="E5PasswordMeter.setMaximum" ID="E5PasswordMeter.setMaximum"></a> |
|
102 <h4>E5PasswordMeter.setMaximum</h4> |
|
103 <b>setMaximum</b>(<i>value</i>) |
|
104 <p> |
|
105 Public method to set the maximum value. |
|
106 </p><p> |
|
107 Overwritten to do nothing. |
|
108 </p><dl> |
|
109 <dt><i>value</i></dt> |
|
110 <dd> |
|
111 maximum value (integer) |
|
112 </dd> |
|
113 </dl><a NAME="E5PasswordMeter.setMinimum" ID="E5PasswordMeter.setMinimum"></a> |
|
114 <h4>E5PasswordMeter.setMinimum</h4> |
|
115 <b>setMinimum</b>(<i>value</i>) |
|
116 <p> |
|
117 Public method to set the minimal value. |
|
118 </p><p> |
|
119 Overwritten to do nothing. |
|
120 </p><dl> |
|
121 <dt><i>value</i></dt> |
|
122 <dd> |
|
123 minimum value (integer) |
|
124 </dd> |
|
125 </dl><a NAME="E5PasswordMeter.setValue" ID="E5PasswordMeter.setValue"></a> |
|
126 <h4>E5PasswordMeter.setValue</h4> |
|
127 <b>setValue</b>(<i>value</i>) |
|
128 <p> |
|
129 Public method to set the value. |
|
130 </p><p> |
|
131 Overwritten to do nothing. |
|
132 </p><dl> |
|
133 <dt><i>value</i></dt> |
|
134 <dd> |
|
135 value (integer) |
|
136 </dd> |
|
137 </dl> |
|
138 <div align="right"><a href="#top">Up</a></div> |
|
139 <hr /> |
|
140 </body></html> |