m_webView = new QWebView(this);
m_webView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff);
m_webView->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
connect(m_webView,SIGNAL(linkClicked(QUrl)),this,SLOT(openLinkSlot(QUrl)));
m_webView->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
m_webView->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);
m_webView->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
m_webView->settings()->setAttribute(QWebSettings::JavascriptCanOpenWindows , true);
m_webView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff);
m_webView->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
connect(m_webView,SIGNAL(linkClicked(QUrl)),this,SLOT(openLinkSlot(QUrl)));
m_webView->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
m_webView->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);
m_webView->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
m_webView->settings()->setAttribute(QWebSettings::JavascriptCanOpenWindows
//Flash is just a plugin for the particular browser.