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

changeset 4918
71caf42a13d8
equal deleted inserted replaced
4917:682750cc7bd5 4918:71caf42a13d8
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.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.__currentTabChanged">__currentTabChanged</a></td>
64 <td>Private slot handling changes of the selected tab.</td>
65 </tr><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><tr>
69 <td><a href="#FeaturePermissionsDialog.__updateButtons">__updateButtons</a></td>
70 <td>Private method to update the buttons.</td>
71 </tr><tr>
72 <td><a href="#FeaturePermissionsDialog.getData">getData</a></td>
73 <td>Public method to retrieve the dialog contents.</td>
74 </tr><tr>
75 <td><a href="#FeaturePermissionsDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
76 <td>Private slot to remove all entries.</td>
77 </tr><tr>
78 <td><a href="#FeaturePermissionsDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
79 <td>Private slot to remove selected entries.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="FeaturePermissionsDialog.__init__" ID="FeaturePermissionsDialog.__init__"></a>
87 <h4>FeaturePermissionsDialog (Constructor)</h4>
88 <b>FeaturePermissionsDialog</b>(<i>featurePermissions, parent=None</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>featurePermissions</i> (dict of dict of list)</dt>
93 <dd>
94 dictionary with remembered feature
95 permissions
96 </dd><dt><i>parent</i> (QWidget)</dt>
97 <dd>
98 reference to the parent widget
99 </dd>
100 </dl><a NAME="FeaturePermissionsDialog.__currentTabChanged" ID="FeaturePermissionsDialog.__currentTabChanged"></a>
101 <h4>FeaturePermissionsDialog.__currentTabChanged</h4>
102 <b>__currentTabChanged</b>(<i>index</i>)
103 <p>
104 Private slot handling changes of the selected tab.
105 </p><dl>
106 <dt><i>index</i> (int)</dt>
107 <dd>
108 index of the current tab
109 </dd>
110 </dl><a NAME="FeaturePermissionsDialog.__itemSelectionChanged" ID="FeaturePermissionsDialog.__itemSelectionChanged"></a>
111 <h4>FeaturePermissionsDialog.__itemSelectionChanged</h4>
112 <b>__itemSelectionChanged</b>(<i></i>)
113 <p>
114 Private slot handling changes in the current list of selected items.
115 </p><a NAME="FeaturePermissionsDialog.__updateButtons" ID="FeaturePermissionsDialog.__updateButtons"></a>
116 <h4>FeaturePermissionsDialog.__updateButtons</h4>
117 <b>__updateButtons</b>(<i></i>)
118 <p>
119 Private method to update the buttons.
120 </p><a NAME="FeaturePermissionsDialog.getData" ID="FeaturePermissionsDialog.getData"></a>
121 <h4>FeaturePermissionsDialog.getData</h4>
122 <b>getData</b>(<i></i>)
123 <p>
124 Public method to retrieve the dialog contents.
125 </p><dl>
126 <dt>Returns:</dt>
127 <dd>
128 new feature permission settings
129 </dd>
130 </dl><dl>
131 <dt>Return Type:</dt>
132 <dd>
133 dict of dict of list
134 </dd>
135 </dl><a NAME="FeaturePermissionsDialog.on_removeAllButton_clicked" ID="FeaturePermissionsDialog.on_removeAllButton_clicked"></a>
136 <h4>FeaturePermissionsDialog.on_removeAllButton_clicked</h4>
137 <b>on_removeAllButton_clicked</b>(<i></i>)
138 <p>
139 Private slot to remove all entries.
140 </p><a NAME="FeaturePermissionsDialog.on_removeButton_clicked" ID="FeaturePermissionsDialog.on_removeButton_clicked"></a>
141 <h4>FeaturePermissionsDialog.on_removeButton_clicked</h4>
142 <b>on_removeButton_clicked</b>(<i></i>)
143 <p>
144 Private slot to remove selected entries.
145 </p>
146 <div align="right"><a href="#top">Up</a></div>
147 <hr />
148 </body></html>

eric ide

mercurial