Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPlainTextEdit / QTextEdit question
Qt 6.11 is out! See what's new in the release blog

QPlainTextEdit / QTextEdit question

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 274 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    s002wjh
    wrote on last edited by
    #1

    how do i set QPlainTextEdit so only my C++ code can write to it. doesn't allow user keyboard input, but allow C++ settext options.

    JonBJ 1 Reply Last reply
    0
    • S s002wjh

      how do i set QPlainTextEdit so only my C++ code can write to it. doesn't allow user keyboard input, but allow C++ settext options.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @s002wjh
      http://doc.qt.io/qt-5/qwidget.html#enabled-prop
      http://doc.qt.io/qt-5/qplaintextedit.html#readOnly-prop

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved