QT
Zda天天爱打卡
这个作者很懒,什么都没留下…
展开
-
QtWebkit操作网页的几种方法
一、C++实现[cpp] view plaincopyQWebFrame* frame = webView()->page()->currentFrame(); if (frame!=NULL){ QWebElementCollection collection1 = frame->findAllElements(“input[n原创 2014-09-02 09:29:42 · 1675 阅读 · 0 评论 -
bool QWebPage::acceptNavigationRequest()处理用户点击链接
先看文档:bool QWebPage::acceptNavigationRequest ( QWebFrame * frame, constQNetworkRequest & request, NavigationType type ) [virtualprotected]This function is called whenever WebKit requeststo navi原创 2014-09-02 09:30:23 · 2732 阅读 · 1 评论