Home | History | Annotate | Download | only in qwebpage

Lines Matching defs:m_view

116     QWebView* m_view;
130 m_view = new QWebView();
131 m_page = m_view->page();
136 delete m_view;
174 QSignalSpy loadSpy(m_view, SIGNAL(loadFinished(bool)));
176 NavigationRequestOverride* newPage = new NavigationRequestOverride(m_view, false);
177 m_view->setPage(newPage);
179 m_view->setHtml(QString("<html><body><form name='tstform' action='data:text/html,foo'method='get'>"
183 m_view->page()->mainFrame()->evaluateJavaScript("tstform.submit();");
186 m_view->page()->mainFrame()->evaluateJavaScript("tstform.submit();");
189 QCOMPARE(m_view->page()->mainFrame()->toPlainText(), QString("foo?"));
192 m_view->setPage(0);
210 JSTestPage* newPage = new JSTestPage(m_view);
211 m_view->setPage(newPage);
212 m_view->setHtml(QString("<html><bodytest</body></html>"), QUrl());
213 m_view->page()->mainFrame()->evaluateJavaScript("var run = true;var a = 1;while(run){a++;}");
220 QSignalSpy spyLoadStarted(m_view, SIGNAL(loadStarted()));
221 QSignalSpy spyLoadFinished(m_view, SIGNAL(loadFinished(bool)));
223 m_view->setHtml(QString("data:text/html,<frameset cols=\"25%,75%\"><frame src=\"data:text/html,"
233 m_view->setHtml(QString("data:text/html,<frameset cols=\"25%,75%\"><frame src=\"data:text/html,"
296 TestPage* page = new TestPage(m_view);
299 m_view->setPage(m_page);
301 m_view->setUrl(QString("data:text/html,<a href=\"data:text/html,Reached\" target=\"_blank\">Click me</a>"));
302 QVERIFY(::waitForSignal(m_view, SIGNAL(loadFinished(bool))));
346 m_view->setHtml("<p>hello world</p>");
347 QVERIFY(::waitForSignal(m_view, SIGNAL(loadFinished(bool))));
356 QVERIFY(::waitForSignal(m_view, SIGNAL(loadFinished(bool))));
359 QVERIFY(::waitForSignal(m_view, SIGNAL(loadFinished(bool))));
384 QVERIFY(::waitForSignal(m_view, SIGNAL(loadFinished(bool))));
443 m_view->setHtml(QString("<html><head><script>var db; db=openDatabase('testdb', '1.0', 'test database API', 50000); </script></head><body><div></div></body></html>"), QUrl("http://www.myexample.com"));
449 m_view->setHtml(QString("<html><body id='b'>text</body></html>"), QUrl("http://www.myexample.com"));
455 m_view->setHtml(QString("<html><body id='b'>text</body></html>"), QUrl("http://www.myexample.com"));
459 m_view->setHtml(QString("<html><head></head><body><div></div></body></html>"), QUrl("http://www.myexample.com"));
520 QSignalSpy loadSpy(m_view, SIGNAL(loadFinished(bool)));
522 PluginPage* newPage = new PluginPage(m_view);
523 m_view->setPage(newPage);
526 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>"));
530 m_view->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
533 m_view->setHtml(QString("<html><body><object type='application/x-foobarbaz' classid='pushbutton' id='mybutton'/></body></html>"));
537 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>"));
569 m_view->setHtml(QString("<html><body><table>"
606 m_view->settings()->setAttribute(QWebSettings::PluginsEnabled, false);
608 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>"));
691 PluginCounterPage* page = PluginFactory::create((PluginFactory::FactoredType)type, m_view);
692 m_view->setPage(page);
696 m_view->setHtml(content);
701 m_view->setHtml("<html><body>Hi</body></html>");
1467 QSignalSpy loadSpy(m_view, SIGNAL(loadFinished(bool)));
1469 PluginPage* newPage = new PluginPage(m_view);
1470 m_view->setPage(newPage);
1472 m_view->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
1474 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='lineedit' id='mylineedit'/></body></html>"));
1614 m_view->setPage(page);
1616 QSignalSpy spyLoadFinished(m_view, SIGNAL(loadFinished(bool)));
1618 m_view->setUrl(QUrl("data:text/html,foo"));
1642 m_view->setPage(0);
1648 m_view->setPage(page);
1650 m_view->setHtml(QString("data:text/html,"
1654 QSignalSpy spyLoadFinished(m_view, SIGNAL(loadFinished(bool)));
1659 m_view->setPage(0);
1665 m_view->setPage(page);
1667 m_view->load(QUrl("qrc:///resources/index.html"));
1669 QSignalSpy spyLoadFinished(m_view, SIGNAL(loadFinished(bool)));
1673 m_view->setPage(0);
1749 m_view->setHtml(QString("data:text/html,<frameset cols=\"25%,75%\"><frame src=\"data:text/html,"
1752 QVERIFY(::waitForSignal(m_view, SIGNAL(loadFinished(bool))));