|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Preferences.ConfigurationPages.MasterPasswordEntryDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter or change the master 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="#MasterPasswordEntryDialog">MasterPasswordEntryDialog</a></td> |
|
34 <td>Class implementing a dialog to enter or change the master 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="MasterPasswordEntryDialog" ID="MasterPasswordEntryDialog"></a> |
|
43 <h2>MasterPasswordEntryDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter or change the master password. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_MasterPasswordEntryDialog |
|
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="#MasterPasswordEntryDialog.__init__">MasterPasswordEntryDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#MasterPasswordEntryDialog.__updateUI">__updateUI</a></td> |
|
64 <td>Private slot to update the variable parts of the UI.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#MasterPasswordEntryDialog.getCurrentPassword">getCurrentPassword</a></td> |
|
67 <td>Public method to get the current master password.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MasterPasswordEntryDialog.getMasterPassword">getMasterPassword</a></td> |
|
70 <td>Public method to get the new master password.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged">on_currentPasswordEdit_textChanged</a></td> |
|
73 <td>Private slot to handle changes of the current password.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged">on_newPasswordAgainEdit_textChanged</a></td> |
|
76 <td>Private slot to handle changes of the new again password.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#MasterPasswordEntryDialog.on_newPasswordEdit_textChanged">on_newPasswordEdit_textChanged</a></td> |
|
79 <td>Private slot to handle changes of the new password.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="MasterPasswordEntryDialog.__init__" ID="MasterPasswordEntryDialog.__init__"></a> |
|
87 <h4>MasterPasswordEntryDialog (Constructor)</h4> |
|
88 <b>MasterPasswordEntryDialog</b>(<i>oldPasswordHash, parent=None</i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><dl> |
|
92 <dt><i>oldPasswordHash</i></dt> |
|
93 <dd> |
|
94 hash of the current password (string) |
|
95 </dd><dt><i>parent</i></dt> |
|
96 <dd> |
|
97 reference to the parent widget (QWidget) |
|
98 </dd> |
|
99 </dl><a NAME="MasterPasswordEntryDialog.__updateUI" ID="MasterPasswordEntryDialog.__updateUI"></a> |
|
100 <h4>MasterPasswordEntryDialog.__updateUI</h4> |
|
101 <b>__updateUI</b>(<i></i>) |
|
102 <p> |
|
103 Private slot to update the variable parts of the UI. |
|
104 </p><a NAME="MasterPasswordEntryDialog.getCurrentPassword" ID="MasterPasswordEntryDialog.getCurrentPassword"></a> |
|
105 <h4>MasterPasswordEntryDialog.getCurrentPassword</h4> |
|
106 <b>getCurrentPassword</b>(<i></i>) |
|
107 <p> |
|
108 Public method to get the current master password. |
|
109 </p><dl> |
|
110 <dt>Returns:</dt> |
|
111 <dd> |
|
112 current master password (string) |
|
113 </dd> |
|
114 </dl><a NAME="MasterPasswordEntryDialog.getMasterPassword" ID="MasterPasswordEntryDialog.getMasterPassword"></a> |
|
115 <h4>MasterPasswordEntryDialog.getMasterPassword</h4> |
|
116 <b>getMasterPassword</b>(<i></i>) |
|
117 <p> |
|
118 Public method to get the new master password. |
|
119 </p><dl> |
|
120 <dt>Returns:</dt> |
|
121 <dd> |
|
122 new master password (string) |
|
123 </dd> |
|
124 </dl><a NAME="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged" ID="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged"></a> |
|
125 <h4>MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged</h4> |
|
126 <b>on_currentPasswordEdit_textChanged</b>(<i>txt</i>) |
|
127 <p> |
|
128 Private slot to handle changes of the current password. |
|
129 </p><dl> |
|
130 <dt><i>txt</i></dt> |
|
131 <dd> |
|
132 content of the edit widget (string) |
|
133 </dd> |
|
134 </dl><a NAME="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" ID="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged"></a> |
|
135 <h4>MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged</h4> |
|
136 <b>on_newPasswordAgainEdit_textChanged</b>(<i>txt</i>) |
|
137 <p> |
|
138 Private slot to handle changes of the new again password. |
|
139 </p><dl> |
|
140 <dt><i>txt</i></dt> |
|
141 <dd> |
|
142 content of the edit widget (string) |
|
143 </dd> |
|
144 </dl><a NAME="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged" ID="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged"></a> |
|
145 <h4>MasterPasswordEntryDialog.on_newPasswordEdit_textChanged</h4> |
|
146 <b>on_newPasswordEdit_textChanged</b>(<i>txt</i>) |
|
147 <p> |
|
148 Private slot to handle changes of the new password. |
|
149 </p><dl> |
|
150 <dt><i>txt</i></dt> |
|
151 <dd> |
|
152 content of the edit widget (string) |
|
153 </dd> |
|
154 </dl> |
|
155 <div align="right"><a href="#top">Up</a></div> |
|
156 <hr /> |
|
157 </body></html> |