Qt Forum

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

    Hide vertical scrollbar in Qwebview

    Qt WebKit
    2
    2
    4964
    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.
    • D
      david76 last edited by

      Hi,
      How to hide the vertical scrollbar in Qwebview. I try this method
      @
      page()->mainFrame()->setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff). @

      it switches off the vertical scroll bar. But i am not able to scroll page by page using the page down key. I need to just hide the scroll bar and move to the next page using the page down key.

      [edit: added @-code tags,please use them for code, Eddy]

      1 Reply Last reply Reply Quote 0
      • M
        mbnoimi last edited by

        [quote author="david76" date="1331287059"]I need to just hide the scroll bar[/quote]

        May "this trick":https://qt-project.org/forums/viewreply/78218/ fixes hiding issue

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