eric6/Documentation/Source/eric6.Preferences.ShortcutsDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7900
72b88fb20261
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.ShortcutsDialog</h1> 23 <h1>eric6.Preferences.ShortcutsDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog for the configuration of eric6's keyboard 26 Module implementing a dialog for the configuration of eric6's keyboard
25 shortcuts. 27 shortcuts.
26 </p> 28 </p>
27 <h3>Global Attributes</h3> 29 <h3>Global Attributes</h3>
30
28 <table> 31 <table>
29 <tr><td>None</td></tr> 32 <tr><td>None</td></tr>
30 </table> 33 </table>
31 <h3>Classes</h3> 34 <h3>Classes</h3>
32 <table> 35
36 <table>
37
33 <tr> 38 <tr>
34 <td><a href="#ShortcutsDialog">ShortcutsDialog</a></td> 39 <td><a href="#ShortcutsDialog">ShortcutsDialog</a></td>
35 <td>Class implementing a dialog for the configuration of eric6's keyboard shortcuts.</td> 40 <td>Class implementing a dialog for the configuration of eric6's keyboard shortcuts.</td>
36 </tr> 41 </tr>
37 </table> 42 </table>
38 <h3>Functions</h3> 43 <h3>Functions</h3>
44
39 <table> 45 <table>
40 <tr><td>None</td></tr> 46 <tr><td>None</td></tr>
41 </table> 47 </table>
42 <hr /><hr /> 48 <hr />
49 <hr />
43 <a NAME="ShortcutsDialog" ID="ShortcutsDialog"></a> 50 <a NAME="ShortcutsDialog" ID="ShortcutsDialog"></a>
44 <h2>ShortcutsDialog</h2> 51 <h2>ShortcutsDialog</h2>
52
45 <p> 53 <p>
46 Class implementing a dialog for the configuration of eric6's keyboard 54 Class implementing a dialog for the configuration of eric6's keyboard
47 shortcuts. 55 shortcuts.
48 </p><h3>Signals</h3> 56 </p>
49 <dl> 57 <h3>Signals</h3>
58 <dl>
59
50 <dt>updateShortcuts()</dt> 60 <dt>updateShortcuts()</dt>
51 <dd> 61 <dd>
52 emitted when the user pressed the dialogs OK 62 emitted when the user pressed the dialogs OK
53 button 63 button
54 </dd> 64 </dd>
55 </dl> 65 </dl>
56 <h3>Derived from</h3> 66 <h3>Derived from</h3>
57 QDialog, Ui_ShortcutsDialog 67 QDialog, Ui_ShortcutsDialog
58 <h3>Class Attributes</h3> 68 <h3>Class Attributes</h3>
69
59 <table> 70 <table>
60 <tr><td>noCheckRole</td></tr><tr><td>objectNameRole</td></tr><tr><td>objectTypeRole</td></tr> 71 <tr><td>noCheckRole</td></tr><tr><td>objectNameRole</td></tr><tr><td>objectTypeRole</td></tr>
61 </table> 72 </table>
62 <h3>Class Methods</h3> 73 <h3>Class Methods</h3>
74
63 <table> 75 <table>
64 <tr><td>None</td></tr> 76 <tr><td>None</td></tr>
65 </table> 77 </table>
66 <h3>Methods</h3> 78 <h3>Methods</h3>
67 <table> 79
80 <table>
81
68 <tr> 82 <tr>
69 <td><a href="#ShortcutsDialog.__init__">ShortcutsDialog</a></td> 83 <td><a href="#ShortcutsDialog.__init__">ShortcutsDialog</a></td>
70 <td>Constructor</td> 84 <td>Constructor</td>
71 </tr><tr> 85 </tr>
86 <tr>
72 <td><a href="#ShortcutsDialog.__checkShortcut">__checkShortcut</a></td> 87 <td><a href="#ShortcutsDialog.__checkShortcut">__checkShortcut</a></td>
73 <td>Private method to check a keysequence for uniqueness.</td> 88 <td>Private method to check a keysequence for uniqueness.</td>
74 </tr><tr> 89 </tr>
90 <tr>
75 <td><a href="#ShortcutsDialog.__generateCategoryItem">__generateCategoryItem</a></td> 91 <td><a href="#ShortcutsDialog.__generateCategoryItem">__generateCategoryItem</a></td>
76 <td>Private method to generate a category item.</td> 92 <td>Private method to generate a category item.</td>
77 </tr><tr> 93 </tr>
94 <tr>
78 <td><a href="#ShortcutsDialog.__generateShortcutItem">__generateShortcutItem</a></td> 95 <td><a href="#ShortcutsDialog.__generateShortcutItem">__generateShortcutItem</a></td>
79 <td>Private method to generate a keyboard shortcut item.</td> 96 <td>Private method to generate a keyboard shortcut item.</td>
80 </tr><tr> 97 </tr>
98 <tr>
81 <td><a href="#ShortcutsDialog.__resizeColumns">__resizeColumns</a></td> 99 <td><a href="#ShortcutsDialog.__resizeColumns">__resizeColumns</a></td>
82 <td>Private method to resize the list columns.</td> 100 <td>Private method to resize the list columns.</td>
83 </tr><tr> 101 </tr>
102 <tr>
84 <td><a href="#ShortcutsDialog.__resort">__resort</a></td> 103 <td><a href="#ShortcutsDialog.__resort">__resort</a></td>
85 <td>Private method to resort the tree.</td> 104 <td>Private method to resort the tree.</td>
86 </tr><tr> 105 </tr>
106 <tr>
87 <td><a href="#ShortcutsDialog.__saveCategoryActions">__saveCategoryActions</a></td> 107 <td><a href="#ShortcutsDialog.__saveCategoryActions">__saveCategoryActions</a></td>
88 <td>Private method to save the actions for a category.</td> 108 <td>Private method to save the actions for a category.</td>
89 </tr><tr> 109 </tr>
110 <tr>
90 <td><a href="#ShortcutsDialog.__shortcutChanged">__shortcutChanged</a></td> 111 <td><a href="#ShortcutsDialog.__shortcutChanged">__shortcutChanged</a></td>
91 <td>Private slot to handle the shortcutChanged signal of the shortcut dialog.</td> 112 <td>Private slot to handle the shortcutChanged signal of the shortcut dialog.</td>
92 </tr><tr> 113 </tr>
114 <tr>
93 <td><a href="#ShortcutsDialog.on_actionButton_toggled">on_actionButton_toggled</a></td> 115 <td><a href="#ShortcutsDialog.on_actionButton_toggled">on_actionButton_toggled</a></td>
94 <td>Private slot called, when the action radio button is toggled.</td> 116 <td>Private slot called, when the action radio button is toggled.</td>
95 </tr><tr> 117 </tr>
118 <tr>
96 <td><a href="#ShortcutsDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> 119 <td><a href="#ShortcutsDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
97 <td>Private slot to handle the OK button press.</td> 120 <td>Private slot to handle the OK button press.</td>
98 </tr><tr> 121 </tr>
122 <tr>
99 <td><a href="#ShortcutsDialog.on_searchEdit_textChanged">on_searchEdit_textChanged</a></td> 123 <td><a href="#ShortcutsDialog.on_searchEdit_textChanged">on_searchEdit_textChanged</a></td>
100 <td>Private slot called, when the text in the search edit changes.</td> 124 <td>Private slot called, when the text in the search edit changes.</td>
101 </tr><tr> 125 </tr>
126 <tr>
102 <td><a href="#ShortcutsDialog.on_shortcutButton_toggled">on_shortcutButton_toggled</a></td> 127 <td><a href="#ShortcutsDialog.on_shortcutButton_toggled">on_shortcutButton_toggled</a></td>
103 <td>Private slot called, when the shortcuts radio button is toggled.</td> 128 <td>Private slot called, when the shortcuts radio button is toggled.</td>
104 </tr><tr> 129 </tr>
130 <tr>
105 <td><a href="#ShortcutsDialog.on_shortcutsList_itemChanged">on_shortcutsList_itemChanged</a></td> 131 <td><a href="#ShortcutsDialog.on_shortcutsList_itemChanged">on_shortcutsList_itemChanged</a></td>
106 <td>Private slot to handle the edit of a shortcut key.</td> 132 <td>Private slot to handle the edit of a shortcut key.</td>
107 </tr><tr> 133 </tr>
134 <tr>
108 <td><a href="#ShortcutsDialog.on_shortcutsList_itemClicked">on_shortcutsList_itemClicked</a></td> 135 <td><a href="#ShortcutsDialog.on_shortcutsList_itemClicked">on_shortcutsList_itemClicked</a></td>
109 <td>Private slot to handle a click in the shortcuts list.</td> 136 <td>Private slot to handle a click in the shortcuts list.</td>
110 </tr><tr> 137 </tr>
138 <tr>
111 <td><a href="#ShortcutsDialog.on_shortcutsList_itemDoubleClicked">on_shortcutsList_itemDoubleClicked</a></td> 139 <td><a href="#ShortcutsDialog.on_shortcutsList_itemDoubleClicked">on_shortcutsList_itemDoubleClicked</a></td>
112 <td>Private slot to handle a double click in the shortcuts list.</td> 140 <td>Private slot to handle a double click in the shortcuts list.</td>
113 </tr><tr> 141 </tr>
142 <tr>
114 <td><a href="#ShortcutsDialog.populate">populate</a></td> 143 <td><a href="#ShortcutsDialog.populate">populate</a></td>
115 <td>Public method to populate the dialog.</td> 144 <td>Public method to populate the dialog.</td>
116 </tr> 145 </tr>
117 </table> 146 </table>
118 <h3>Static Methods</h3> 147 <h3>Static Methods</h3>
148
119 <table> 149 <table>
120 <tr><td>None</td></tr> 150 <tr><td>None</td></tr>
121 </table> 151 </table>
152
122 <a NAME="ShortcutsDialog.__init__" ID="ShortcutsDialog.__init__"></a> 153 <a NAME="ShortcutsDialog.__init__" ID="ShortcutsDialog.__init__"></a>
123 <h4>ShortcutsDialog (Constructor)</h4> 154 <h4>ShortcutsDialog (Constructor)</h4>
124 <b>ShortcutsDialog</b>(<i>parent=None</i>) 155 <b>ShortcutsDialog</b>(<i>parent=None</i>)
156
125 <p> 157 <p>
126 Constructor 158 Constructor
127 </p><dl> 159 </p>
160 <dl>
161
128 <dt><i>parent</i> (QWidget)</dt> 162 <dt><i>parent</i> (QWidget)</dt>
129 <dd> 163 <dd>
130 parent widget of this dialog 164 parent widget of this dialog
131 </dd> 165 </dd>
132 </dl><a NAME="ShortcutsDialog.__checkShortcut" ID="ShortcutsDialog.__checkShortcut"></a> 166 </dl>
167 <a NAME="ShortcutsDialog.__checkShortcut" ID="ShortcutsDialog.__checkShortcut"></a>
133 <h4>ShortcutsDialog.__checkShortcut</h4> 168 <h4>ShortcutsDialog.__checkShortcut</h4>
134 <b>__checkShortcut</b>(<i>keysequence, objectType, origTopItem</i>) 169 <b>__checkShortcut</b>(<i>keysequence, objectType, origTopItem</i>)
170
135 <p> 171 <p>
136 Private method to check a keysequence for uniqueness. 172 Private method to check a keysequence for uniqueness.
137 </p><dl> 173 </p>
174 <dl>
175
138 <dt><i>keysequence</i></dt> 176 <dt><i>keysequence</i></dt>
139 <dd> 177 <dd>
140 the keysequence to check (QKeySequence) 178 the keysequence to check (QKeySequence)
141 </dd><dt><i>objectType</i></dt> 179 </dd>
180 <dt><i>objectType</i></dt>
142 <dd> 181 <dd>
143 type of the object (string). Entries with the same 182 type of the object (string). Entries with the same
144 object type are not checked for uniqueness. 183 object type are not checked for uniqueness.
145 </dd><dt><i>origTopItem</i></dt> 184 </dd>
185 <dt><i>origTopItem</i></dt>
146 <dd> 186 <dd>
147 refrence to the parent of the item to be checked 187 refrence to the parent of the item to be checked
148 (QTreeWidgetItem) 188 (QTreeWidgetItem)
149 </dd> 189 </dd>
150 </dl><dl> 190 </dl>
191 <dl>
151 <dt>Returns:</dt> 192 <dt>Returns:</dt>
152 <dd> 193 <dd>
153 flag indicating uniqueness (boolean) 194 flag indicating uniqueness (boolean)
154 </dd> 195 </dd>
155 </dl><a NAME="ShortcutsDialog.__generateCategoryItem" ID="ShortcutsDialog.__generateCategoryItem"></a> 196 </dl>
197 <a NAME="ShortcutsDialog.__generateCategoryItem" ID="ShortcutsDialog.__generateCategoryItem"></a>
156 <h4>ShortcutsDialog.__generateCategoryItem</h4> 198 <h4>ShortcutsDialog.__generateCategoryItem</h4>
157 <b>__generateCategoryItem</b>(<i>title</i>) 199 <b>__generateCategoryItem</b>(<i>title</i>)
200
158 <p> 201 <p>
159 Private method to generate a category item. 202 Private method to generate a category item.
160 </p><dl> 203 </p>
204 <dl>
205
161 <dt><i>title</i></dt> 206 <dt><i>title</i></dt>
162 <dd> 207 <dd>
163 title for the item (string) 208 title for the item (string)
164 </dd> 209 </dd>
165 </dl><dl> 210 </dl>
211 <dl>
166 <dt>Returns:</dt> 212 <dt>Returns:</dt>
167 <dd> 213 <dd>
168 reference to the category item (QTreeWidgetItem) 214 reference to the category item (QTreeWidgetItem)
169 </dd> 215 </dd>
170 </dl><a NAME="ShortcutsDialog.__generateShortcutItem" ID="ShortcutsDialog.__generateShortcutItem"></a> 216 </dl>
217 <a NAME="ShortcutsDialog.__generateShortcutItem" ID="ShortcutsDialog.__generateShortcutItem"></a>
171 <h4>ShortcutsDialog.__generateShortcutItem</h4> 218 <h4>ShortcutsDialog.__generateShortcutItem</h4>
172 <b>__generateShortcutItem</b>(<i>category, action, noCheck=False, objectType=""</i>) 219 <b>__generateShortcutItem</b>(<i>category, action, noCheck=False, objectType=""</i>)
220
173 <p> 221 <p>
174 Private method to generate a keyboard shortcut item. 222 Private method to generate a keyboard shortcut item.
175 </p><dl> 223 </p>
224 <dl>
225
176 <dt><i>category</i></dt> 226 <dt><i>category</i></dt>
177 <dd> 227 <dd>
178 reference to the category item (QTreeWidgetItem) 228 reference to the category item (QTreeWidgetItem)
179 </dd><dt><i>action</i></dt> 229 </dd>
230 <dt><i>action</i></dt>
180 <dd> 231 <dd>
181 reference to the keyboard action (E5Action) 232 reference to the keyboard action (E5Action)
182 </dd><dt><i>noCheck=</i></dt> 233 </dd>
234 <dt><i>noCheck=</i></dt>
183 <dd> 235 <dd>
184 flag indicating that no uniqueness check should 236 flag indicating that no uniqueness check should
185 be performed (boolean) 237 be performed (boolean)
186 </dd><dt><i>objectType=</i></dt> 238 </dd>
239 <dt><i>objectType=</i></dt>
187 <dd> 240 <dd>
188 type of the object (string). Objects of the same 241 type of the object (string). Objects of the same
189 type are not checked for duplicate shortcuts. 242 type are not checked for duplicate shortcuts.
190 </dd> 243 </dd>
191 </dl><a NAME="ShortcutsDialog.__resizeColumns" ID="ShortcutsDialog.__resizeColumns"></a> 244 </dl>
245 <a NAME="ShortcutsDialog.__resizeColumns" ID="ShortcutsDialog.__resizeColumns"></a>
192 <h4>ShortcutsDialog.__resizeColumns</h4> 246 <h4>ShortcutsDialog.__resizeColumns</h4>
193 <b>__resizeColumns</b>(<i></i>) 247 <b>__resizeColumns</b>(<i></i>)
248
194 <p> 249 <p>
195 Private method to resize the list columns. 250 Private method to resize the list columns.
196 </p><a NAME="ShortcutsDialog.__resort" ID="ShortcutsDialog.__resort"></a> 251 </p>
252 <a NAME="ShortcutsDialog.__resort" ID="ShortcutsDialog.__resort"></a>
197 <h4>ShortcutsDialog.__resort</h4> 253 <h4>ShortcutsDialog.__resort</h4>
198 <b>__resort</b>(<i></i>) 254 <b>__resort</b>(<i></i>)
255
199 <p> 256 <p>
200 Private method to resort the tree. 257 Private method to resort the tree.
201 </p><a NAME="ShortcutsDialog.__saveCategoryActions" ID="ShortcutsDialog.__saveCategoryActions"></a> 258 </p>
259 <a NAME="ShortcutsDialog.__saveCategoryActions" ID="ShortcutsDialog.__saveCategoryActions"></a>
202 <h4>ShortcutsDialog.__saveCategoryActions</h4> 260 <h4>ShortcutsDialog.__saveCategoryActions</h4>
203 <b>__saveCategoryActions</b>(<i>category, actions</i>) 261 <b>__saveCategoryActions</b>(<i>category, actions</i>)
262
204 <p> 263 <p>
205 Private method to save the actions for a category. 264 Private method to save the actions for a category.
206 </p><dl> 265 </p>
266 <dl>
267
207 <dt><i>category</i></dt> 268 <dt><i>category</i></dt>
208 <dd> 269 <dd>
209 reference to the category item (QTreeWidgetItem) 270 reference to the category item (QTreeWidgetItem)
210 </dd><dt><i>actions</i></dt> 271 </dd>
272 <dt><i>actions</i></dt>
211 <dd> 273 <dd>
212 list of actions for the category (list of E5Action) 274 list of actions for the category (list of E5Action)
213 </dd> 275 </dd>
214 </dl><a NAME="ShortcutsDialog.__shortcutChanged" ID="ShortcutsDialog.__shortcutChanged"></a> 276 </dl>
277 <a NAME="ShortcutsDialog.__shortcutChanged" ID="ShortcutsDialog.__shortcutChanged"></a>
215 <h4>ShortcutsDialog.__shortcutChanged</h4> 278 <h4>ShortcutsDialog.__shortcutChanged</h4>
216 <b>__shortcutChanged</b>(<i>keysequence, altKeysequence, noCheck, objectType</i>) 279 <b>__shortcutChanged</b>(<i>keysequence, altKeysequence, noCheck, objectType</i>)
280
217 <p> 281 <p>
218 Private slot to handle the shortcutChanged signal of the shortcut 282 Private slot to handle the shortcutChanged signal of the shortcut
219 dialog. 283 dialog.
220 </p><dl> 284 </p>
285 <dl>
286
221 <dt><i>keysequence</i></dt> 287 <dt><i>keysequence</i></dt>
222 <dd> 288 <dd>
223 the keysequence of the changed action (QKeySequence) 289 the keysequence of the changed action (QKeySequence)
224 </dd><dt><i>altKeysequence</i></dt> 290 </dd>
291 <dt><i>altKeysequence</i></dt>
225 <dd> 292 <dd>
226 the alternative keysequence of the changed 293 the alternative keysequence of the changed
227 action (QKeySequence) 294 action (QKeySequence)
228 </dd><dt><i>noCheck</i></dt> 295 </dd>
296 <dt><i>noCheck</i></dt>
229 <dd> 297 <dd>
230 flag indicating that no uniqueness check should 298 flag indicating that no uniqueness check should
231 be performed (boolean) 299 be performed (boolean)
232 </dd><dt><i>objectType</i></dt> 300 </dd>
301 <dt><i>objectType</i></dt>
233 <dd> 302 <dd>
234 type of the object (string). 303 type of the object (string).
235 </dd> 304 </dd>
236 </dl><a NAME="ShortcutsDialog.on_actionButton_toggled" ID="ShortcutsDialog.on_actionButton_toggled"></a> 305 </dl>
306 <a NAME="ShortcutsDialog.on_actionButton_toggled" ID="ShortcutsDialog.on_actionButton_toggled"></a>
237 <h4>ShortcutsDialog.on_actionButton_toggled</h4> 307 <h4>ShortcutsDialog.on_actionButton_toggled</h4>
238 <b>on_actionButton_toggled</b>(<i>checked</i>) 308 <b>on_actionButton_toggled</b>(<i>checked</i>)
309
239 <p> 310 <p>
240 Private slot called, when the action radio button is toggled. 311 Private slot called, when the action radio button is toggled.
241 </p><dl> 312 </p>
313 <dl>
314
242 <dt><i>checked</i></dt> 315 <dt><i>checked</i></dt>
243 <dd> 316 <dd>
244 state of the action radio button (boolean) 317 state of the action radio button (boolean)
245 </dd> 318 </dd>
246 </dl><a NAME="ShortcutsDialog.on_buttonBox_accepted" ID="ShortcutsDialog.on_buttonBox_accepted"></a> 319 </dl>
320 <a NAME="ShortcutsDialog.on_buttonBox_accepted" ID="ShortcutsDialog.on_buttonBox_accepted"></a>
247 <h4>ShortcutsDialog.on_buttonBox_accepted</h4> 321 <h4>ShortcutsDialog.on_buttonBox_accepted</h4>
248 <b>on_buttonBox_accepted</b>(<i></i>) 322 <b>on_buttonBox_accepted</b>(<i></i>)
323
249 <p> 324 <p>
250 Private slot to handle the OK button press. 325 Private slot to handle the OK button press.
251 </p><a NAME="ShortcutsDialog.on_searchEdit_textChanged" ID="ShortcutsDialog.on_searchEdit_textChanged"></a> 326 </p>
327 <a NAME="ShortcutsDialog.on_searchEdit_textChanged" ID="ShortcutsDialog.on_searchEdit_textChanged"></a>
252 <h4>ShortcutsDialog.on_searchEdit_textChanged</h4> 328 <h4>ShortcutsDialog.on_searchEdit_textChanged</h4>
253 <b>on_searchEdit_textChanged</b>(<i>txt</i>) 329 <b>on_searchEdit_textChanged</b>(<i>txt</i>)
330
254 <p> 331 <p>
255 Private slot called, when the text in the search edit changes. 332 Private slot called, when the text in the search edit changes.
256 </p><dl> 333 </p>
334 <dl>
335
257 <dt><i>txt</i></dt> 336 <dt><i>txt</i></dt>
258 <dd> 337 <dd>
259 text of the search edit (string) 338 text of the search edit (string)
260 </dd> 339 </dd>
261 </dl><a NAME="ShortcutsDialog.on_shortcutButton_toggled" ID="ShortcutsDialog.on_shortcutButton_toggled"></a> 340 </dl>
341 <a NAME="ShortcutsDialog.on_shortcutButton_toggled" ID="ShortcutsDialog.on_shortcutButton_toggled"></a>
262 <h4>ShortcutsDialog.on_shortcutButton_toggled</h4> 342 <h4>ShortcutsDialog.on_shortcutButton_toggled</h4>
263 <b>on_shortcutButton_toggled</b>(<i>checked</i>) 343 <b>on_shortcutButton_toggled</b>(<i>checked</i>)
344
264 <p> 345 <p>
265 Private slot called, when the shortcuts radio button is toggled. 346 Private slot called, when the shortcuts radio button is toggled.
266 </p><dl> 347 </p>
348 <dl>
349
267 <dt><i>checked</i></dt> 350 <dt><i>checked</i></dt>
268 <dd> 351 <dd>
269 state of the shortcuts radio button (boolean) 352 state of the shortcuts radio button (boolean)
270 </dd> 353 </dd>
271 </dl><a NAME="ShortcutsDialog.on_shortcutsList_itemChanged" ID="ShortcutsDialog.on_shortcutsList_itemChanged"></a> 354 </dl>
355 <a NAME="ShortcutsDialog.on_shortcutsList_itemChanged" ID="ShortcutsDialog.on_shortcutsList_itemChanged"></a>
272 <h4>ShortcutsDialog.on_shortcutsList_itemChanged</h4> 356 <h4>ShortcutsDialog.on_shortcutsList_itemChanged</h4>
273 <b>on_shortcutsList_itemChanged</b>(<i>itm, column</i>) 357 <b>on_shortcutsList_itemChanged</b>(<i>itm, column</i>)
358
274 <p> 359 <p>
275 Private slot to handle the edit of a shortcut key. 360 Private slot to handle the edit of a shortcut key.
276 </p><dl> 361 </p>
362 <dl>
363
277 <dt><i>itm</i></dt> 364 <dt><i>itm</i></dt>
278 <dd> 365 <dd>
279 reference to the item changed (QTreeWidgetItem) 366 reference to the item changed (QTreeWidgetItem)
280 </dd><dt><i>column</i></dt> 367 </dd>
368 <dt><i>column</i></dt>
281 <dd> 369 <dd>
282 column changed (integer) 370 column changed (integer)
283 </dd> 371 </dd>
284 </dl><a NAME="ShortcutsDialog.on_shortcutsList_itemClicked" ID="ShortcutsDialog.on_shortcutsList_itemClicked"></a> 372 </dl>
373 <a NAME="ShortcutsDialog.on_shortcutsList_itemClicked" ID="ShortcutsDialog.on_shortcutsList_itemClicked"></a>
285 <h4>ShortcutsDialog.on_shortcutsList_itemClicked</h4> 374 <h4>ShortcutsDialog.on_shortcutsList_itemClicked</h4>
286 <b>on_shortcutsList_itemClicked</b>(<i>itm, column</i>) 375 <b>on_shortcutsList_itemClicked</b>(<i>itm, column</i>)
376
287 <p> 377 <p>
288 Private slot to handle a click in the shortcuts list. 378 Private slot to handle a click in the shortcuts list.
289 </p><dl> 379 </p>
380 <dl>
381
290 <dt><i>itm</i></dt> 382 <dt><i>itm</i></dt>
291 <dd> 383 <dd>
292 the list item that was clicked (QTreeWidgetItem) 384 the list item that was clicked (QTreeWidgetItem)
293 </dd><dt><i>column</i></dt> 385 </dd>
386 <dt><i>column</i></dt>
294 <dd> 387 <dd>
295 the list item was clicked in (integer) 388 the list item was clicked in (integer)
296 </dd> 389 </dd>
297 </dl><a NAME="ShortcutsDialog.on_shortcutsList_itemDoubleClicked" ID="ShortcutsDialog.on_shortcutsList_itemDoubleClicked"></a> 390 </dl>
391 <a NAME="ShortcutsDialog.on_shortcutsList_itemDoubleClicked" ID="ShortcutsDialog.on_shortcutsList_itemDoubleClicked"></a>
298 <h4>ShortcutsDialog.on_shortcutsList_itemDoubleClicked</h4> 392 <h4>ShortcutsDialog.on_shortcutsList_itemDoubleClicked</h4>
299 <b>on_shortcutsList_itemDoubleClicked</b>(<i>itm, column</i>) 393 <b>on_shortcutsList_itemDoubleClicked</b>(<i>itm, column</i>)
394
300 <p> 395 <p>
301 Private slot to handle a double click in the shortcuts list. 396 Private slot to handle a double click in the shortcuts list.
302 </p><dl> 397 </p>
398 <dl>
399
303 <dt><i>itm</i></dt> 400 <dt><i>itm</i></dt>
304 <dd> 401 <dd>
305 the list item that was double clicked (QTreeWidgetItem) 402 the list item that was double clicked (QTreeWidgetItem)
306 </dd><dt><i>column</i></dt> 403 </dd>
404 <dt><i>column</i></dt>
307 <dd> 405 <dd>
308 the list item was double clicked in (integer) 406 the list item was double clicked in (integer)
309 </dd> 407 </dd>
310 </dl><a NAME="ShortcutsDialog.populate" ID="ShortcutsDialog.populate"></a> 408 </dl>
409 <a NAME="ShortcutsDialog.populate" ID="ShortcutsDialog.populate"></a>
311 <h4>ShortcutsDialog.populate</h4> 410 <h4>ShortcutsDialog.populate</h4>
312 <b>populate</b>(<i>helpViewer=None</i>) 411 <b>populate</b>(<i>helpViewer=None</i>)
412
313 <p> 413 <p>
314 Public method to populate the dialog. 414 Public method to populate the dialog.
315 </p><dl> 415 </p>
416 <dl>
417
316 <dt><i>helpViewer</i></dt> 418 <dt><i>helpViewer</i></dt>
317 <dd> 419 <dd>
318 reference to the help window object 420 reference to the help window object
319 </dd> 421 </dd>
320 </dl> 422 </dl>

eric ide

mercurial