Created
March 19, 2012 21:21
-
-
Save lauromoura/2127190 to your computer and use it in GitHub Desktop.
Rect inside WebView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
import QtWebKit 3.0 | |
Rectangle { | |
id: background | |
height: 480 | |
width: 640 | |
color: "brown" | |
WebView { | |
id: webView | |
url: "http://www.google.com/" | |
anchors.centerIn: parent | |
width: 400 | |
height: 400 | |
Rectangle { | |
height: 100 | |
width: 100 | |
color: "orange" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment