Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/itemviews/qabstractitemdelegate.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    292292
    293293/*!
    294     Whenever an event occurs, this function is called with the \a event
    295     \a model \a option and the \a index that corresponds to the item being edited.
     294    When editing of an item starts, this function is called with the
     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.
    296302
    297303    The base implementation returns false (indicating that it has not
Note: See TracChangeset for help on using the changeset viewer.