|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Preferences.ConfigurationPages.MasterPasswordEntryDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Preferences.ConfigurationPages.MasterPasswordEntryDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter or change the master password. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#MasterPasswordEntryDialog">MasterPasswordEntryDialog</a></td> |
|
35 <td>Class implementing a dialog to enter or change the master password.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="MasterPasswordEntryDialog" ID="MasterPasswordEntryDialog"></a> |
|
44 <h2>MasterPasswordEntryDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter or change the master password. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_MasterPasswordEntryDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#MasterPasswordEntryDialog.__init__">MasterPasswordEntryDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#MasterPasswordEntryDialog.__updateUI">__updateUI</a></td> |
|
61 <td>Private slot to update the variable parts of the UI.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#MasterPasswordEntryDialog.getCurrentPassword">getCurrentPassword</a></td> |
|
64 <td>Public method to get the current master password.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#MasterPasswordEntryDialog.getMasterPassword">getMasterPassword</a></td> |
|
67 <td>Public method to get the new master password.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged">on_currentPasswordEdit_textChanged</a></td> |
|
70 <td>Private slot to handle changes of the current password.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged">on_newPasswordAgainEdit_textChanged</a></td> |
|
73 <td>Private slot to handle changes of the new again password.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#MasterPasswordEntryDialog.on_newPasswordEdit_textChanged">on_newPasswordEdit_textChanged</a></td> |
|
76 <td>Private slot to handle changes of the new password.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <a NAME="MasterPasswordEntryDialog.__init__" ID="MasterPasswordEntryDialog.__init__"></a> |
|
80 <h4>MasterPasswordEntryDialog (Constructor)</h4> |
|
81 <b>MasterPasswordEntryDialog</b>(<i>oldPasswordHash, parent=None</i>) |
|
82 <p> |
|
83 Constructor |
|
84 </p><dl> |
|
85 <dt><i>oldPasswordHash</i></dt> |
|
86 <dd> |
|
87 hash of the current password (string) |
|
88 </dd><dt><i>parent</i></dt> |
|
89 <dd> |
|
90 reference to the parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="MasterPasswordEntryDialog.__updateUI" ID="MasterPasswordEntryDialog.__updateUI"></a> |
|
93 <h4>MasterPasswordEntryDialog.__updateUI</h4> |
|
94 <b>__updateUI</b>(<i></i>) |
|
95 <p> |
|
96 Private slot to update the variable parts of the UI. |
|
97 </p><a NAME="MasterPasswordEntryDialog.getCurrentPassword" ID="MasterPasswordEntryDialog.getCurrentPassword"></a> |
|
98 <h4>MasterPasswordEntryDialog.getCurrentPassword</h4> |
|
99 <b>getCurrentPassword</b>(<i></i>) |
|
100 <p> |
|
101 Public method to get the current master password. |
|
102 </p><a NAME="MasterPasswordEntryDialog.getMasterPassword" ID="MasterPasswordEntryDialog.getMasterPassword"></a> |
|
103 <h4>MasterPasswordEntryDialog.getMasterPassword</h4> |
|
104 <b>getMasterPassword</b>(<i></i>) |
|
105 <p> |
|
106 Public method to get the new master password. |
|
107 </p><a NAME="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged" ID="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged"></a> |
|
108 <h4>MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged</h4> |
|
109 <b>on_currentPasswordEdit_textChanged</b>(<i>txt</i>) |
|
110 <p> |
|
111 Private slot to handle changes of the current password. |
|
112 </p><dl> |
|
113 <dt><i>txt</i></dt> |
|
114 <dd> |
|
115 content of the edit widget (string) |
|
116 </dd> |
|
117 </dl><a NAME="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" ID="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged"></a> |
|
118 <h4>MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged</h4> |
|
119 <b>on_newPasswordAgainEdit_textChanged</b>(<i>txt</i>) |
|
120 <p> |
|
121 Private slot to handle changes of the new again password. |
|
122 </p><dl> |
|
123 <dt><i>txt</i></dt> |
|
124 <dd> |
|
125 content of the edit widget (string) |
|
126 </dd> |
|
127 </dl><a NAME="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged" ID="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged"></a> |
|
128 <h4>MasterPasswordEntryDialog.on_newPasswordEdit_textChanged</h4> |
|
129 <b>on_newPasswordEdit_textChanged</b>(<i>txt</i>) |
|
130 <p> |
|
131 Private slot to handle changes of the new password. |
|
132 </p><dl> |
|
133 <dt><i>txt</i></dt> |
|
134 <dd> |
|
135 content of the edit widget (string) |
|
136 </dd> |
|
137 </dl> |
|
138 <div align="right"><a href="#top">Up</a></div> |
|
139 <hr /> |
|
140 </body></html> |