Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Hide vertical scrollbar in Qwebview
QtWS25 Last Chance

Hide vertical scrollbar in Qwebview

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 5.2k 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.
  • D Offline
    D Offline
    david76
    wrote on last edited by
    #1

    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
    0
    • M Offline
      M Offline
      mbnoimi
      wrote on last edited by
      #2

      [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
      0

      • Login

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