|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.FeaturePermissions.FeaturePermissionsDialog</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.WebBrowser.FeaturePermissions.FeaturePermissionsDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the feature permission dialog. |
|
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="#FeaturePermissionsDialog">FeaturePermissionsDialog</a></td> |
|
25 <td>Class implementing the feature permission dialog.</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="FeaturePermissionsDialog" ID="FeaturePermissionsDialog"></a> |
|
36 <h2>FeaturePermissionsDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the feature permission dialog. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_FeaturePermissionsDialog |
|
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="#FeaturePermissionsDialog.__init__">FeaturePermissionsDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#FeaturePermissionsDialog.__currentTabChanged">__currentTabChanged</a></td> |
|
63 <td>Private slot handling changes of the selected tab.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#FeaturePermissionsDialog.__itemSelectionChanged">__itemSelectionChanged</a></td> |
|
67 <td>Private slot handling changes in the current list of selected items.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#FeaturePermissionsDialog.__updateButtons">__updateButtons</a></td> |
|
71 <td>Private method to update the buttons.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#FeaturePermissionsDialog.getData">getData</a></td> |
|
75 <td>Public method to retrieve the dialog contents.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#FeaturePermissionsDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td> |
|
79 <td>Private slot to remove all entries.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#FeaturePermissionsDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
|
83 <td>Private slot to remove selected entries.</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="FeaturePermissionsDialog.__init__" ID="FeaturePermissionsDialog.__init__"></a> |
|
93 <h4>FeaturePermissionsDialog (Constructor)</h4> |
|
94 <b>FeaturePermissionsDialog</b>(<i>featurePermissions, parent=None</i>) |
|
95 |
|
96 <p> |
|
97 Constructor |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>featurePermissions</i> (dict of dict of list)</dt> |
|
102 <dd> |
|
103 dictionary with remembered feature |
|
104 permissions |
|
105 </dd> |
|
106 <dt><i>parent</i> (QWidget)</dt> |
|
107 <dd> |
|
108 reference to the parent widget |
|
109 </dd> |
|
110 </dl> |
|
111 <a NAME="FeaturePermissionsDialog.__currentTabChanged" ID="FeaturePermissionsDialog.__currentTabChanged"></a> |
|
112 <h4>FeaturePermissionsDialog.__currentTabChanged</h4> |
|
113 <b>__currentTabChanged</b>(<i>index</i>) |
|
114 |
|
115 <p> |
|
116 Private slot handling changes of the selected tab. |
|
117 </p> |
|
118 <dl> |
|
119 |
|
120 <dt><i>index</i> (int)</dt> |
|
121 <dd> |
|
122 index of the current tab |
|
123 </dd> |
|
124 </dl> |
|
125 <a NAME="FeaturePermissionsDialog.__itemSelectionChanged" ID="FeaturePermissionsDialog.__itemSelectionChanged"></a> |
|
126 <h4>FeaturePermissionsDialog.__itemSelectionChanged</h4> |
|
127 <b>__itemSelectionChanged</b>(<i></i>) |
|
128 |
|
129 <p> |
|
130 Private slot handling changes in the current list of selected items. |
|
131 </p> |
|
132 <a NAME="FeaturePermissionsDialog.__updateButtons" ID="FeaturePermissionsDialog.__updateButtons"></a> |
|
133 <h4>FeaturePermissionsDialog.__updateButtons</h4> |
|
134 <b>__updateButtons</b>(<i></i>) |
|
135 |
|
136 <p> |
|
137 Private method to update the buttons. |
|
138 </p> |
|
139 <a NAME="FeaturePermissionsDialog.getData" ID="FeaturePermissionsDialog.getData"></a> |
|
140 <h4>FeaturePermissionsDialog.getData</h4> |
|
141 <b>getData</b>(<i></i>) |
|
142 |
|
143 <p> |
|
144 Public method to retrieve the dialog contents. |
|
145 </p> |
|
146 <dl> |
|
147 <dt>Return:</dt> |
|
148 <dd> |
|
149 new feature permission settings |
|
150 </dd> |
|
151 </dl> |
|
152 <dl> |
|
153 <dt>Return Type:</dt> |
|
154 <dd> |
|
155 dict of dict of list |
|
156 </dd> |
|
157 </dl> |
|
158 <a NAME="FeaturePermissionsDialog.on_removeAllButton_clicked" ID="FeaturePermissionsDialog.on_removeAllButton_clicked"></a> |
|
159 <h4>FeaturePermissionsDialog.on_removeAllButton_clicked</h4> |
|
160 <b>on_removeAllButton_clicked</b>(<i></i>) |
|
161 |
|
162 <p> |
|
163 Private slot to remove all entries. |
|
164 </p> |
|
165 <a NAME="FeaturePermissionsDialog.on_removeButton_clicked" ID="FeaturePermissionsDialog.on_removeButton_clicked"></a> |
|
166 <h4>FeaturePermissionsDialog.on_removeButton_clicked</h4> |
|
167 <b>on_removeButton_clicked</b>(<i></i>) |
|
168 |
|
169 <p> |
|
170 Private slot to remove selected entries. |
|
171 </p> |
|
172 <div align="right"><a href="#top">Up</a></div> |
|
173 <hr /> |
|
174 </body></html> |