How to enable vertical scrollbar in qwebview in python?

0

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?

    
asked by anonymous 05.01.2016 / 17:30

0 answers