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

eric ide

mercurial