I want to make QWebView
widget have borders in my layout and UI when running, similar to QTableView
. Now it looks borderless and hidden.
Is it even possible?
I want to make QWebView
widget have borders in my layout and UI when running, similar to QTableView
. Now it looks borderless and hidden.
Is it even possible?
It's not possible to set border to QWebView. Instead you can place your QWebView inside another QWidget and set it's border. See example below (QtDesigner):
Widgets hierarchy:
Look inside QtDesigner:
StyleSheet for QFrame:
QFrame
{
border: 1px solid black;
background: white;
}