equal
deleted
inserted
replaced
289 { |
289 { |
290 // do nothing |
290 // do nothing |
291 } |
291 } |
292 |
292 |
293 /*! |
293 /*! |
294 Whenever an event occurs, this function is called with the \a event |
294 When editing of an item starts, this function is called with the |
295 \a model \a option and the \a index that corresponds to the item being edited. |
295 \a event that triggered the editing, the \a model, the \a index of |
|
296 the item, and the \a option used for rendering the item. |
|
297 |
|
298 Mouse events are sent to editorEvent() even if they don't start |
|
299 editing of the item. This can, for instance, be useful if you wish |
|
300 to open a context menu when the right mouse button is pressed on |
|
301 an item. |
296 |
302 |
297 The base implementation returns false (indicating that it has not |
303 The base implementation returns false (indicating that it has not |
298 handled the event). |
304 handled the event). |
299 */ |
305 */ |
300 bool QAbstractItemDelegate::editorEvent(QEvent *, |
306 bool QAbstractItemDelegate::editorEvent(QEvent *, |