PyQt5中QWebEngineView隐藏ScrollBar滑动条
程序员文章站
2024-02-24 14:35:34
...
QWebEngineView隐藏ScrollBar滑动条
QWebEngineView的设置需要使用QWebEngineSettings来设置
官网说明:QWebEngineSettings
具体PyQt5里的设置为:
self.project_pie_browser=QWebEngineView()
self.project_pie_browser.settings().setAttribute(QWebEngineSettings.WebAttribute.ShowScrollBars,False)
上一篇: 几则JSP入门知识总结