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

QPlainTextEdit: TextInteractionFlag not applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.2
    • GUI: Text handling
    • None
    • Debian GNU/Linux squeeze, gcc 4.4.3

    Description

      I wrote a small test program:

      #include <QApplication>
      #include <QPlainTextEdit>
      
      int main(int argc, char ** argv)
      {
      	QApplication app( argc, argv );
      	QPlainTextEdit p;
      	p.setPlainText("any text");
      	p.setTextInteractionFlags(Qt::TextEditable);
      	p.show();
      	return app.exec();
      }
      

      With flag Qt::TextEditable i can select text by mouse. But I did not set the flag Qt::TextSelectableByMouse! Perhaps this flag is not resetted.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            laborer Sergey Gusarov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes