есть QWebView, в него загружается html:
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>C/C++ Application Wizard</title>
</head>
<body bgcolor="ButtonFace">
<table>
<tr>
<tr>Welcome to the C/C++ Application Wizard</tr>
</tr>
<tr>
<td>
<hr>
<table>
<tr>
<td>
Application type:
<br>
<input type="Radio" name="APP_TYPE">Console Application</input>
<br>
<input type="Radio" name="APP_TYPE">Shared Library</input>
<br>
<input type="Radio" name="APP_TYPE">Static Library</input>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right">
<hr>
<button OnClick="finish()">Finish</button>
<button OnClick="cancel()">Cancel</button>
<td>
</tr>
</table>
</body>
</html>
Так вы же сами цвет фона меняете
QPalette pal(qApp->palette());
pal.setColor(QPalette::Base, qApp->palette().color(QPalette::Window));
ui->webView->setPalette(pal);
спасибо помогло.
Форум Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)