5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Preferences.ConfigurationPages.MainPasswordEntryDialog</h1> |
9 <h1>eric7.Preferences.ConfigurationPages.MainPasswordEntryDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter or change the main password. |
11 Module implementing a dialog to enter or change the main password. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#MainPasswordEntryDialog">MainPasswordEntryDialog</a></td> |
22 <td><a href="#MainPasswordEntryDialog">MainPasswordEntryDialog</a></td> |
25 <td>Class implementing a dialog to enter or change the main password.</td> |
23 <td>Class implementing a dialog to enter or change the main password.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="MainPasswordEntryDialog" ID="MainPasswordEntryDialog"></a> |
34 <a NAME="MainPasswordEntryDialog" ID="MainPasswordEntryDialog"></a> |
36 <h2>MainPasswordEntryDialog</h2> |
35 <h2>MainPasswordEntryDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter or change the main password. |
37 Class implementing a dialog to enter or change the main password. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_MainPasswordEntryDialog |
41 QDialog, Ui_MainPasswordEntryDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#MainPasswordEntryDialog.__init__">MainPasswordEntryDialog</a></td> |
55 <td><a href="#MainPasswordEntryDialog.__init__">MainPasswordEntryDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
81 <tr> |
78 <tr> |
82 <td><a href="#MainPasswordEntryDialog.on_newPasswordEdit_textChanged">on_newPasswordEdit_textChanged</a></td> |
79 <td><a href="#MainPasswordEntryDialog.on_newPasswordEdit_textChanged">on_newPasswordEdit_textChanged</a></td> |
83 <td>Private slot to handle changes of the new password.</td> |
80 <td>Private slot to handle changes of the new password.</td> |
84 </tr> |
81 </tr> |
85 </table> |
82 </table> |
|
83 |
86 <h3>Static Methods</h3> |
84 <h3>Static Methods</h3> |
87 |
|
88 <table> |
85 <table> |
89 <tr><td>None</td></tr> |
86 <tr><td>None</td></tr> |
90 </table> |
87 </table> |
91 |
88 |
|
89 |
92 <a NAME="MainPasswordEntryDialog.__init__" ID="MainPasswordEntryDialog.__init__"></a> |
90 <a NAME="MainPasswordEntryDialog.__init__" ID="MainPasswordEntryDialog.__init__"></a> |
93 <h4>MainPasswordEntryDialog (Constructor)</h4> |
91 <h4>MainPasswordEntryDialog (Constructor)</h4> |
94 <b>MainPasswordEntryDialog</b>(<i>oldPasswordHash, parent=None</i>) |
92 <b>MainPasswordEntryDialog</b>(<i>oldPasswordHash, parent=None</i>) |
95 |
|
96 <p> |
93 <p> |
97 Constructor |
94 Constructor |
98 </p> |
95 </p> |
|
96 |
99 <dl> |
97 <dl> |
100 |
98 |
101 <dt><i>oldPasswordHash</i> (str)</dt> |
99 <dt><i>oldPasswordHash</i> (str)</dt> |
102 <dd> |
100 <dd> |
103 hash of the current password |
101 hash of the current password |
108 </dd> |
106 </dd> |
109 </dl> |
107 </dl> |
110 <a NAME="MainPasswordEntryDialog.__updateUI" ID="MainPasswordEntryDialog.__updateUI"></a> |
108 <a NAME="MainPasswordEntryDialog.__updateUI" ID="MainPasswordEntryDialog.__updateUI"></a> |
111 <h4>MainPasswordEntryDialog.__updateUI</h4> |
109 <h4>MainPasswordEntryDialog.__updateUI</h4> |
112 <b>__updateUI</b>(<i></i>) |
110 <b>__updateUI</b>(<i></i>) |
113 |
|
114 <p> |
111 <p> |
115 Private slot to update the variable parts of the UI. |
112 Private slot to update the variable parts of the UI. |
116 </p> |
113 </p> |
|
114 |
117 <a NAME="MainPasswordEntryDialog.getCurrentPassword" ID="MainPasswordEntryDialog.getCurrentPassword"></a> |
115 <a NAME="MainPasswordEntryDialog.getCurrentPassword" ID="MainPasswordEntryDialog.getCurrentPassword"></a> |
118 <h4>MainPasswordEntryDialog.getCurrentPassword</h4> |
116 <h4>MainPasswordEntryDialog.getCurrentPassword</h4> |
119 <b>getCurrentPassword</b>(<i></i>) |
117 <b>getCurrentPassword</b>(<i></i>) |
120 |
|
121 <p> |
118 <p> |
122 Public method to get the current main password. |
119 Public method to get the current main password. |
123 </p> |
120 </p> |
|
121 |
124 <dl> |
122 <dl> |
125 <dt>Return:</dt> |
123 <dt>Return:</dt> |
126 <dd> |
124 <dd> |
127 current main password |
125 current main password |
128 </dd> |
126 </dd> |
153 </dd> |
151 </dd> |
154 </dl> |
152 </dl> |
155 <a NAME="MainPasswordEntryDialog.on_currentPasswordEdit_textChanged" ID="MainPasswordEntryDialog.on_currentPasswordEdit_textChanged"></a> |
153 <a NAME="MainPasswordEntryDialog.on_currentPasswordEdit_textChanged" ID="MainPasswordEntryDialog.on_currentPasswordEdit_textChanged"></a> |
156 <h4>MainPasswordEntryDialog.on_currentPasswordEdit_textChanged</h4> |
154 <h4>MainPasswordEntryDialog.on_currentPasswordEdit_textChanged</h4> |
157 <b>on_currentPasswordEdit_textChanged</b>(<i>txt</i>) |
155 <b>on_currentPasswordEdit_textChanged</b>(<i>txt</i>) |
158 |
|
159 <p> |
156 <p> |
160 Private slot to handle changes of the current password. |
157 Private slot to handle changes of the current password. |
161 </p> |
158 </p> |
|
159 |
162 <dl> |
160 <dl> |
163 |
161 |
164 <dt><i>txt</i> (str)</dt> |
162 <dt><i>txt</i> (str)</dt> |
165 <dd> |
163 <dd> |
166 content of the edit widget |
164 content of the edit widget |
167 </dd> |
165 </dd> |
168 </dl> |
166 </dl> |
169 <a NAME="MainPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" ID="MainPasswordEntryDialog.on_newPasswordAgainEdit_textChanged"></a> |
167 <a NAME="MainPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" ID="MainPasswordEntryDialog.on_newPasswordAgainEdit_textChanged"></a> |
170 <h4>MainPasswordEntryDialog.on_newPasswordAgainEdit_textChanged</h4> |
168 <h4>MainPasswordEntryDialog.on_newPasswordAgainEdit_textChanged</h4> |
171 <b>on_newPasswordAgainEdit_textChanged</b>(<i>txt</i>) |
169 <b>on_newPasswordAgainEdit_textChanged</b>(<i>txt</i>) |
172 |
|
173 <p> |
170 <p> |
174 Private slot to handle changes of the new again password. |
171 Private slot to handle changes of the new again password. |
175 </p> |
172 </p> |
|
173 |
176 <dl> |
174 <dl> |
177 |
175 |
178 <dt><i>txt</i> (str)</dt> |
176 <dt><i>txt</i> (str)</dt> |
179 <dd> |
177 <dd> |
180 content of the edit widget |
178 content of the edit widget |
181 </dd> |
179 </dd> |
182 </dl> |
180 </dl> |
183 <a NAME="MainPasswordEntryDialog.on_newPasswordEdit_textChanged" ID="MainPasswordEntryDialog.on_newPasswordEdit_textChanged"></a> |
181 <a NAME="MainPasswordEntryDialog.on_newPasswordEdit_textChanged" ID="MainPasswordEntryDialog.on_newPasswordEdit_textChanged"></a> |
184 <h4>MainPasswordEntryDialog.on_newPasswordEdit_textChanged</h4> |
182 <h4>MainPasswordEntryDialog.on_newPasswordEdit_textChanged</h4> |
185 <b>on_newPasswordEdit_textChanged</b>(<i>txt</i>) |
183 <b>on_newPasswordEdit_textChanged</b>(<i>txt</i>) |
186 |
|
187 <p> |
184 <p> |
188 Private slot to handle changes of the new password. |
185 Private slot to handle changes of the new password. |
189 </p> |
186 </p> |
|
187 |
190 <dl> |
188 <dl> |
191 |
189 |
192 <dt><i>txt</i> (str)</dt> |
190 <dt><i>txt</i> (str)</dt> |
193 <dd> |
191 <dd> |
194 content of the edit widget |
192 content of the edit widget |