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

QTextEdit text interaction flags are not obeyed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.3.2
    • Other
    • None

    Description

      Consider the following example:

      QTextEdit e("foobar", 0);
      e.setTextInteractionFlags(Qt::TextEditable);

      The expected result is a text editor in which it is possible to edit the text, but not select and copy text with either mouse or keyboard.

      The actual result is that it is possible to select the text with the mouse (but not with the keyboard) and it is possible to copy the text with both the context menu and keyboard shortcuts.

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes