Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- import Sailfish.Silica 1.0
- import Sailfish.Silica.theme 1.0
- import QtWebKit 3.0
- Page {
- id: page
- // To enable PullDownMenu, place our content in a SilicaFlickable
- Rectangle {
- color: "green"
- anchors.fill: parent
- WebView {
- anchors.centerIn: parent
- width: 200
- height: 200
- url: "www.google.com"
- onLoadingChanged: {
- console.log("WV: onLoadingChanged, status is " + status);
- console.log("VW: LoadFailedStatus is " + WebView.LoadFailedStatus)
- console.log("VW: LoadSucceededStatus is " + WebView.LoadSucceededStatus)
- }
- }
- }
- Component.onCompleted: {
- console.log("Page 1 component completed")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement