eric7/Documentation/Source/eric7.WebBrowser.FeaturePermissions.FeaturePermissionsDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.WebBrowser.FeaturePermissions.FeaturePermissionsDialog</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>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.WebBrowser.FeaturePermissions.FeaturePermissionsDialog</h1>
24
25 <p>
26 Module implementing the feature permission dialog.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#FeaturePermissionsDialog">FeaturePermissionsDialog</a></td>
39 <td>Class implementing the feature permission dialog.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="FeaturePermissionsDialog" ID="FeaturePermissionsDialog"></a>
50 <h2>FeaturePermissionsDialog</h2>
51
52 <p>
53 Class implementing the feature permission dialog.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_FeaturePermissionsDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#FeaturePermissionsDialog.__init__">FeaturePermissionsDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#FeaturePermissionsDialog.__currentTabChanged">__currentTabChanged</a></td>
77 <td>Private slot handling changes of the selected tab.</td>
78 </tr>
79 <tr>
80 <td><a href="#FeaturePermissionsDialog.__itemSelectionChanged">__itemSelectionChanged</a></td>
81 <td>Private slot handling changes in the current list of selected items.</td>
82 </tr>
83 <tr>
84 <td><a href="#FeaturePermissionsDialog.__updateButtons">__updateButtons</a></td>
85 <td>Private method to update the buttons.</td>
86 </tr>
87 <tr>
88 <td><a href="#FeaturePermissionsDialog.getData">getData</a></td>
89 <td>Public method to retrieve the dialog contents.</td>
90 </tr>
91 <tr>
92 <td><a href="#FeaturePermissionsDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
93 <td>Private slot to remove all entries.</td>
94 </tr>
95 <tr>
96 <td><a href="#FeaturePermissionsDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
97 <td>Private slot to remove selected entries.</td>
98 </tr>
99 </table>
100 <h3>Static Methods</h3>
101
102 <table>
103 <tr><td>None</td></tr>
104 </table>
105
106 <a NAME="FeaturePermissionsDialog.__init__" ID="FeaturePermissionsDialog.__init__"></a>
107 <h4>FeaturePermissionsDialog (Constructor)</h4>
108 <b>FeaturePermissionsDialog</b>(<i>featurePermissions, parent=None</i>)
109
110 <p>
111 Constructor
112 </p>
113 <dl>
114
115 <dt><i>featurePermissions</i> (dict of dict of list)</dt>
116 <dd>
117 dictionary with remembered feature
118 permissions
119 </dd>
120 <dt><i>parent</i> (QWidget)</dt>
121 <dd>
122 reference to the parent widget
123 </dd>
124 </dl>
125 <a NAME="FeaturePermissionsDialog.__currentTabChanged" ID="FeaturePermissionsDialog.__currentTabChanged"></a>
126 <h4>FeaturePermissionsDialog.__currentTabChanged</h4>
127 <b>__currentTabChanged</b>(<i>index</i>)
128
129 <p>
130 Private slot handling changes of the selected tab.
131 </p>
132 <dl>
133
134 <dt><i>index</i> (int)</dt>
135 <dd>
136 index of the current tab
137 </dd>
138 </dl>
139 <a NAME="FeaturePermissionsDialog.__itemSelectionChanged" ID="FeaturePermissionsDialog.__itemSelectionChanged"></a>
140 <h4>FeaturePermissionsDialog.__itemSelectionChanged</h4>
141 <b>__itemSelectionChanged</b>(<i></i>)
142
143 <p>
144 Private slot handling changes in the current list of selected items.
145 </p>
146 <a NAME="FeaturePermissionsDialog.__updateButtons" ID="FeaturePermissionsDialog.__updateButtons"></a>
147 <h4>FeaturePermissionsDialog.__updateButtons</h4>
148 <b>__updateButtons</b>(<i></i>)
149
150 <p>
151 Private method to update the buttons.
152 </p>
153 <a NAME="FeaturePermissionsDialog.getData" ID="FeaturePermissionsDialog.getData"></a>
154 <h4>FeaturePermissionsDialog.getData</h4>
155 <b>getData</b>(<i></i>)
156
157 <p>
158 Public method to retrieve the dialog contents.
159 </p>
160 <dl>
161 <dt>Return:</dt>
162 <dd>
163 new feature permission settings
164 </dd>
165 </dl>
166 <dl>
167 <dt>Return Type:</dt>
168 <dd>
169 dict of dict of list
170 </dd>
171 </dl>
172 <a NAME="FeaturePermissionsDialog.on_removeAllButton_clicked" ID="FeaturePermissionsDialog.on_removeAllButton_clicked"></a>
173 <h4>FeaturePermissionsDialog.on_removeAllButton_clicked</h4>
174 <b>on_removeAllButton_clicked</b>(<i></i>)
175
176 <p>
177 Private slot to remove all entries.
178 </p>
179 <a NAME="FeaturePermissionsDialog.on_removeButton_clicked" ID="FeaturePermissionsDialog.on_removeButton_clicked"></a>
180 <h4>FeaturePermissionsDialog.on_removeButton_clicked</h4>
181 <b>on_removeButton_clicked</b>(<i></i>)
182
183 <p>
184 Private slot to remove selected entries.
185 </p>
186 <div align="right"><a href="#top">Up</a></div>
187 <hr />
188 </body></html>

eric ide

mercurial