Lines Matching refs:page

58     QUrl url; // page url might be different if it has not loaded yet
104 QWebHitTestResult hit = page()->mainFrame()->hitTestContent(pressPoint.toPoint());
171 The page to be displayed by the item is specified using the \l url property,
172 and this can be changed to fetch and display a new page. While the page loads,
173 the \l progress property is updated to indicate how much of the page has been
191 The page can be zoomed by calling the heuristicZoom() method, which performs a
200 so that the user can scroll the page. This prevents the user from accidentally
201 selecting text in a Web page instead of scrolling.
208 the Web page within.
215 These can be triggered to change the current page displayed by the item.
223 The following example displays a scaled down Web page at a fixed size.
290 page()->setNetworkAccessManager(qmlEngine(this)->networkAccessManager());
348 if ((d->url.isEmpty() && page()->mainFrame()->url() != QUrl(QLatin1String("about:blank")))
349 || (d->url != page()->mainFrame()->url() && !page()->mainFrame()->url().isEmpty()))
351 d->url = page()->mainFrame()->url();
372 This property holds the URL to the page displayed in this item. It can be set,
375 If the url is empty, the page is blank.
399 page()->mainFrame()->load(seturl);
456 return this->page()->mainFrame()->evaluateJavaScript(scriptSource);
473 if (page()) {
474 page()->setPreferredContentsSize(QSize(
482 QWebPage* webPage = page();
498 A list of QML objects to expose to the web page.
504 Exposing QML objects to a web page allows JavaScript executing in the web
505 page itself to communicate with QML, by reading and writing properties and
529 If Javascript is not enabled for the page, then this property does nothing.
543 if (!q->isComponentCompletePublic() || !q->page())
550 q->page()->mainFrame()->addToJavaScriptWindowObject(attached->windowObjectName(), object);
637 return page()->action(QWebPage::Back);
646 return page()->action(QWebPage::Forward);
655 return page()->action(QWebPage::Reload);
664 return page()->action(QWebPage::Stop);
670 This property holds the title of the web page currently viewed
676 return page()->mainFrame()->title();
681 This property holds the icon associated with the web page currently viewed
685 return page()->mainFrame()->icon().pixmap(QSize(256, 256));
691 This property is the current status suggested by the current web page. In a web browser,
710 QWebPage* QDeclarativeWebView::page() const
712 return d->view->page();
759 d->settings.s = page()->settings();
763 void QDeclarativeWebView::setPage(QWebPage* page)
765 if (d->view->page() == page)
768 d->view->setPage(page);
770 page->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff);
771 page->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff);
772 connect(page->mainFrame(), SIGNAL(urlChanged(QUrl)), this, SLOT(pageUrlChanged()));
773 connect(page->mainFrame(), SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged(QString)));
774 connect(page->mainFrame(), SIGNAL(iconChanged()), this, SIGNAL(iconChanged()));
775 connect(page->mainFrame(), SIGNAL(initialLayoutCompleted()), this, SLOT(initialLayout()));
776 connect(page->mainFrame(), SIGNAL(contentsSizeChanged(QSize)), this, SIGNAL(contentsSizeChanged(QSize)));
778 connect(page, SIGNAL(loadStarted()), this, SLOT(doLoadStarted()));
779 connect(page, SIGNAL(loadProgress(int)), this, SLOT(doLoadProgress(int)));
780 connect(page, SIGNAL(loadFinished(bool)), this, SLOT(doLoadFinished(bool)));
781 connect(page, SIGNAL(statusBarMessage(QString)), this, SLOT(setStatusText(QString)));
783 connect(page->mainFrame(), SIGNAL(javaScriptWindowObjectCleared()), this, SLOT(windowObjectCleared()));
785 page->settings()->setAttribute(QWebSettings::TiledBackingStoreEnabled, true);
793 a page. Later, WebView::onLoadFinished() or WebView::onLoadFailed()
801 finishes loading a page, including any component content
811 a page or any component content
817 page()->mainFrame()->load(request, operation, body);
822 return page()->mainFrame()->toHtml();
841 page()->mainFrame()->setHtml(html, baseUrl);
855 page()->mainFrame()->setContent(data, mimeType, qmlContext(this)->resolvedUrl(baseUrl));
866 return page()->history();
871 return page()->settings();
967 return page()->mainFrame()->contentsSize() * contentsScale();
1015 QWebHitTestResult hit = page()->mainFrame()->hitTestContent(QPoint(x, y));
1095 return newView->page();