Lines Matching refs:page

41         , page(0)
53 QWebPage *page;
65 page = 0;
93 QWebFrame* frame = m_view->page()->mainFrame();
101 QWebFrame* frame = m_view->page()->mainFrame();
151 return m_view->page()->mainFrame();
161 QWebFrame* frame = m_view->page()->mainFrame();
187 return m_view ? m_view->page()->viewportSize() : QSize();
247 The page() function returns a pointer to the web page object. See
248 \l{Elements of QWebView} for an explanation of how the web page
331 Returns a pointer to the underlying web page.
335 QWebPage *QWebView::page() const
337 if (!d->page) {
341 return d->page;
346 if (!page)
349 page->d->view.clear();
351 // if the page client is the special client constructed for
355 if (page->d->client && page->d->client->isQWidgetClient())
356 page->d->client.clear();
358 page->d->client.release();
360 // if the page was created by us, we own it and need to
363 if (page->parent() == view)
364 delete page;
366 page->disconnect(view);
368 page = 0;
372 Makes \a page the new web page of the web view.
374 The parent QObject of the provided page remains the owner
378 \sa page()
380 void QWebView::setPage(QWebPage* page)
382 if (d->page == page)
386 d->page = page;
388 if (d->page) {
389 d->page->setView(this);
390 d->page->setPalette(palette());
392 QWebFrame *mainFrame = d->page->mainFrame();
400 connect(d->page, SIGNAL(loadStarted()),
402 connect(d->page, SIGNAL(loadProgress(int)),
404 connect(d->page, SIGNAL(loadFinished(bool)),
406 connect(d->page, SIGNAL(statusBarMessage(QString)),
408 connect(d->page, SIGNAL(linkClicked(QUrl)),
410 connect(d->page, SIGNAL(selectionChanged()),
413 connect(d->page, SIGNAL(microFocusChanged()),
415 connect(d->page, SIGNAL(destroyed()),
418 setAttribute(Qt::WA_OpaquePaintEvent, d->page);
431 page()->mainFrame()->load(url);
450 page()->mainFrame()->load(request, operation, body);
476 page()->mainFrame()->setHtml(html, baseUrl);
492 page()->mainFrame()->setContent(data, mimeType, baseUrl);
504 return page()->history();
508 Returns a pointer to the view/page specific settings object.
518 return page()->settings();
523 \brief the title of the web page currently viewed
531 if (d->page)
532 return d->page->mainFrame()->title();
538 \brief the url of the web page currently viewed
549 page()->mainFrame()->setUrl(url);
554 if (d->page)
555 return d->page->mainFrame()->url();
561 \brief the icon associated with the web page currently viewed
569 if (d->page)
570 return d->page->mainFrame()->icon();
576 \brief whether this page contains selected content or not.
584 if (d->page)
585 return d->page->hasSelection();
599 if (d->page)
600 return d->page->selectedText();
615 if (d->page)
616 return d->page->selectedHtml();
626 return page()->action(action);
643 page()->triggerAction(action, checked);
657 if (d->page)
658 return d->page->isModified();
665 // ### FIXME (add to page)
674 Specifies how the user can interact with the text on the page.
681 // ### FIXME (add to page)
701 page()->mainFrame()->setZoomFactor(factor);
706 return page()->mainFrame()->zoomFactor();
724 Sets the value of the multiplier used to scale the text in a Web page to
729 page()->mainFrame()->setTextSizeMultiplier(factor);
733 Returns the value of the multiplier used to scale the text in a Web page.
737 return page()->mainFrame()->textSizeMultiplier();
745 These hints are used to initialize QPainter before painting the Web page.
800 Finds the specified string, \a subString, in the page, using the given \a options.
803 that exist in the page. All subsequent calls will extend the highlight, rather than
817 if (d->page)
818 return d->page->findText(subString, options);
826 if (d->page) {
832 if (d->page->swallowContextMenuEvent(event)) {
836 d->page->updatePositionDependentActions(event->pos());
840 d->page->event(e);
852 d->page->d->client->resetCursor();
857 d->page->event(e);
862 d->page->event(e);
876 page()->mainFrame()->print(printer);
891 if (d->page)
892 d->page->triggerAction(QWebPage::Stop);
907 if (d->page)
908 d->page->triggerAction(QWebPage::Back);
923 if (d->page)
924 d->page->triggerAction(QWebPage::Forward);
934 if (d->page)
935 d->page->triggerAction(QWebPage::Reload);
942 if (d->page)
943 d->page->setViewportSize(e->size());
950 if (!d->page)
957 QWebFrame *frame = d->page->mainFrame();
971 each time the page wants to create a new window of the given \a type. This might
974 \note If the createWindow() method of the associated page is reimplemented, this
993 if (d->page) {
995 d->page->event(ev);
1004 if (d->page) {
1006 d->page->event(ev);
1015 if (d->page) {
1017 d->page->event(ev);
1026 if (d->page) {
1028 d->page->event(ev);
1038 if (d->page) {
1040 d->page->event(ev);
1051 if (d->page) {
1053 d->page->event(ev);
1063 if (d->page)
1064 d->page->event(ev);
1073 if (d->page)
1074 d->page->event(ev);
1083 if (d->page)
1084 d->page->event(ev);
1093 if (d->page)
1094 d->page->event(ev);
1104 if (d->page)
1105 d->page->event(ev);
1114 if (d->page)
1115 d->page->event(ev);
1124 if (d->page)
1125 d->page->event(ev);
1134 if (d->page)
1135 d->page->event(ev);
1143 if (d->page && d->page->focusNextPrevChild(next))
1152 if (d->page)
1153 return d->page->inputMethodQuery(property);
1161 if (d->page)
1162 d->page->event(e);
1169 if (d->page && e->type() == QEvent::PaletteChange)
1170 d->page->setPalette(palette());
1193 This signal is emitted when the status bar \a text is changed by the page.
1199 This signal is emitted whenever the icon of the page is loaded or changes.
1210 This signal is emitted when a new load of the page is started.
1218 This signal is emitted when a load of the page is finished.
1235 This signal is emitted every time an element in the web page
1249 This signal is emitted whenever the user clicks on a link and the page's linkDelegationPolicy