Skip to content

Instantly share code, notes, and snippets.

@lauromoura
Created March 19, 2012 21:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lauromoura/2127190 to your computer and use it in GitHub Desktop.
Save lauromoura/2127190 to your computer and use it in GitHub Desktop.
Rect inside WebView
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