Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2648

Allow cancelling the close of editor in itemDelegate

    XMLWordPrintable

Details

    Description

      Sometimes the user don't really want to close/destroy the editor when the focus is moved out. For example the user may want to check the validity of input before closing the editor. So it would be helpful to make a virtual slot in the view (or delegate item) to allow user to grab the pointer to the editor and return a value to indicate whether he really want to close the editor.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            z35liu Zheng Liu (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes