|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.SecurityPage</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.SecurityPage</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the Security configuration page. |
|
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="#SecurityPage">SecurityPage</a></td> |
|
25 <td>Class implementing the Security configuration page.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 |
|
32 <tr> |
|
33 <td><a href="#create">create</a></td> |
|
34 <td>Module function to create the configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="SecurityPage" ID="SecurityPage"></a> |
|
40 <h2>SecurityPage</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing the Security configuration page. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 ConfigurationPageBase, Ui_SecurityPage |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#SecurityPage.__init__">SecurityPage</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#SecurityPage.on_masterPasswordButton_clicked">on_masterPasswordButton_clicked</a></td> |
|
67 <td>Private slot to change the master password.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#SecurityPage.on_masterPasswordCheckBox_clicked">on_masterPasswordCheckBox_clicked</a></td> |
|
71 <td>Private slot to handle the use of a master password.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#SecurityPage.save">save</a></td> |
|
75 <td>Public slot to save the Help Viewers configuration.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#SecurityPage.setMode">setMode</a></td> |
|
79 <td>Public method to perform mode dependent setups.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 |
|
84 <table> |
|
85 <tr><td>None</td></tr> |
|
86 </table> |
|
87 |
|
88 <a NAME="SecurityPage.__init__" ID="SecurityPage.__init__"></a> |
|
89 <h4>SecurityPage (Constructor)</h4> |
|
90 <b>SecurityPage</b>(<i>configDialog</i>) |
|
91 |
|
92 <p> |
|
93 Constructor |
|
94 </p> |
|
95 <dl> |
|
96 |
|
97 <dt><i>configDialog</i></dt> |
|
98 <dd> |
|
99 reference to the configuration dialog |
|
100 (ConfigurationDialog) |
|
101 </dd> |
|
102 </dl> |
|
103 <a NAME="SecurityPage.on_masterPasswordButton_clicked" ID="SecurityPage.on_masterPasswordButton_clicked"></a> |
|
104 <h4>SecurityPage.on_masterPasswordButton_clicked</h4> |
|
105 <b>on_masterPasswordButton_clicked</b>(<i></i>) |
|
106 |
|
107 <p> |
|
108 Private slot to change the master password. |
|
109 </p> |
|
110 <a NAME="SecurityPage.on_masterPasswordCheckBox_clicked" ID="SecurityPage.on_masterPasswordCheckBox_clicked"></a> |
|
111 <h4>SecurityPage.on_masterPasswordCheckBox_clicked</h4> |
|
112 <b>on_masterPasswordCheckBox_clicked</b>(<i>checked</i>) |
|
113 |
|
114 <p> |
|
115 Private slot to handle the use of a master password. |
|
116 </p> |
|
117 <dl> |
|
118 |
|
119 <dt><i>checked</i></dt> |
|
120 <dd> |
|
121 flag indicating the state of the check box (boolean) |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="SecurityPage.save" ID="SecurityPage.save"></a> |
|
125 <h4>SecurityPage.save</h4> |
|
126 <b>save</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Public slot to save the Help Viewers configuration. |
|
130 </p> |
|
131 <a NAME="SecurityPage.setMode" ID="SecurityPage.setMode"></a> |
|
132 <h4>SecurityPage.setMode</h4> |
|
133 <b>setMode</b>(<i>displayMode</i>) |
|
134 |
|
135 <p> |
|
136 Public method to perform mode dependent setups. |
|
137 </p> |
|
138 <dl> |
|
139 |
|
140 <dt><i>displayMode</i></dt> |
|
141 <dd> |
|
142 mode of the configuration dialog |
|
143 (ConfigurationMode.DEFAULTMODE, |
|
144 ConfigurationMode.WEBBROWSERMODE) |
|
145 </dd> |
|
146 </dl> |
|
147 <div align="right"><a href="#top">Up</a></div> |
|
148 <hr /> |
|
149 <hr /> |
|
150 <a NAME="create" ID="create"></a> |
|
151 <h2>create</h2> |
|
152 <b>create</b>(<i>dlg</i>) |
|
153 |
|
154 <p> |
|
155 Module function to create the configuration page. |
|
156 </p> |
|
157 <dl> |
|
158 |
|
159 <dt><i>dlg</i></dt> |
|
160 <dd> |
|
161 reference to the configuration dialog |
|
162 </dd> |
|
163 </dl> |
|
164 <dl> |
|
165 <dt>Return:</dt> |
|
166 <dd> |
|
167 reference to the instantiated page (ConfigurationPageBase) |
|
168 </dd> |
|
169 </dl> |
|
170 <div align="right"><a href="#top">Up</a></div> |
|
171 <hr /> |
|
172 </body></html> |