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