~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/WebKit/qt/tests/qdeclarativewebview/resources/webviewtest.qml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 1.0
 
2
import QtWebKit 1.0
 
3
 
 
4
Flickable {
 
5
    id: flick
 
6
    width: 640
 
7
    height: 400
 
8
    clip: true
 
9
    contentWidth: myweb.width; contentHeight: myweb.height
 
10
    property alias myurl: myweb.url
 
11
    property alias prefHeight: myweb.preferredHeight
 
12
    property alias prefWidth: myweb.preferredWidth
 
13
    property url testUrl;
 
14
    WebView {
 
15
        id: myweb
 
16
        url: testUrl
 
17
        smooth: false
 
18
        scale: 1.0
 
19
        preferredHeight: 500
 
20
        preferredWidth: 600
 
21
        pressGrabTime: 1000
 
22
        focus: true
 
23
    }
 
24
}