Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Can we disable autoscroll property of QTextedit?

    General and Desktop
    2
    2
    6854
    Loading More Posts
    • 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.
    • P
      pratik041 last edited by

      In some cases i don't want the auto scroll property of QTextedit.

      Pratik Agrawal

      1 Reply Last reply Reply Quote 0
      • J
        Jake007 last edited by

        This is one of the options:

        @
        QScrollBar *sb = textEdit->verticalScrollBar();
        sb->setValue(sb->minimum());
        @

        But I doubt it's the best option.
        I'm also looking for a similar one, only that I want auto scroll alway on ;).


        Code is poetry

        1 Reply Last reply Reply Quote 0
        • First post
          Last post