Documentation/Source/eric6.Helpviewer.FeaturePermissions.FeaturePermissionsDialog.html

changeset 4356
975993ebd7fb
equal deleted inserted replaced
4355:40ec6bef4c22 4356:975993ebd7fb
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.FeaturePermissions.FeaturePermissionsDialog</h1>
23 <p>
24 Module implementing the feature permission dialog.
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="#FeaturePermissionsDialog">FeaturePermissionsDialog</a></td>
34 <td>Class implementing the feature permission dialog.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="FeaturePermissionsDialog" ID="FeaturePermissionsDialog"></a>
43 <h2>FeaturePermissionsDialog</h2>
44 <p>
45 Class implementing the feature permission dialog.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_FeaturePermissionsDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#FeaturePermissionsDialog.__init__">FeaturePermissionsDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#FeaturePermissionsDialog.__updateGeoButtons">__updateGeoButtons</a></td>
64 <td>Private method to update the geolocation buttons.</td>
65 </tr><tr>
66 <td><a href="#FeaturePermissionsDialog.__updateNotifButtons">__updateNotifButtons</a></td>
67 <td>Private method to update the notifications buttons.</td>
68 </tr><tr>
69 <td><a href="#FeaturePermissionsDialog.getData">getData</a></td>
70 <td>Public method to retrieve the dialog contents.</td>
71 </tr><tr>
72 <td><a href="#FeaturePermissionsDialog.on_geoList_itemSelectionChanged">on_geoList_itemSelectionChanged</a></td>
73 <td>Private slot handling changes in the list of selected geolocation items.</td>
74 </tr><tr>
75 <td><a href="#FeaturePermissionsDialog.on_geoRemoveAllButton_clicked">on_geoRemoveAllButton_clicked</a></td>
76 <td>Private slot to remove all geolocation entries.</td>
77 </tr><tr>
78 <td><a href="#FeaturePermissionsDialog.on_geoRemoveButton_clicked">on_geoRemoveButton_clicked</a></td>
79 <td>Private slot to remove selected geolocation entries.</td>
80 </tr><tr>
81 <td><a href="#FeaturePermissionsDialog.on_notifList_itemSelectionChanged">on_notifList_itemSelectionChanged</a></td>
82 <td>Private slot handling changes in the list of selected notifications items.</td>
83 </tr><tr>
84 <td><a href="#FeaturePermissionsDialog.on_notifRemoveAllButton_clicked">on_notifRemoveAllButton_clicked</a></td>
85 <td>Private slot to remove all notification entries.</td>
86 </tr><tr>
87 <td><a href="#FeaturePermissionsDialog.on_notifRemoveButton_clicked">on_notifRemoveButton_clicked</a></td>
88 <td>Private slot to remove selected notification entries.</td>
89 </tr>
90 </table>
91 <h3>Static Methods</h3>
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95 <a NAME="FeaturePermissionsDialog.__init__" ID="FeaturePermissionsDialog.__init__"></a>
96 <h4>FeaturePermissionsDialog (Constructor)</h4>
97 <b>FeaturePermissionsDialog</b>(<i>featurePermissions, parent=None</i>)
98 <p>
99 Constructor
100 </p><dl>
101 <dt><i>featurePermissions</i> (dict of dict of list)</dt>
102 <dd>
103 dictionary with remembered feature
104 permissions
105 </dd><dt><i>parent</i> (QWidget)</dt>
106 <dd>
107 reference to the parent widget
108 </dd>
109 </dl><a NAME="FeaturePermissionsDialog.__updateGeoButtons" ID="FeaturePermissionsDialog.__updateGeoButtons"></a>
110 <h4>FeaturePermissionsDialog.__updateGeoButtons</h4>
111 <b>__updateGeoButtons</b>(<i></i>)
112 <p>
113 Private method to update the geolocation buttons.
114 </p><a NAME="FeaturePermissionsDialog.__updateNotifButtons" ID="FeaturePermissionsDialog.__updateNotifButtons"></a>
115 <h4>FeaturePermissionsDialog.__updateNotifButtons</h4>
116 <b>__updateNotifButtons</b>(<i></i>)
117 <p>
118 Private method to update the notifications buttons.
119 </p><a NAME="FeaturePermissionsDialog.getData" ID="FeaturePermissionsDialog.getData"></a>
120 <h4>FeaturePermissionsDialog.getData</h4>
121 <b>getData</b>(<i></i>)
122 <p>
123 Public method to retrieve the dialog contents.
124 </p><dl>
125 <dt>Returns:</dt>
126 <dd>
127 new feature permission settings
128 </dd>
129 </dl><dl>
130 <dt>Return Type:</dt>
131 <dd>
132 dict of dict of list
133 </dd>
134 </dl><a NAME="FeaturePermissionsDialog.on_geoList_itemSelectionChanged" ID="FeaturePermissionsDialog.on_geoList_itemSelectionChanged"></a>
135 <h4>FeaturePermissionsDialog.on_geoList_itemSelectionChanged</h4>
136 <b>on_geoList_itemSelectionChanged</b>(<i></i>)
137 <p>
138 Private slot handling changes in the list of selected geolocation
139 items.
140 </p><a NAME="FeaturePermissionsDialog.on_geoRemoveAllButton_clicked" ID="FeaturePermissionsDialog.on_geoRemoveAllButton_clicked"></a>
141 <h4>FeaturePermissionsDialog.on_geoRemoveAllButton_clicked</h4>
142 <b>on_geoRemoveAllButton_clicked</b>(<i></i>)
143 <p>
144 Private slot to remove all geolocation entries.
145 </p><a NAME="FeaturePermissionsDialog.on_geoRemoveButton_clicked" ID="FeaturePermissionsDialog.on_geoRemoveButton_clicked"></a>
146 <h4>FeaturePermissionsDialog.on_geoRemoveButton_clicked</h4>
147 <b>on_geoRemoveButton_clicked</b>(<i></i>)
148 <p>
149 Private slot to remove selected geolocation entries.
150 </p><a NAME="FeaturePermissionsDialog.on_notifList_itemSelectionChanged" ID="FeaturePermissionsDialog.on_notifList_itemSelectionChanged"></a>
151 <h4>FeaturePermissionsDialog.on_notifList_itemSelectionChanged</h4>
152 <b>on_notifList_itemSelectionChanged</b>(<i></i>)
153 <p>
154 Private slot handling changes in the list of selected notifications
155 items.
156 </p><a NAME="FeaturePermissionsDialog.on_notifRemoveAllButton_clicked" ID="FeaturePermissionsDialog.on_notifRemoveAllButton_clicked"></a>
157 <h4>FeaturePermissionsDialog.on_notifRemoveAllButton_clicked</h4>
158 <b>on_notifRemoveAllButton_clicked</b>(<i></i>)
159 <p>
160 Private slot to remove all notification entries.
161 </p><a NAME="FeaturePermissionsDialog.on_notifRemoveButton_clicked" ID="FeaturePermissionsDialog.on_notifRemoveButton_clicked"></a>
162 <h4>FeaturePermissionsDialog.on_notifRemoveButton_clicked</h4>
163 <b>on_notifRemoveButton_clicked</b>(<i></i>)
164 <p>
165 Private slot to remove selected notification entries.
166 </p>
167 <div align="right"><a href="#top">Up</a></div>
168 <hr />
169 </body></html>

eric ide

mercurial