elegateAllLinks) to webpage, but I never got the signal.Actualy it work except with form submit !Hi all,
I'm trying to use webkit in my application, I can open a website with webview, but when I click the link, nothing happens.
I have tried to override QWebpage::acceptNavigationRequest, but I never got in this function. what's wrong here?
I have tried using QWebView::linkClicked signal, and I've done setLinkDelegationPolicy(QWebPageelegateAllLinks) to webpage, but I never got the signal.
any guy please help me?
many thanks,
Leslie
|
|
Source code |
1 |
connect( view->page(), SIGNAL(linkClicked(const QUrl&)),this, SLOT(OnLinkClicked(const QUrl&))); |