Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Overwritemode don't work in QTextEdit / QTextBrowser
Forum Update on Monday, May 27th 2025

Overwritemode don't work in QTextEdit / QTextBrowser

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 295 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
    seediq
    wrote on last edited by
    #1

    Hello, i'm currentlly using the PySide2 package. And found that the overwritemode won't work in my Code. Here is what I wrote:0_1549357324251_code.PNG
    I used Qt-Creator to design my GUI and my settings for the QTextBrowser looks like that:
    0_1549357765950_settings.PNG
    menu1, menu2, menu3 are just three PushButtons, I clicked them one by one and got the following output:
    0_1549357465531_output.PNG
    And print output is True. The old text is not replaced.

    I am new to Qt and can anyone please help me out? What am I missing?

    1 Reply Last reply
    0

    • Login

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