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. How to setPlainText() without emit textChanged(), QPlainTextEdit
Forum Updated to NodeBB v4.3 + New Features

How to setPlainText() without emit textChanged(), QPlainTextEdit

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.4k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MaQzma
    wrote on last edited by
    #1

    Hi,

    Is there any way to call "QPlainTextEdit::setPlainText()":http://doc.qt.nokia.com/4.7-snapshot/qplaintextedit.html#plainText-prop without emit "QPlainTextEdit::textchanged()":http://doc.qt.nokia.com/4.7-snapshot/qplaintextedit.html#textChanged signal?

    I just want that textChanged() signal will be emited only when the user changes the text, not when I use setText(), clear(),...

    Thx.

    Mario.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      bool QObject::blockSignals ( bool block )

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MaQzma
        wrote on last edited by
        #3

        Thx! :)

        Mario.

        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