Home | History | Annotate | Download | only in resources
      1 import Qt 4.7
      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         pressGrabTime: 1000
     20         focus: true
     21     }
     22 }
     23