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