16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Preferences.ToolGroupConfigurationDialog</h1> |
23 <h1>eric6.Preferences.ToolGroupConfigurationDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a configuration dialog for the tools menu. |
26 Module implementing a configuration dialog for the tools menu. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#ToolGroupConfigurationDialog">ToolGroupConfigurationDialog</a></td> |
38 <td><a href="#ToolGroupConfigurationDialog">ToolGroupConfigurationDialog</a></td> |
34 <td>Class implementing a configuration dialog for the tool groups.</td> |
39 <td>Class implementing a configuration dialog for the tool groups.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="ToolGroupConfigurationDialog" ID="ToolGroupConfigurationDialog"></a> |
49 <a NAME="ToolGroupConfigurationDialog" ID="ToolGroupConfigurationDialog"></a> |
43 <h2>ToolGroupConfigurationDialog</h2> |
50 <h2>ToolGroupConfigurationDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a configuration dialog for the tool groups. |
53 Class implementing a configuration dialog for the tool groups. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_ToolGroupConfigurationDialog |
56 QDialog, Ui_ToolGroupConfigurationDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#ToolGroupConfigurationDialog.__init__">ToolGroupConfigurationDialog</a></td> |
72 <td><a href="#ToolGroupConfigurationDialog.__init__">ToolGroupConfigurationDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#ToolGroupConfigurationDialog.__swap">__swap</a></td> |
76 <td><a href="#ToolGroupConfigurationDialog.__swap">__swap</a></td> |
64 <td>Private method used two swap two list entries given by their index.</td> |
77 <td>Private method used two swap two list entries given by their index.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#ToolGroupConfigurationDialog.getToolGroups">getToolGroups</a></td> |
80 <td><a href="#ToolGroupConfigurationDialog.getToolGroups">getToolGroups</a></td> |
67 <td>Public method to retrieve the tool groups.</td> |
81 <td>Public method to retrieve the tool groups.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#ToolGroupConfigurationDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
84 <td><a href="#ToolGroupConfigurationDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
70 <td>Private slot to add a new entry.</td> |
85 <td>Private slot to add a new entry.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#ToolGroupConfigurationDialog.on_changeButton_clicked">on_changeButton_clicked</a></td> |
88 <td><a href="#ToolGroupConfigurationDialog.on_changeButton_clicked">on_changeButton_clicked</a></td> |
73 <td>Private slot to change an entry.</td> |
89 <td>Private slot to change an entry.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#ToolGroupConfigurationDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
92 <td><a href="#ToolGroupConfigurationDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
76 <td>Private slot to delete the selected entry.</td> |
93 <td>Private slot to delete the selected entry.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#ToolGroupConfigurationDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
96 <td><a href="#ToolGroupConfigurationDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
79 <td>Private slot to move an entry down in the list.</td> |
97 <td>Private slot to move an entry down in the list.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#ToolGroupConfigurationDialog.on_groupsList_currentRowChanged">on_groupsList_currentRowChanged</a></td> |
100 <td><a href="#ToolGroupConfigurationDialog.on_groupsList_currentRowChanged">on_groupsList_currentRowChanged</a></td> |
82 <td>Private slot to set the lineedits depending on the selected entry.</td> |
101 <td>Private slot to set the lineedits depending on the selected entry.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#ToolGroupConfigurationDialog.on_newButton_clicked">on_newButton_clicked</a></td> |
104 <td><a href="#ToolGroupConfigurationDialog.on_newButton_clicked">on_newButton_clicked</a></td> |
85 <td>Private slot to clear all entry fields.</td> |
105 <td>Private slot to clear all entry fields.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#ToolGroupConfigurationDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
108 <td><a href="#ToolGroupConfigurationDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
88 <td>Private slot to move an entry up in the list.</td> |
109 <td>Private slot to move an entry up in the list.</td> |
89 </tr> |
110 </tr> |
90 </table> |
111 </table> |
91 <h3>Static Methods</h3> |
112 <h3>Static Methods</h3> |
92 <table> |
113 |
93 <tr><td>None</td></tr> |
114 <table> |
94 </table> |
115 <tr><td>None</td></tr> |
|
116 </table> |
|
117 |
95 <a NAME="ToolGroupConfigurationDialog.__init__" ID="ToolGroupConfigurationDialog.__init__"></a> |
118 <a NAME="ToolGroupConfigurationDialog.__init__" ID="ToolGroupConfigurationDialog.__init__"></a> |
96 <h4>ToolGroupConfigurationDialog (Constructor)</h4> |
119 <h4>ToolGroupConfigurationDialog (Constructor)</h4> |
97 <b>ToolGroupConfigurationDialog</b>(<i>toolGroups, currentGroup, parent=None</i>) |
120 <b>ToolGroupConfigurationDialog</b>(<i>toolGroups, currentGroup, parent=None</i>) |
|
121 |
98 <p> |
122 <p> |
99 Constructor |
123 Constructor |
100 </p><dl> |
124 </p> |
|
125 <dl> |
|
126 |
101 <dt><i>toolGroups</i></dt> |
127 <dt><i>toolGroups</i></dt> |
102 <dd> |
128 <dd> |
103 list of configured tool groups |
129 list of configured tool groups |
104 </dd><dt><i>currentGroup</i></dt> |
130 </dd> |
|
131 <dt><i>currentGroup</i></dt> |
105 <dd> |
132 <dd> |
106 number of the active group (integer) |
133 number of the active group (integer) |
107 </dd><dt><i>parent</i></dt> |
134 </dd> |
|
135 <dt><i>parent</i></dt> |
108 <dd> |
136 <dd> |
109 parent widget (QWidget) |
137 parent widget (QWidget) |
110 </dd> |
138 </dd> |
111 </dl><a NAME="ToolGroupConfigurationDialog.__swap" ID="ToolGroupConfigurationDialog.__swap"></a> |
139 </dl> |
|
140 <a NAME="ToolGroupConfigurationDialog.__swap" ID="ToolGroupConfigurationDialog.__swap"></a> |
112 <h4>ToolGroupConfigurationDialog.__swap</h4> |
141 <h4>ToolGroupConfigurationDialog.__swap</h4> |
113 <b>__swap</b>(<i>itm1, itm2</i>) |
142 <b>__swap</b>(<i>itm1, itm2</i>) |
|
143 |
114 <p> |
144 <p> |
115 Private method used two swap two list entries given by their index. |
145 Private method used two swap two list entries given by their index. |
116 </p><dl> |
146 </p> |
|
147 <dl> |
|
148 |
117 <dt><i>itm1</i></dt> |
149 <dt><i>itm1</i></dt> |
118 <dd> |
150 <dd> |
119 index of first entry (int) |
151 index of first entry (int) |
120 </dd><dt><i>itm2</i></dt> |
152 </dd> |
|
153 <dt><i>itm2</i></dt> |
121 <dd> |
154 <dd> |
122 index of second entry (int) |
155 index of second entry (int) |
123 </dd> |
156 </dd> |
124 </dl><a NAME="ToolGroupConfigurationDialog.getToolGroups" ID="ToolGroupConfigurationDialog.getToolGroups"></a> |
157 </dl> |
|
158 <a NAME="ToolGroupConfigurationDialog.getToolGroups" ID="ToolGroupConfigurationDialog.getToolGroups"></a> |
125 <h4>ToolGroupConfigurationDialog.getToolGroups</h4> |
159 <h4>ToolGroupConfigurationDialog.getToolGroups</h4> |
126 <b>getToolGroups</b>(<i></i>) |
160 <b>getToolGroups</b>(<i></i>) |
|
161 |
127 <p> |
162 <p> |
128 Public method to retrieve the tool groups. |
163 Public method to retrieve the tool groups. |
129 </p><dl> |
164 </p> |
|
165 <dl> |
130 <dt>Returns:</dt> |
166 <dt>Returns:</dt> |
131 <dd> |
167 <dd> |
132 a list of lists containing the group name and the |
168 a list of lists containing the group name and the |
133 tool group entries |
169 tool group entries |
134 </dd> |
170 </dd> |
135 </dl><a NAME="ToolGroupConfigurationDialog.on_addButton_clicked" ID="ToolGroupConfigurationDialog.on_addButton_clicked"></a> |
171 </dl> |
|
172 <a NAME="ToolGroupConfigurationDialog.on_addButton_clicked" ID="ToolGroupConfigurationDialog.on_addButton_clicked"></a> |
136 <h4>ToolGroupConfigurationDialog.on_addButton_clicked</h4> |
173 <h4>ToolGroupConfigurationDialog.on_addButton_clicked</h4> |
137 <b>on_addButton_clicked</b>(<i></i>) |
174 <b>on_addButton_clicked</b>(<i></i>) |
|
175 |
138 <p> |
176 <p> |
139 Private slot to add a new entry. |
177 Private slot to add a new entry. |
140 </p><a NAME="ToolGroupConfigurationDialog.on_changeButton_clicked" ID="ToolGroupConfigurationDialog.on_changeButton_clicked"></a> |
178 </p> |
|
179 <a NAME="ToolGroupConfigurationDialog.on_changeButton_clicked" ID="ToolGroupConfigurationDialog.on_changeButton_clicked"></a> |
141 <h4>ToolGroupConfigurationDialog.on_changeButton_clicked</h4> |
180 <h4>ToolGroupConfigurationDialog.on_changeButton_clicked</h4> |
142 <b>on_changeButton_clicked</b>(<i></i>) |
181 <b>on_changeButton_clicked</b>(<i></i>) |
|
182 |
143 <p> |
183 <p> |
144 Private slot to change an entry. |
184 Private slot to change an entry. |
145 </p><a NAME="ToolGroupConfigurationDialog.on_deleteButton_clicked" ID="ToolGroupConfigurationDialog.on_deleteButton_clicked"></a> |
185 </p> |
|
186 <a NAME="ToolGroupConfigurationDialog.on_deleteButton_clicked" ID="ToolGroupConfigurationDialog.on_deleteButton_clicked"></a> |
146 <h4>ToolGroupConfigurationDialog.on_deleteButton_clicked</h4> |
187 <h4>ToolGroupConfigurationDialog.on_deleteButton_clicked</h4> |
147 <b>on_deleteButton_clicked</b>(<i></i>) |
188 <b>on_deleteButton_clicked</b>(<i></i>) |
|
189 |
148 <p> |
190 <p> |
149 Private slot to delete the selected entry. |
191 Private slot to delete the selected entry. |
150 </p><a NAME="ToolGroupConfigurationDialog.on_downButton_clicked" ID="ToolGroupConfigurationDialog.on_downButton_clicked"></a> |
192 </p> |
|
193 <a NAME="ToolGroupConfigurationDialog.on_downButton_clicked" ID="ToolGroupConfigurationDialog.on_downButton_clicked"></a> |
151 <h4>ToolGroupConfigurationDialog.on_downButton_clicked</h4> |
194 <h4>ToolGroupConfigurationDialog.on_downButton_clicked</h4> |
152 <b>on_downButton_clicked</b>(<i></i>) |
195 <b>on_downButton_clicked</b>(<i></i>) |
|
196 |
153 <p> |
197 <p> |
154 Private slot to move an entry down in the list. |
198 Private slot to move an entry down in the list. |
155 </p><a NAME="ToolGroupConfigurationDialog.on_groupsList_currentRowChanged" ID="ToolGroupConfigurationDialog.on_groupsList_currentRowChanged"></a> |
199 </p> |
|
200 <a NAME="ToolGroupConfigurationDialog.on_groupsList_currentRowChanged" ID="ToolGroupConfigurationDialog.on_groupsList_currentRowChanged"></a> |
156 <h4>ToolGroupConfigurationDialog.on_groupsList_currentRowChanged</h4> |
201 <h4>ToolGroupConfigurationDialog.on_groupsList_currentRowChanged</h4> |
157 <b>on_groupsList_currentRowChanged</b>(<i>row</i>) |
202 <b>on_groupsList_currentRowChanged</b>(<i>row</i>) |
|
203 |
158 <p> |
204 <p> |
159 Private slot to set the lineedits depending on the selected entry. |
205 Private slot to set the lineedits depending on the selected entry. |
160 </p><dl> |
206 </p> |
|
207 <dl> |
|
208 |
161 <dt><i>row</i></dt> |
209 <dt><i>row</i></dt> |
162 <dd> |
210 <dd> |
163 the row of the selected entry (integer) |
211 the row of the selected entry (integer) |
164 </dd> |
212 </dd> |
165 </dl><a NAME="ToolGroupConfigurationDialog.on_newButton_clicked" ID="ToolGroupConfigurationDialog.on_newButton_clicked"></a> |
213 </dl> |
|
214 <a NAME="ToolGroupConfigurationDialog.on_newButton_clicked" ID="ToolGroupConfigurationDialog.on_newButton_clicked"></a> |
166 <h4>ToolGroupConfigurationDialog.on_newButton_clicked</h4> |
215 <h4>ToolGroupConfigurationDialog.on_newButton_clicked</h4> |
167 <b>on_newButton_clicked</b>(<i></i>) |
216 <b>on_newButton_clicked</b>(<i></i>) |
|
217 |
168 <p> |
218 <p> |
169 Private slot to clear all entry fields. |
219 Private slot to clear all entry fields. |
170 </p><a NAME="ToolGroupConfigurationDialog.on_upButton_clicked" ID="ToolGroupConfigurationDialog.on_upButton_clicked"></a> |
220 </p> |
|
221 <a NAME="ToolGroupConfigurationDialog.on_upButton_clicked" ID="ToolGroupConfigurationDialog.on_upButton_clicked"></a> |
171 <h4>ToolGroupConfigurationDialog.on_upButton_clicked</h4> |
222 <h4>ToolGroupConfigurationDialog.on_upButton_clicked</h4> |
172 <b>on_upButton_clicked</b>(<i></i>) |
223 <b>on_upButton_clicked</b>(<i></i>) |
|
224 |
173 <p> |
225 <p> |
174 Private slot to move an entry up in the list. |
226 Private slot to move an entry up in the list. |
175 </p> |
227 </p> |
176 <div align="right"><a href="#top">Up</a></div> |
228 <div align="right"><a href="#top">Up</a></div> |
177 <hr /> |
229 <hr /> |