Hi,
Following this thread http://stackoverflow.com/questions/195951/change-an-elements-css-class-with-javascript [stackoverflow.com], I use javascript frameworks and libraries in Peter Boughton answer to change some elements class. It works perfectly in web browser but not for QWebview. It does not apply new change. If I include [removed][removed]
<html debug="true">
[removed]
[script]
{
overrideConsole: false,
startInNewWindow: true,
startOpened: true,
enableTrace: true
}
[/script]
to enable fire bug inside application, it will apply the changes.
Does anyone know how to fix this?
I am using Qt 5.0.1. Here is the settings of my webview:
ui._webView->settings()->setAttribute( QWebSettings::AutoLoadImages, true );
ui._WebView->setContextMenuPolicy(Qt::CustomContextMenu);
↧