Lines Matching defs:view1
147 QWebView* view1 = new QWebView;
149 view1->setPage(page);
155 waitForSignal(view1, SIGNAL(loadFinished(bool)), 2000);
158 view1->show();
159 QTest::qWaitForWindowShown(view1);
160 delete view1;
359 QWebView view1;
378 view1.setPalette(palette1);
379 view1.setHtml(html);
380 view1.page()->setViewportSize(view1.page()->currentFrame()->contentsSize());
381 view1.show();
383 QTest::qWaitForWindowShown(&view1);
391 view1.activateWindow();
392 activeView = &view1;
397 view1.page()->triggerAction(QWebPage::SelectAll);
399 QImage img1(view1.page()->viewportSize(), QImage::Format_ARGB32);
401 view1.page()->currentFrame()->render(&painter1);
403 view1.close();