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

Missing high-level event handling for text editing and navigation events

    XMLWordPrintable

Details

    Description

      Many text-editing operations can be performed in multiple ways, for instance selecting text (both keyboard and mouse events trigger this).

      However, there is no virtual interface at all to handle all these user interactions, no matter where they come from (i.e. reimplementing key-event handling is not sufficient in the example above), which makes it very errorprone and difficult to do (one practically has to read qtextedit.cpp to see what is done when).

      A high-level, text editing-specific QEvent type would solve this problem. This could also be done for QLineEdit.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes