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

Support enabling/disabling keyboard search in views

    XMLWordPrintable

Details

    Description

      Curently, QAbstractItemView's keyboard search feature is enabled by default, with no option to disable it apart from subclassing the view and reimplement keyboardSearch() to do nothing.

      This is a problem, for example if a view has AllEditTriggers, but not all items are editable. If a non-editable cell is current, and the user presses a key, the keyboard search is initiated, which may make an editable item current, and a subsequent key press starts editing the item.

      It would be nice if Qt supported setting whether keyboard searching should be enabled or not.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes