I need to enable scrollbar in a widget qwebview
, and put the automatic scrolling, but I did not find any information on how to do this in python.
I tried to do this:
self.qwebview.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn)
But it did not work
I tried this way:
self.qwebview.page().mainFrame().setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn)
It did not work ..
Where do I use this setVerticalScrollBarPolicy
? And how do I make the vertical bar appear?