|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.MasterPasswordEntryDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Preferences.ConfigurationPages.MasterPasswordEntryDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter or change the master password. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#MasterPasswordEntryDialog">MasterPasswordEntryDialog</a></td> |
|
39 <td>Class implementing a dialog to enter or change the master password.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="MasterPasswordEntryDialog" ID="MasterPasswordEntryDialog"></a> |
|
50 <h2>MasterPasswordEntryDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to enter or change the master password. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_MasterPasswordEntryDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#MasterPasswordEntryDialog.__init__">MasterPasswordEntryDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#MasterPasswordEntryDialog.__updateUI">__updateUI</a></td> |
|
77 <td>Private slot to update the variable parts of the UI.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#MasterPasswordEntryDialog.getCurrentPassword">getCurrentPassword</a></td> |
|
81 <td>Public method to get the current master password.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#MasterPasswordEntryDialog.getMasterPassword">getMasterPassword</a></td> |
|
85 <td>Public method to get the new master password.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged">on_currentPasswordEdit_textChanged</a></td> |
|
89 <td>Private slot to handle changes of the current password.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged">on_newPasswordAgainEdit_textChanged</a></td> |
|
93 <td>Private slot to handle changes of the new again password.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#MasterPasswordEntryDialog.on_newPasswordEdit_textChanged">on_newPasswordEdit_textChanged</a></td> |
|
97 <td>Private slot to handle changes of the new password.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 |
|
102 <table> |
|
103 <tr><td>None</td></tr> |
|
104 </table> |
|
105 |
|
106 <a NAME="MasterPasswordEntryDialog.__init__" ID="MasterPasswordEntryDialog.__init__"></a> |
|
107 <h4>MasterPasswordEntryDialog (Constructor)</h4> |
|
108 <b>MasterPasswordEntryDialog</b>(<i>oldPasswordHash, parent=None</i>) |
|
109 |
|
110 <p> |
|
111 Constructor |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>oldPasswordHash</i></dt> |
|
116 <dd> |
|
117 hash of the current password (string) |
|
118 </dd> |
|
119 <dt><i>parent</i></dt> |
|
120 <dd> |
|
121 reference to the parent widget (QWidget) |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="MasterPasswordEntryDialog.__updateUI" ID="MasterPasswordEntryDialog.__updateUI"></a> |
|
125 <h4>MasterPasswordEntryDialog.__updateUI</h4> |
|
126 <b>__updateUI</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Private slot to update the variable parts of the UI. |
|
130 </p> |
|
131 <a NAME="MasterPasswordEntryDialog.getCurrentPassword" ID="MasterPasswordEntryDialog.getCurrentPassword"></a> |
|
132 <h4>MasterPasswordEntryDialog.getCurrentPassword</h4> |
|
133 <b>getCurrentPassword</b>(<i></i>) |
|
134 |
|
135 <p> |
|
136 Public method to get the current master password. |
|
137 </p> |
|
138 <dl> |
|
139 <dt>Return:</dt> |
|
140 <dd> |
|
141 current master password (string) |
|
142 </dd> |
|
143 </dl> |
|
144 <a NAME="MasterPasswordEntryDialog.getMasterPassword" ID="MasterPasswordEntryDialog.getMasterPassword"></a> |
|
145 <h4>MasterPasswordEntryDialog.getMasterPassword</h4> |
|
146 <b>getMasterPassword</b>(<i></i>) |
|
147 |
|
148 <p> |
|
149 Public method to get the new master password. |
|
150 </p> |
|
151 <dl> |
|
152 <dt>Return:</dt> |
|
153 <dd> |
|
154 new master password (string) |
|
155 </dd> |
|
156 </dl> |
|
157 <a NAME="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged" ID="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged"></a> |
|
158 <h4>MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged</h4> |
|
159 <b>on_currentPasswordEdit_textChanged</b>(<i>txt</i>) |
|
160 |
|
161 <p> |
|
162 Private slot to handle changes of the current password. |
|
163 </p> |
|
164 <dl> |
|
165 |
|
166 <dt><i>txt</i></dt> |
|
167 <dd> |
|
168 content of the edit widget (string) |
|
169 </dd> |
|
170 </dl> |
|
171 <a NAME="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" ID="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged"></a> |
|
172 <h4>MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged</h4> |
|
173 <b>on_newPasswordAgainEdit_textChanged</b>(<i>txt</i>) |
|
174 |
|
175 <p> |
|
176 Private slot to handle changes of the new again password. |
|
177 </p> |
|
178 <dl> |
|
179 |
|
180 <dt><i>txt</i></dt> |
|
181 <dd> |
|
182 content of the edit widget (string) |
|
183 </dd> |
|
184 </dl> |
|
185 <a NAME="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged" ID="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged"></a> |
|
186 <h4>MasterPasswordEntryDialog.on_newPasswordEdit_textChanged</h4> |
|
187 <b>on_newPasswordEdit_textChanged</b>(<i>txt</i>) |
|
188 |
|
189 <p> |
|
190 Private slot to handle changes of the new password. |
|
191 </p> |
|
192 <dl> |
|
193 |
|
194 <dt><i>txt</i></dt> |
|
195 <dd> |
|
196 content of the edit widget (string) |
|
197 </dd> |
|
198 </dl> |
|
199 <div align="right"><a href="#top">Up</a></div> |
|
200 <hr /> |
|
201 </body></html> |